SIP Diversion Header
SIP Diversion Header
calls to another number or contact. This feature ensures that important calls
are never missed, even if the intended recipient is unavailable. Users can set
up call forwarding rules based on their preferences, such as forwarding calls
when they are busy, when they do not answer, or unconditionally. This
flexibility enhances communication efficiency and ensures continuous
connectivity.
Teams & Copilot GEEK (MS-700 MS-721 advanced training for friends and
Teams & Copilot GEEK (MS-700 MS-721 advanced training for friends
and benefactors of English review)
Imagine a friend calls your phone, but you’ve set it to forward to your
colleague. Now, when your colleague picks up, they should know the call was
originally meant for you. In telephony, this “forwarding” information is carried
by something called the SIP Diversion Header.
For example:
Caller: +123456789
Think of the SIP Diversion Header as a "forwarding note" that’s passed along
with a phone call. If a teacher (the caller) leaves a note for a classmate
(original recipient) saying, "Pass this to your friend," the classmate knows the
note isn’t for them but was forwarded. Similarly, the SIP Diversion Header
ensures everyone involved in the call understands who the call was originally
meant for and why it’s being forwarded.
2. Call Routing: Teams telephony and Session Border Controllers (SBCs) use
the Diversion Header to decide how to handle forwarded calls.
Call Forwarding:
The Diversion Header carries details about the original call path.
Delegation:
Simultaneous Ring:
Voicemail Forwarding:
3. Header Transmission: The SIP Diversion Header is added to the SIP INVITE
message and sent to the forwarding destination (e.g., User C or voicemail).
4. Call Handling: The recipient system (e.g., Teams or SBC) reads the Diversion
Header and processes the call based on the original and forwarding details.
Protocol-Level Explanation
The SIP Diversion Header is a mechanism standardized in RFC 5806 for passing
call redirection information within SIP signaling. Here’s how it works at a
granular level:
The diverted-to URI: Indicates the new call destination (e.g., forwarded
number or voicemail).
The original call URI: The intended recipient’s address before redirection.
Consigliati da LinkedIn
My Country Mobile: SIP Trunking Provider - 10 Reasons…
Intermediate systems like PSTN gateways and PBXs often add or modify
Diversion Headers during call handling.
Integration with Other SIP Headers: The Diversion Header often works
alongside:
Executive-Assistant Delegation:
Voicemail Systems:
Role of Diversion Header: The header ensures the provider tracks call
routing, including forwarded calls, for accurate billing.
Loop Prevention:
Security Risks:
Dependency on Context:
Teams telephony requires consistency between SIP headers (Diversion,
PAI, and History-Info) for reliable routing and compliance.
5. Use Analytics Tools: Leverage SBC logs and Microsoft Teams analytics to
monitor call flows involving Diversion Headers and troubleshoot
anomalies.