[SR-Users] Transport question

Wilkins, Steve swwilkins at mitre.org
Tue May 15 19:11:13 CEST 2018


I tried this and I now get

ERROR: <core> [core/pvapi.c:1377]: pv_printf(): no more space for spec value
ERROR: <core> [core/pvapi.c:1386]: pv_printf(): buffer overflow -- increase the buffer size...
(I have these values set super high, I was using the defaults and getting the same error)

WARNING: pv [pv_core.c:2315]: pv_set_force_sock(): no socket found to match [tcp: 111.25.1.99:5060]
ERROR: tm [ut.h:317]: uri2dst2(): no corresponding socket found for "111.25.1.99" af 2 (udp: 111.25.1.99:5060)
ERROR: tm [t_fwd.c:469]: prepare_new_uac(): can't fwd to af 2, proto 1  (no corresponding listening socket)
ERROR: tm [t_fwd.c:1732]: t_forward_nonack(): failure to add branches

It  seems strange the WARNING is showing tcp but the ERROR is showing udp.

Thank you!

-----Original Message-----
From: sr-users [mailto:sr-users-bounces at lists.kamailio.org] On Behalf Of Alex Balashov
Sent: Tuesday, May 15, 2018 12:41 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] Transport question

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/

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


More information about the sr-users mailing list