[SR-Users] Transport question

Alex Balashov abalashov at evaristesys.com
Tue May 15 18:41:18 CEST 2018


Have a read about 'mhomed' works and see if it might make sense to turn
it off or on:

https://www.kamailio.org/wiki/cookbooks/5.1.x/core#mhomed

Otherwise, for experimentation's sake, try mhomed=0 and force the
outgoing listener explicitly:

   $fs = 'tcp:x.x.x.x:5060';

   ...

   t_relay();

-- Alex

On Tue, May 15, 2018 at 04:38:59PM +0000, Wilkins, Steve wrote:

> Yes there is an error.  I get this error trying both ways =>
> no corresponding socket found for "111.25.1.99" af 2 (udp: 111.25.1.99:5060).  It is still trying to send UDP.   111.25.1.99 is accepting TCP traffic, other calls are reaching via other sources using TCP.
> 
> I'm just not sure why it is refusing to send tcp.
> 
> -Steve
> 
> -----Original Message-----
> From: sr-users [mailto:sr-users-bounces at lists.kamailio.org] On Behalf Of Alex Balashov
> Sent: Tuesday, May 15, 2018 12:20 PM
> To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
> Subject: Re: [SR-Users] Transport question
> 
> Are there any errors in the logs suggestive of a failure to select an appropriate egress listener?
> 
> On Tue, May 15, 2018 at 04:14:07PM +0000, Wilkins, Steve wrote:
> 
> > Hi Alex,
> > 
> > I tried your suggestion and everything is still going over UDP.  I verified with tcpdump/wireshark and all SIP traffic is UDP.
> > 
> > Thank you,
> > -Steve
> > 
> > -----Original Message-----
> > From: sr-users [mailto:sr-users-bounces at lists.kamailio.org] On Behalf 
> > Of Alex Balashov
> > Sent: Tuesday, May 15, 2018 11:44 AM
> > To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
> > Subject: Re: [SR-Users] Transport question
> > 
> > Hi Steve,
> > 
> > Do you have a TCP listener from which the messages would be expected to egress?
> > 
> > Also, try use regular t_relay(), but beforehand do:
> > 
> >    $ru = $ru + ";transport=TCP";
> > 
> > -- Alex
> > 
> > On Tue, May 15, 2018 at 03:43:26PM +0000, Wilkins, Steve wrote:
> > 
> > > Hi All,
> > > 
> > > I was attempting to switch from UDP to TCP for relaying.  I used
> > > t_relay_to_tcp() instead of t_relay() =>
> > > 
> > > if (!t_relay_to_tcp()) {
> > >        sl_reply_error();
> > > }
> > > 
> > > The problem is that I am still seeing the SIP messages as UDP on the Server that the messages are relayed to.  Any Ideas?
> > > 
> > > Thank you,
> > > Steve
> > 
> > > _______________________________________________
> > > Kamailio (SER) - Users Mailing List
> > > sr-users at lists.kamailio.org
> > > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> > 
> > 
> > --
> > Alex Balashov | Principal | Evariste Systems LLC
> > 
> > Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
> > 
> > _______________________________________________
> > Kamailio (SER) - Users Mailing List
> > sr-users at lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> > _______________________________________________
> > Kamailio (SER) - Users Mailing List
> > sr-users at lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> 
> --
> Alex Balashov | Principal | Evariste Systems LLC
> 
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
> 
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list