[sr-dev] [kamailio/kamailio] Incorrect routing of PRACK packets with topos module (#1167)

sergey-vb notifications at github.com
Fri Jul 21 07:22:18 CEST 2017


Hi Daniel

This is the output from topos_t

*************************** 29. row ***************************
        id: 1145715
   rectime: 2017-07-21 08:14:54
  s_method: INVITE
    s_cseq: 9022
  a_callid: uACs6xvwpwRYZyfNDsRi2Z.3Ge809DJK
    a_uuid: atpsh-5967680b-2b6d-5
    b_uuid: btpsh-5967680b-2b6d-5
 direction: 0
     x_via: SIP/2.0/TLS 100.65.48.39:48702;received=37.73.197.220;rport=22343;branch=z9hG4bKPjMyQEnMkzRQYL5wQjgt-ih0wGZkrX6TvM;alias
 x_vbranch: z9hG4bKbab9.50ac03836b503a91b5269332e0da72fc.0
      x_rr: 
      y_rr: <sip:127.0.0.8;line=sr-BRwEkMcFYXzjDMqpsSozWseXDMGxppCqzh1Ek2ZS1uoLBVfSPhqYZXlvyga*>,<sip:10.56.42.37:5070;lr;ftag=PxSmzGfYu.lDW-wDENFhyPTkaze9ygCK;did=243.ca42;vsf=AAAAAAAAAAAAAAAAAABlY2Bmf359HGJ6cX8bc3h9OjUwNjA7dXNlcj1waG9uZQ--;vst=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAgEAAgcAAAABAAAAAAAAAAAAAAAA>
      s_rr: <sip:10.56.42.37;r2=on;lr;ftag=PxSmzGfYu.lDW-wDENFhyPTkaze9ygCK;did=243.f55;vsf=AAAAAAoLAQ4DAA4DCHlnag5heGJnG3Rnd3MebX14CTUwNjA7dXNlcj1waG9uZQ--;vst=AAAAAAAAAAAAAAAAAAAAAwEcGwMWGgMYAxkIAAM3MDt1c2VyPXBob25l;nat=yes>,<sip:1.2.3.4:5081;transport=tls;r2=on;lr;ftag=PxSmzGfYu.lDW-wDENFhyPTkaze9ygCK;did=243.f55;vsf=AAAAAAoLAQ4DAA4DCHlnag5heGJnG3Rnd3MebX14CTUwNjA7dXNlcj1waG9uZQ--;vst=AAAAAAAAAAAAAAAAAAAAAwEcGwMWGgMYAxkIAAM3MDt1c2VyPXBob25l;nat=yes>
     x_uri: 
 a_contact: 
 b_contact: sip:127.0.0.8;line=sr-BRwEkMcFYXzjDMqpsSozWseXDMGxppCqzh1Ek2ZS1uoLBVfSPhqYZXl*
as_contact: 
bs_contact: 
     x_tag: PxSmzGfYu.lDW-wDENFhyPTkaze9ygCK
     a_tag: 
     b_tag: 04002092200999
 a_srcaddr: 
 b_srcaddr: 
  a_socket: 
  b_socket: 
*************************** 30. row ***************************
        id: 1145716
   rectime: 2017-07-21 08:14:59
  s_method: PRACK
    s_cseq: 9023
  a_callid: uACs6xvwpwRYZyfNDsRi2Z.3Ge809DJK
    a_uuid: atpsh-5967680b-2b6d-5
    b_uuid: 
 direction: 0
     x_via: SIP/2.0/TLS 100.65.48.39:48702;received=37.73.197.220;rport=22343;branch=z9hG4bKPjn0XwMow5-ohClQyJ4wjKHN9WhsEmu6Fr;alias
 x_vbranch: z9hG4bKcab9.e4f6045b55f53485a72152348d7218cb.0
      x_rr: 
      y_rr: <sip:127.0.0.8;line=sr-BRwEkMcFYXzjDMqpsSozWseXDMGxppCqzh1Ek2ZS1uoLBVfSPhqYZXlvyga*>,<sip:10.56.42.37:5070;lr;ftag=PxSmzGfYu.lDW-wDENFhyPTkaze9ygCK;did=243.ca42;vsf=AAAAAAAAAAAAAAAAAABlY2Bmf359HGJ6cX8bc3h9OjUwNjA7dXNlcj1waG9uZQ--;vst=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAgEAAgcAAAABAAAAAAAAAAAAAAAA>
      s_rr: 
     x_uri: 
 a_contact: 
 b_contact: sip:127.0.0.8;line=sr-BRwEkMcFYXzjDMqpsSozWseXDMGxppCqzh1Ek2ZS1uoLBVfSPhqYZXl*
as_contact: 
bs_contact: 
     x_tag: PxSmzGfYu.lDW-wDENFhyPTkaze9ygCK
     a_tag: 
     b_tag: 04002092200999
 a_srcaddr: 
 b_srcaddr: 
  a_socket: 
  b_socket: 

Client generates PRACK
PRACK sip:atpsh-5967680b-2b6d-5 at 1.2.3.4:5081;transport=tls SIP/2.0 
Via: SIP/2.0/TLS 100.65.48.39:48702;rport;branch=z9hG4bKPjn0XwMow5-ohClQyJ4wjKHN9WhsEmu6Fr;alias 
Max-Forwards: 70 
From: <sip:380931701939 at 1.2.3.4>;tag=PxSmzGfYu.lDW-wDENFhyPTkaze9ygCK 
To: <sip:0938221583 at 1.2.3.4>;tag=04002092200999 
Call-ID: uACs6xvwpwRYZyfNDsRi2Z.3Ge809DJK 
CSeq: 9023 
PRACK RAck: 500 9022 INVITE 
Content-Length: 0

After kamailio with topos:

PRACK sip:10.56.42.37;r2=on;lr;ftag=PxSmzGfYu.lDW-wDENFhyPTkaze9ygCK;did=243.f55;vsf=AAAAAAoLAQ4DAA4DCHlnag5heGJnG3Rnd3MebX14CTUwNjA7dXNlcj1waG9uZQ--;vst=AAAAAAAAAAAAAAAAAAAAAwEcGwMWGgMYAxkIAAM3MDt1c2VyPXBob25l;nat=yes SIP/2.0 
Via: SIP/2.0/UDP 10.56.42.37;branch=z9hG4bKcab9.e4f6045b55f53485a72152348d7218cb.0;i=f465 
Max-Forwards: 69 
From: <sip:380931701939 at 1.2.3.4>;tag=PxSmzGfYu.lDW-wDENFhyPTkaze9ygCK 
To: <sip:0938221583 at 1.2.3.4>;tag=04002092200999 
Call-ID: uACs6xvwpwRYZyfNDsRi2Z.3Ge809DJK 
CSeq: 9023 PRACK RAck: 500 9022 INVITE 
Content-Length: 0 
Contact: <sip:btpsh-5967680b-2b6d-5 at 10.56.42.37> 

ip
1.2.3.4 - external kamailio ip
10.56.42.37 - internal kamailio ip
10.56.42.37:5070 - kamailio2 ip

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1167#issuecomment-316906019
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170720/b5081737/attachment-0001.html>


More information about the sr-dev mailing list