<p>I still have the problem of routing the 200 OK message for the REINVITE.</p>
<p>192.168.70.106:5061 is the Kamailio with topos module enabled.</p>
<p><strong>Here is the REINVITE message arriving from our provider:</strong></p>
<p>INVITE sip:btpsh-5acddf40-d74-5@192.168.70.106:5061 SIP/2.0<br>
Call-ID: 79acbb714c21354c<br>
Contact: sip:80.10.231.10:5060;transport=udp<br>
Content-Type: application/sdp<br>
CSeq: 1 INVITE<br>
From: sip:xxxx@xxxx;user=phone;tag=SDt2dkc98-04020267673121<br>
Max-Forwards: 63<br>
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<br>
To: sip:+yyyy@xxxx;user=phone;tag=1713351228<br>
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<br>
Accept: application/sdp<br>
Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,PRACK<br>
Content-Length: 236</p>
<p><strong>Here is the REINVITE comming out of Kamailio into our core side:</strong></p>
<p>INVITE sip:192.168.40.106:5090;did=d03.e3be0354 SIP/2.0<br>
Via: SIP/2.0/UDP 192.168.70.106:5061;branch=z9hG4bK443f.2ec12863719a69f1e3851178d9cb21d0.0<br>
Call-ID: 79acbb714c21354c<br>
Content-Type: application/sdp<br>
CSeq: 1 INVITE<br>
From: sip:+xxx@xxxx;tag=SDt2dkc98-04020267673121<br>
Max-Forwards: 62<br>
To: sip:xxx@xxxx;tag=1713351228<br>
Accept: application/sdp<br>
Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,PRACK<br>
Content-Length: 236<br>
Route: xxx<br>
Contact: sip:atpsh-5acddf40-d75-5@192.168.70.106:5061</p>
<p><strong>Here is the 200 OK for this REINVITE message comming from the core side</strong> (This message arrived to Kamailio but is never sent to our provider).</p>
<p>SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP 192.168.70.106:5061;branch=z9hG4bK443f.2ec12863719a69f1e3851178d9cb21d0.0<br>
From: sip:+xxx@xxxx;tag=SDt2dkc98-04020267673121<br>
To: sip:xxx@xxxx;tag=1713351228<br>
Call-ID: 79acbb714c21354c<br>
CSeq: 1 INVITE<br>
Contact: sip:192.168.40.106:5090;did=d03.e3be0354<br>
Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO<br>
Content-Type: application/sdp<br>
Content-Length: 197</p>
<p><strong>When Kamailio received this 200 OK, I see this log message:</strong><br>
ERROR: topos [tps_storage.c:1299]: tps_db_update_dialog(): no valid dlg uuid (0: - 0:)</p>
<p>Some hint on how to debug this please <a class="user-mention" data-hovercard-user-id="184809" href="https://github.com/miconda">@miconda</a> ?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1350#issuecomment-380411710">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZbqRhsCsYcFC3SM1l7S7VVwyTURBks5tneGugaJpZM4Qzia_">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZbjhoVhKzyNrxWjVGm51axcfBmPdks5tneGugaJpZM4Qzia_.gif" height="1" width="1" alt="" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1350#issuecomment-380411710"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@qmphan in #1350: I still have the problem of routing the 200 OK message for the REINVITE.\r\n\r\n192.168.70.106:5061 is the Kamailio with topos module enabled.\r\n\r\n**Here is the REINVITE message arriving from our provider:**\r\n\r\nINVITE sip:btpsh-5acddf40-d74-5@192.168.70.106:5061 SIP/2.0\r\nCall-ID: 79acbb714c21354c\r\nContact: \u003csip:80.10.231.10:5060;transport=udp\u003e\r\nContent-Type: application/sdp\r\nCSeq: 1 INVITE\r\nFrom: \u003csip:xxxx@xxxx;user=phone\u003e;tag=SDt2dkc98-04020267673121\r\nMax-Forwards: 63\r\nRecord-Route: \u003csip:192.168.70.126:5060;user=i0o0S000000ad;lr;Cpkt=XWJOA;C=xxxx\u003e,\u003csip:192.168.70.126:5070;user=00000214;lr;Cpkt=YJJEE;C=xxx\u003e\r\nTo: \u003csip:+yyyy@xxxx;user=phone\u003e;tag=1713351228\r\nVia: 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\r\nAccept: application/sdp\r\nAllow: INVITE,ACK,CANCEL,BYE,OPTIONS,PRACK\r\nContent-Length: 236\r\n\r\n**Here is the REINVITE comming out of Kamailio into our core side:**\r\n\r\nINVITE sip:192.168.40.106:5090;did=d03.e3be0354 SIP/2.0\r\nVia: SIP/2.0/UDP 192.168.70.106:5061;branch=z9hG4bK443f.2ec12863719a69f1e3851178d9cb21d0.0\r\nCall-ID: 79acbb714c21354c\r\nContent-Type: application/sdp\r\nCSeq: 1 INVITE\r\nFrom: \u003csip:+xxx@xxxx\u003e;tag=SDt2dkc98-04020267673121\r\nMax-Forwards: 62\r\nTo: \u003csip:xxx@xxxx\u003e;tag=1713351228\r\nAccept: application/sdp\r\nAllow: INVITE,ACK,CANCEL,BYE,OPTIONS,PRACK\r\nContent-Length: 236\r\nRoute: xxx\r\nContact: \u003csip:atpsh-5acddf40-d75-5@192.168.70.106:5061\u003e\r\n\r\n\r\n**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).\r\n\r\nSIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 192.168.70.106:5061;branch=z9hG4bK443f.2ec12863719a69f1e3851178d9cb21d0.0\r\nFrom: \u003csip:+xxx@xxxx\u003e;tag=SDt2dkc98-04020267673121\r\nTo: \u003csip:xxx@xxxx\u003e;tag=1713351228\r\nCall-ID: 79acbb714c21354c\r\nCSeq: 1 INVITE\r\nContact: \u003csip:192.168.40.106:5090;did=d03.e3be0354\u003e\r\nAllow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO\r\nContent-Type: application/sdp\r\nContent-Length: 197\r\n\r\n**When Kamailio received this 200 OK, I see this log message:**\r\nERROR: topos [tps_storage.c:1299]: tps_db_update_dialog(): no valid dlg uuid (0: - 0:)\r\n\r\nSome hint on how to debug this please @miconda ?\r\n\r\n\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1350#issuecomment-380411710"}}}</script>