[Kamailio-Users] tm retransmits and times out even though reponse is received

Alex Hermann alex at speakup.nl
Fri May 15 13:19:33 CEST 2009


Hello,

I'm seeing an increasing amount of spurious timeouts on my proxies. 
Even though the proxy receives a "100 Trying" response immediately 
after relaying the request, tm will send retransmits and times out 
eventually. Below is a commented log snippet. The timeout occurs on 
the proxy named 'balancer1'. Both are on the same host.

I verified that the 100 Trying response is received in a t_on_reply 
block, so it is recognized by tm as belonging to a transaction.

When needed, I'll provide a debug log when it occurs again.

Meanwhile, any idea what is causing this?

This is on kamailio 1.5+svn5768

fr_timer = 10
fr_timer_avp = 2


# Initial request received on balancer
May 15 12:32:01 balancer1[24170]: [2 INVITE] - New request. <sip:uac at domain> => <sip:uas at domain>
May 15 12:32:01 balancer1[24170]: [2 INVITE] Relaying

# Initial request received on proxy
May 15 12:32:01 proxy1[23803]: [2 INVITE] - New request. <sip:uac at domain> => <sip:uas at domain>

# Balancer receives 100 response
May 15 12:32:01 balancer1[24166]: [2 INVITE] - Reply. 100 Trying

# Proxy relays request
May 15 12:32:01 proxy1[23803]: [2 INVITE] Relaying

# Proxy receives retransmission from balancer ???
May 15 12:32:02 proxy1[23804]: [2 INVITE] - New request. <sip:uac at domain> => <sip:uas at domain>

# Balancer times out ???
May 15 12:32:02 balancer1[24171]: [2 INVITE] Failure (Status: 408)
May 15 12:32:02 balancer1[24171]: [2 INVITE] No more gateways

May 15 12:32:02 proxy1[23804]: [2 CANCEL] - New request. <sip:uac at domain> => <sip:uas at domain>

-- 
Greetings,

Alex Hermann




More information about the Users mailing list