Hello,

I think sl_send_reply() sets automatically a tag, you would need to patch the source code.

But if you using t_reply(), the to-tag received from downstream may be reused (not sure though, but worth a try).

Cheers,
Daniel

On 18/05/15 22:33, John Murray wrote:
Hello,

I am forwarding an incoming call to a destination and on time-out forward to another and them another.
I need to send a '181 Call Is Being Forwarded' to my SBC to reset the early media stream when forwarding to the next destiation which I can do with sl_send_reply("181","Call Is Being Forwarded").

However the SBC vendor requires that the To-tag in the 181 is cleared for this to work.

How can I clear the To-tag from this 181 response?

Thanks

John


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com