[SR-Users] Add Record-Route on 200 OK
Daniel-Constantin Mierla
miconda at gmail.com
Tue Jan 5 19:52:54 CET 2016
Hello,
you can use append_hf() inside the onreply_route.
If you have a single IP address, that is easy:
append_hf("Record-Route: <sip:$Ri:5060;lr>\r\n")
Be careful if you use dialog module with did parameter, or other modules
that need ftag parameter (e.g., uac, acc).
Cheers,
Daniel
On 05/01/16 19:37, Igor Potjevlesch wrote:
>
> Hello,
>
>
>
> I'm looking for a way to add a Record-Route into a 200 OK before
> relaying the message to the UA.
>
>
>
> Indeed, I'm facing an issue where the 200 OK is relayed to the UA
> without Record-Route and with an IP address into the Contact header.
> So, the UA sends back his ACK to the Contact instead of the proxy itself.
>
>
>
> Is it possible to achieve this?
>
>
>
> Regards,
>
>
>
> Igor.
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at 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
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160105/641f5c07/attachment.html>
More information about the sr-users
mailing list