[sr-dev] [kamailio/kamailio] topos module producing invalid SIP message (missing Via header) when handling 200 OK to OPTIONS request (#1350)

David Minh Phan notifications at github.com
Wed Apr 11 12:57:51 CEST 2018


I still have the problem of routing the 200 OK message for the REINVITE.

192.168.70.106:5061 is the Kamailio with topos module enabled.

**Here is the REINVITE message arriving from our provider:**

INVITE sip:btpsh-5acddf40-d74-5 at 192.168.70.106:5061 SIP/2.0
Call-ID: 79acbb714c21354c
Contact: <sip:80.10.231.10:5060;transport=udp>
Content-Type: application/sdp
CSeq: 1 INVITE
From: <sip:xxxx at xxxx;user=phone>;tag=SDt2dkc98-04020267673121
Max-Forwards: 63
Record-Route: <sip:192.168.70.126:5060;user=i0o0S000000ad;lr;Cpkt=XWJOA;C=xxxx>,<sip:192.168.70.126:5070;user=00000214;lr;Cpkt=YJJEE;C=xxx>
To: <sip:+yyyy at xxxx;user=phone>;tag=1713351228
Via: SIP/2.0/UDP 192.168.70.126:5060;branch=z9hG4bK-XWJO-000227ab-7eda6242,SIP/2.0/UDP 192.168.70.126:5070;received=192.168.70.126;rport=5070;branch=z9hG4bK-YJJE-000a057c-0bf8ef7c,SIP/2.0/UDP 193.200.4.20:5060;emission,SIP/2.0/UDP 80.10.231.10:5060;received=80.10.231.10;rport=5060;branch=z9hG4bK5g8vgn00cobc0atd6hf0sb0000g00.1
Accept: application/sdp
Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,PRACK
Content-Length: 236

**Here is the REINVITE comming out of Kamailio into our core side:**

INVITE sip:192.168.40.106:5090;did=d03.e3be0354 SIP/2.0
Via: SIP/2.0/UDP 192.168.70.106:5061;branch=z9hG4bK443f.2ec12863719a69f1e3851178d9cb21d0.0
Call-ID: 79acbb714c21354c
Content-Type: application/sdp
CSeq: 1 INVITE
From: <sip:+xxx at xxxx>;tag=SDt2dkc98-04020267673121
Max-Forwards: 62
To: <sip:xxx at xxxx>;tag=1713351228
Accept: application/sdp
Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,PRACK
Content-Length: 236
Route: xxx
Contact: <sip:atpsh-5acddf40-d75-5 at 192.168.70.106:5061>


**Here is the 200 OK for this REINVITE message comming from the core side** (This message arrived to Kamailio but is never sent to our provider).

SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.70.106:5061;branch=z9hG4bK443f.2ec12863719a69f1e3851178d9cb21d0.0
From: <sip:+xxx at xxxx>;tag=SDt2dkc98-04020267673121
To: <sip:xxx at xxxx>;tag=1713351228
Call-ID: 79acbb714c21354c
CSeq: 1 INVITE
Contact: <sip:192.168.40.106:5090;did=d03.e3be0354>
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO
Content-Type: application/sdp
Content-Length: 197

**When Kamailio received this 200 OK, I see this log message:**
ERROR: topos [tps_storage.c:1299]: tps_db_update_dialog(): no valid dlg uuid (0: - 0:)

Some hint on how to debug this please @miconda ?





-- 
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/1350#issuecomment-380411710
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180411/73f46b14/attachment.html>


More information about the sr-dev mailing list