Hello,

 

I’m using Kamailio as SIP redirect where SBC sends INVITE packet to kamailio and "302","Multiple Choices" is sent back to SBC.

 

What I want is to modify the URI part in the To header of the Multiple Choices packet sent from kamailio. I tried to use uac_replace_to("”,"sip:$var(cdpn)@$td") where $var(cdpn) is already defined in the routing logic, but it’s not reflected and the original TO URI is sent instead.

 

Any help to handle this issue is much appreciated.

 

Regards,