[sr-dev] [kamailio/kamailio] Problems Defining To/From Headers when using rtjson_init_routes and rtjson_push_routes (#2677)

carloslleitao notifications at github.com
Tue Mar 16 21:05:48 CET 2021


Hi, I'm using Kamailio version 5.4.0 on centos and I'm using rtjson to redirect SIP Invites. I'm using the JSON example bellow to try to set up the destination. It works fine to redirect the SIP Invite but From/To Headers are not working as expected, they are not changed and remain the same from original INVITE. I also attached my kamailio.cfg file in order for someone to help me here.

JSON Example String:  {"version":"1.0","routing":"serial","routes":[{"uri":"sip:3005011999999999 at 10.20.10.55:5060","dst_uri":"sip:3005011999999999 at 10.20.10.55:5060","headers":{"from":{"display":"original","uri":"sip:6000 at 10.20.131.28:5060"},"to":{"display":"","uri":"sip:3005011999999999 at 10.20.10.55:5060"}}}]}



[kamailio.txt](https://github.com/kamailio/kamailio/files/6151929/kamailio.txt)

Has anyone experienced this error?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2677
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210316/4346b1b8/attachment.htm>


More information about the sr-dev mailing list