Hi, Terrance!
Can you make a trace and check whether the Contact header is correct in
the 200OK? Also, make sure that all the URI parameters are preserved
over this change.
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 03/07/2015 08:32 AM, Terrance Devor wrote:
Hello Everyone,
Our environment is in an EC2 instance, and would like to fix the
Contact when
signalling internally (ie, private IP), and externally (ie, public
IP). I have added
the following code:
In branch:
if(!isflagset(5)) {
remove_hf("Contact:");
append_hf("Contact: <sip:$fU@<private ip>>\r\n");
}
In on reply:
if(!isflagset(5)) {
remove_hf("Contact:");
append_hf("Contact: <sip:$tU@<public ip>:5060>\r\n");
}
Code works fine and changes the contact as needed however, OpenSIPS
stops 200OK on OK.
We have the following error message:
Failed to match the sequential request to a known dialog
Attempt to route with preloaded Route's [sip:5147398047@<unerline
carrier ip>/sip:5193403221@<public ip>/sip:<public
ip>;lr;did=2ad.791c28e4/74f3fb2e-3f34-1233-8f94-000c29d9b8bf]
Your help is greatly appreciated,
Terrance.
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users