[OpenSIPS-Users] Running OpenSIPS on same box as Asterisk/FreeSwitch
James Hogbin
james at ip-sentinel.com
Mon May 18 16:23:49 EST 2020
I thought I had just done some bad config. I have almost exactly the same thing.
I have Freeswitch And Opensips on Azure VM’s
Freeswitch = 10.0.0.4 + External IP
Opensips = 10.0.0.5 + External IP
Both are configured to use the external addresses
Freeswitch will start the conversation on its external Gateway IP address with the Opensips external IP address
However the moment I put the Record_Route in the message to Teams Freeswitch starts using the local 10.x.x.x. address on opensips rather than the external address for ACK and BYE which rogers the whole thing up.
I’m sure there is probably some way to fix it in the opensips plan as the dialog/transaction ID’s are still there but it’s beyond me.
James
James Hogbin
Director
IP Sentinel
t. +44 (0)20 3011 4150
m. +44 7786910895
w. https://www.ip-sentinel.com
> On 18 May 2020, at 16:28, John Quick <john.quick at smartvox.co.uk> wrote:
>
> Whenever I have tried to run OpenSIPS on the same host server as either
> Asterisk or FreeSwitch (using different ports), I have always hit a snag
> with routing of sequential loose-routed requests. Possibly this only happens
> when using double Record-Route headers which I need for protocol conversion
> (TLS to UDP or TLS to TCP).
>
> Where the address in the topmost Route header is the same as it's local
> address, OpenSIPS copies the URI (and parameters) from a Route header to the
> R-URI which, in this use-case, causes the request to loop back to itself. It
> should instead delete the two Route headers and copy the URI value from the
> Contact header, picking up the correct port for the Asterisk/FreeSwitch app.
>
> I've tried Googling to see if others have experienced this, but didn't find
> any nice solution other than using two IP's on the same box.
> A post from Flavio mentions this problem in June 2013. Is there a simple
> solution?
>
> John Quick
> Smartvox Limited
> Web: www.smartvox.co.uk
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
IP Sentinel Disclaimer
This communication is for the information of the person to whom it has been delivered and neither it nor any of its contents should be passed on to or used by any other person. IP Sentinel Ltd is a limited company registered in England and Wales under Registered Number 08648097. Registered Office: Newnhams Wood, Horsted Keynes, West Sussex, RH17 7BT.
Disclaimer: Q3dhRSrm_disclaimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200518/afc379f5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 120051817235300397.png
Type: image/png
Size: 3317 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20200518/afc379f5/attachment.png>
More information about the Users
mailing list