[OpenSIPS-Users] Route header in CANCEL requests

2015-10-09 Thread mayamatakeshi
Hi, i have opensips behind another SIP proxy. When I need to t_relay an INVITE from an uac to the proxy, my opensips.cfg uses append_hf to add a Route header with a username required by the proxy (some sort of validation). This works fine. However, if the uac cancels the INVITE, the transaction-con

Re: [OpenSIPS-Users] Route header in CANCEL requests

2015-10-09 Thread mayamatakeshi
Hello, i have found the solution in the docs: append_hf("Route: \r\n"); t_newtran(); t_add_hdrs("Route: \r\n"); Regards, Takeshi On Sat, Oct 10, 2015 at 9:03 AM, mayamatakeshi wrote: > Hi, i have opensips behind another SIP proxy. > When I need t

Re: [OpenSIPS-Users] Route header in CANCEL requests

2015-10-09 Thread mayamatakeshi
For completeness, it will be also necessary to call t_reply to send '100 Trying' as we are using t_newtran(): append_hf("Route: \r\n"); t_newtran(); t_reply("100", "Trying"); t_add_hdrs("Route: \r\n"); On Sat, Oct 10, 2015 at 10:27