[SR-Users] ASYNC Module

Aaron Hamstra ahamstra at carnegietechnologies.com
Sat Jun 13 04:34:10 CEST 2015


Alex,

I enabled UDP DNS_SRV records and am still seeing the same thing using UDP as I have using TLS or TCP transport.

I also modified the defs.h in the tm module as you mentioned and added 
#define ENABLE_ASYNC_MUTEX 1

 between the 

#ifndef _TM_DEFS_H
and
#define _TM_DEFS_H

lines

Did a new make and make install and restart of kamailio... issue persists unfortunately.

I so appreciate your assistance in troubleshooting this issue.

-Aaron


-----Original Message-----
From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Alex Balashov
Sent: Friday, June 12, 2015 7:13 PM
To: sr-users at lists.sip-router.org
Subject: Re: [SR-Users] ASYNC Module

On 06/12/2015 07:07 PM, Aaron Hamstra wrote:

> Jun 12 22:55:41 /usr/local/sbin/kamailio[23297]: DEBUG: <core> [tcp_main.c:2552]: tcpconn_do_send(): tcp_send: aft£Y;ùô0#}¤V|#031Y#037$kÍlJ8CÂ}F’å«Õ=661 fd=12
> Jun 12 22:55:41 /usr/local/sbin/kamailio[23297]: DEBUG: tm [t_hooks.c:288]: run_trans_callbacks_internal(): DBG: trans=0x7f36f40f0228, callback type 8388608, id 0 entered                 x#003Ø|ïYå?*â'£qbÔk*#020Ø#03
> Jun 12 22:55:41 /usr/local/sbin/kamailio[23297]: DEBUG: siptrace [siptrace.c:1847]: pipport2su(): the port string is 5061      VâG–.9AÏ#001#030#033#024yt8H¶#001F˜ÃßáF%eæåom~Í’‰ªr(väÓÊ#010

I find the garbage data in these log entries highly suspect, although I'm not necessarily qualified to debug this to the bottom.

If you can spare the time, I'd try to test the following things:

1. Does this also occur if you call async_route() while processing another type of request, i.e. an OPTIONS or an INVITE request, as opposed to REGISTER?

2. Does this happen only with the TCP transport, or also UDP?

If #2 doesn't prove to be the case, it might indicate that the cause of the suspected regression is a change in code unrelated to async or TM per se.

-- Alex

--
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users at lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


More information about the sr-users mailing list