[OpenSIPS-Users] OpenSIPS Retain Protocol on relay

duane.larson at gmail.com duane.larson at gmail.com
Wed Jan 25 00:12:41 CET 2012


I did a search for "tcp" on Nabble's OpenSIPS section and just found this

http://opensips-open-sip-server.1449251.n2.nabble.com/How-to-change-transport-protocol-of-R-URI-td6376471.html

I would say you need to use t_relay() with parameters.

Hope that helps.


On , William Edwards <shadowapex at gmail.com> wrote:
> Hi,

> Thanks for your reply. I've looked into $fs, but I haven't been able to  
> find any concise documentation about how I can use it to force the  
> protocol to TCP. It's really unclear as to why OpenSIPS would be  
> rewritting the TCP message to UDP in the first place. Is there no way to  
> configure OpenSIPS to relay the message using the same protocol that it  
> was received?



> Regards,
> William


> On Tue, Jan 24, 2012 at 10:26 AM, duane.larson at gmail.com> wrote:


> Perhaps you need this somewhere in your script

> $fs Forced socket: http://www.opensips.org/Resources/DocsCoreVar16#toc38






> On , William Edwards shadowapex at gmail.com> wrote:
> > Hi,
> >
> > We currently have two Freeswitch boxes behind OpenSIPS which


> > is acting as a SIP proxy/load balancer. Right now we're facing a problem
> > where OpenSIPS is rewriting incoming INVITE messages from our
> > Freeswitch servers from TCP to UDP. This, of course, is causing a


> > problem because the client has registered using TCP, and incoming calls
> > are being sent to it over UDP.
> >
> >
> > This is an overview of what is happening:
> > Freeswitch -TCP-> OpenSIPS -UDP-> Client UA (listening on TCP)


> >
> > We would like OpenSIPS to retain the original protocol that the message  
> was received. Is there any way this is possible?
> >
> >
> >
> >
> > My current OpenSIPS configuration can be found here:


> > http://pastebin.com/DSU1f2VS
> >
> > Regards,
> > William
> >


> _______________________________________________

> Users mailing list

> Users at lists.opensips.org

> http://lists.opensips.org/cgi-bin/mailman/listinfo/users






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120124/105699ac/attachment-0001.htm>


More information about the Users mailing list