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

Daniel-Constantin Mierla miconda at gmail.com
Fri May 15 14:07:48 CEST 2009


Hello,

On 05/15/2009 02:19 PM, Alex Hermann wrote:
> Hello,
>
> I'm seeing an increasing amount of spurious timeouts on my proxies. 
> Even though the proxy receives a "100 Trying" response immediately 
>   
is this 100 coming very fast? Can you try with r5803, it was a(nother) 
fix to the race between request/reply.

Cheers,
Daniel

> 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>
>
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com/





More information about the sr-users mailing list