[Kamailio-Devel] [Bulk] Re: [tm] t_lookupOriginalT : cannot find matching INVITE for CANCEL because of display name

Daniel-Constantin Mierla miconda at gmail.com
Tue Jan 20 18:46:43 CET 2009



On 01/20/2009 07:41 PM, Iñaki Baz Castillo wrote:
> 2009/1/20 Daniel-Constantin Mierla <miconda at gmail.com>:
>
>   
>> the matching is preRFC3261 as it seems the magic cookie in via branch is not
>> correct:
>>
>> INVITE sip:999005 at rtpfc9 SIP/2.0
>> Via: SIP/2.0/UDP 192.168.160.141:5064;branch=z9hG4bk1-1
>>
>> RFC3261 8.1.1.7:
>>
>> "" The branch ID inserted by an element compliant with this
>> specification MUST always begin with the characters "z9hG4bK"  ""
>>
>> In the invite the last character is lowercase k instead of uppercase K. Am I
>> right?
>>     
>
> Daniel, could you please point the branch mismatching you mean? I've
> inspected it along the entire flow and it seems correct for me (no "k"
> replaced by "K" or similar).
>   
The first invite (see below) and the cancel has a branch that does not 
follow the RFC3261 matching rules.

rfc3261 states that the cookie must start with "z9hG4bK" in order to use 
it for matching. Maybe my memories about rfc3261 transaction matching 
are slowly going away, bit is how I remember it should be done. I can 
double check it again.

So, if I am right (pretty sure about), the branch id is not starting 
with the magic cookie in order to do RFC3261 matching. So it uses the 
old style of comparing the headers.

Cheers,
Daniel



14:29:15.297598 IP 192.168.160.141.5064 > 192.168.160.141.5060: SIP, 
length: 608
E..|.. at .@.v..............h..INVITE sip:999005 at rtpfc9 SIP/2.0
Via: SIP/2.0/UDP 192.168.160.141:5064;branch=z9hG4bk1-1
From: sipp 
<sip:1-16122-192.168.160.141 at 192.168.160.141:5064>;tag=16122SIPpTag091
To: sut <sip:999005 at rtpfc9>
Call-ID: 1-16122-192.168.160.141
CSeq: 1 INVITE
Contact: sip:sipp at 192.168.160.141:5064
Max-Forwards: 70
Expires: 180
Subject: Performance Test
Content-Type: application/sdp
Content-Length:   200

v=0
o=user1 53655765 2353687637 IN IP4 192.168.160.141
s=-
c=IN IP4 192.168.160.141
t=0 0
m=audio 6001 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11,16

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




More information about the Devel mailing list