<p></p>
<p>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.</p>
<p>JSON Example String:  {"version":"1.0","routing":"serial","routes":[{"uri":"sip:3005011999999999@10.20.10.55:5060","dst_uri":"sip:3005011999999999@10.20.10.55:5060","headers":{"from":{"display":"original","uri":"sip:6000@10.20.131.28:5060"},"to":{"display":"","uri":"sip:3005011999999999@10.20.10.55:5060"}}}]}</p>
<p><a href="https://github.com/kamailio/kamailio/files/6151929/kamailio.txt">kamailio.txt</a></p>
<p>Has anyone experienced this error?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2677">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPUA5N72K5ZHGO56X3TD62ZZANCNFSM4ZJHOPQA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZMQQWXW4SR6ESJELQ3TD62ZZA5CNFSM4ZJHOPQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MNI5WQA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2677",
"url": "https://github.com/kamailio/kamailio/issues/2677",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>