[Kamailio-Users] t_check_trans() fails

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 19 11:33:19 CET 2009


Hello,

On 01/09/2009 08:45 PM, Alex R.S.M wrote:
> Hi,
>
> What might be the cause that t_check_trans() function fails and ACK 
> message is not being routed?
either it comes too late and invite transaction does not exist, or it 
has something wrong in the headers? Can you paste the invite-200ok-ack 
sip trace of such situation?

Cheers,
Daniel


> This is a simple SIP to SIP call.
>
>
>
>          if ( is_method("ACK") )
>          {
>             if ( t_check_trans() )
>             {
>                # non loose-route, but stateful ACK; must be an ACK 
> after a 487 or e.g. 404 from upstream server
>                t_relay();
>                exit;
>             }
>             else
>             {
>                # ACK without matching transaction ... ignore and 
> discard.\n");
>                exit;
>             }
>          }
>
>
> ------------------------------------------------------------------------
> Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. Check 
> it out. 
> <http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_explore_012009> 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>   

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





More information about the Users mailing list