[SR-Users] why is tcp_send failing?

Juha Heinanen jh at tutpro.com
Sat May 12 15:21:05 CEST 2012


i have been wondering why kamailio refuses to forward bye to $du

sip:192.26.99.39:8000;transport=tcp;lr;ftag=a8266461a81c723o0

wireshark shows that it is not even trying to set up tcp connection to
the destination and with telnet i can verify that tcp connection can be
set up.

debug at level 3 is below.

-- juha

May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: rr [loose.c:776]: URI to be processed: 'sip:192.26.99.39:8000;transport=tcp;lr;ftag=a8266461a81c723o0'
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: rr [loose.c:785]: Next URI is a loose router              
...
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: tm [t_lookup.c:1379]: DEBUG: t_newtran: msg id=5 , global msg id=5 , T on entrance=(nil)                                                                                   
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: tm [t_lookup.c:527]: t_lookup_request: start searching: hash=30919, isACK=0                                                                                                
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: tm [t_lookup.c:485]: DEBUG: RFC3261 transaction matching failed                                                                                                            
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: tm [t_lookup.c:709]: DEBUG: t_lookup_request: no transaction found                                                                                                         
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: tm [t_hooks.c:374]: DBG: trans=0xb486de58, callback type 1, id 0 entered                                                                                                   
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: <core> [md5utils.c:67]: DEBUG: MD5 calculated: d28c87700c1c48b71a3b7f63090bf160                                                                                            
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: <core> [dns_cache.c:3400]: dns_sip_resolve(192.26.99.39, 0, 0), ip, ret=0                                                                                                 
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: <core> [msg_translator.c:204]: check_via_address(192.98.100.135, 192.168.0.145, 0)                                                                                         
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: ERROR: tm [../../forward.h:171]: msg_send: ERROR: tcp_send failed                                                                                                                 
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: tm [t_fwd.c:1365]: t_send_branch: send to 192.26.99.39:8000 (2) failed                                                                                                    
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: ERROR: tm [t_fwd.c:1383]: ERROR: t_send_branch: sending request on branch 0 failed                                                                                                
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: tm [t_funcs.c:361]: ERROR:tm:t_relay_to:  t_forward_nonack returned error                                                                                                  
May 12 15:58:30 sars /usr/sbin/sip-proxy[25453]: DEBUG: tm [t_funcs.c:369]: -477 error reply generation delayed



More information about the sr-users mailing list