I’m trying to implement a script-based manipulation where the Call-ID from the A-leg is extracted and added as an X-CID header on the B-leg.
Could you help me with this? I found some ideas online, but it’s not working.
I’m trying to implement a script-based manipulation where the Call-ID from the A-leg is extracted and added as an X-CID header on the B-leg.
Could you help me with this? I found some ideas online, but it’s not working.
To add a new SIP header, there is this example:
To extract the call-id, I did not find any example, but the call parameter is:
sip_call_id
So it should be simple to extract. See Routing Script Parameter Mapping - TB Wiki
If needed, TelcoBridges can do a script like this with professional services.