[Kamailio-Users] ACK without matching transaction discarded

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 8 11:42:34 CEST 2008


Hello,

seems are you doing record_route()/loose_route() processing, right? You 
need to change the scenario of the sipp to handle the Record-Route 
headers. The ACK should arrive to kamailio with a Route header.

Cheers,
Daniel


On 10/07/08 22:07, Alex R.S.M wrote:
>
>
>
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:uri:has_totag: totag found
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:core:pv_get_dsturi: no 
> destination URI
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:core:parse_headers: flags=200
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:core:get_hdr_field: 
> content_length=0
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:core:get_hdr_field: found 
> end of header
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:rr:find_first_route: No 
> Route headers found
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:rr:loose_route: There is no 
> Route HF
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:core:parse_headers: flags=78
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:tm:t_lookup_request: start 
> searching: hash=14964, isACK=1
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:tm:matching_3261: RFC3261 
> transaction matching failed
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:tm:t_lookup_request: no 
> transaction found
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:core:destroy_avp_list: 
> destroying list (nil)
>
> ------------------------------------------------------------------------
> From: alex_rsm at hotmail.com
> To: users at lists.kamailio.org
> Date: Tue, 7 Oct 2008 14:31:28 -0400
> Subject: [Kamailio-Users] ACK without matching transaction discarded
>
> Hi,
>
> I am using openSER as a proxy for a simple SIP call (UAC <--> openSER 
> <--> UAS).  openSER receives ACK from callee but doesn't send it to 
> caller.
> It seems openSER can not find a matching transaction, so it ignore and 
> discard the message.
>
>          if ( is_method("ACK") )
>          {
>             if ( t_check_trans() )
>             {
>                t_relay();
>                exit;
>             }
>             else
>             {
>               # ACK without matching transaction ... ignore and 
> discard.\n");
>                exit;
>             }
>
> Here is the message header:
>
> Internet Protocol, Src: 10.0.0.174 (10.0.0.174), Dst: 10.0.0.160 
> (10.0.0.160)
> ...
> ACK sip:9134750000 at 10.0.0.183:5080 SIP/2.0
> Via: SIP/2.0/UDP 10.0.0.174:5040;branch=z9hG4bK-12255-1-4
> From: <sip:9133750000 at 10.0.0.174:5040>;tag=1
> To: <sip:9134750000 at 10.0.0.183:5080>;tag=1
> Call-ID: 1-12255 at 10.0.0.174
> CSeq: 1 ACK
> Contact: sip:sipp at 10.0.0.174:5040
> Max-Forwards: 70
> Subject: Performance Test
> Content-Length: 0
>
> and here is the debug log:
>
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:uri:has_totag: totag found
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:core:pv_get_dsturi: no 
> destination URI
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:core:parse_headers: flags=200
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:core:get_hdr_field: 
> content_length=0
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:core:get_hdr_field: found 
> end of header
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:rr:find_first_route: No 
> Route headers found
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:rr:loose_route: There is no 
> Route HF
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:core:parse_headers: flags=78
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:tm:t_lookup_request: start 
> searching: hash=14964, isACK=1
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:tm:matching_3261: RFC3261 
> transaction matching failed
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:tm:t_lookup_request: no 
> transaction found
> Oct  7 15:05:12 lab-linux01 kamailio: DBG:core:destroy_avp_list: 
> destroying list (nil)
>
>
> Am I missing anything?
>
> Thanks,
> Alex
>
>
> ------------------------------------------------------------------------
> Want to do more with Windows Live? Learn “10 hidden secrets” from 
> Jamie. Learn Now 
> <http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns%21550F681DAD532637%215295.entry?ocid=TXT_TAGLM_WL_domore_092008> 
>
> ------------------------------------------------------------------------
> See how Windows connects the people, information, and fun that are 
> part of your life. See Now 
> <http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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