The diversion header added in 2.04

Voipy

Member
Feb 5, 2026
135
20
18
57
Hi

I saw this:

SIP Diversion for Forwarded Calls​


Added Diversion handling for supported forwarding paths so an outbound SIP gateway can receive the original called business number and existing diversion information.
I think this affects calls that are set to an external number in a ring group which it didn't do before, am I correct in saying this?

The diversion header however has the number it is being forwarded to, not the originally dialled number. So when number A phones into number C, and is diverted to number C it should have:

Diversion: <sip:numberB@xxxxxxx
and PAI: number A.

Instead I see
Diversion: number C
and PAI: number A
 
@Voipy Yes, you are correct. The diversion header is populated correctly where it needs to be.
I followed Voip.ms and Telnyx guides for the diversion header. It puts the dialed number into the diversion header. In your example, it matches number B.
If you are seeing something else provide logs to investigate.