<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false"><span><span style="color: rgb(36, 39, 41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; orphans: 2; widows: 2;">I have DID provider which is sending INVITES to Kamailio and kamailio has UAC module with asterisk to forward Calls to Asterisk with uac_auth()</span></span><br></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(36, 39, 41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; orphans: 2; widows: 2;"><br></span></span></div><div dir="ltr" data-setdir="false"><span><b>1-DID Provider ----> (TLS)2-Kamailio (UDP) -----> (UDP) 3-Asterisk </b></span><span><span style="color: rgb(36, 39, 41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; orphans: 2; widows: 2;"><br></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(36, 39, 41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; orphans: 2; widows: 2;"><br></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(36, 39, 41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; orphans: 2; widows: 2;">Call from Kamailio to Asterisk is forwarded and answered but NON of the reply received in "MANAGE_REPLY" route is not relayed back to DID provider call get disconnected.</span></span><span><span style="color: rgb(36, 39, 41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; orphans: 2; widows: 2;"><br></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(36, 39, 41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; orphans: 2; widows: 2;"><br></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(36, 39, 41); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; orphans: 2; widows: 2;">=================</span></span></div><div dir="ltr" data-setdir="false" style="orphans: 2; widows: 2; "><font color="#242729" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="caret-color: rgb(36, 39, 41); font-size: 15px;">SIP DUMP </span></font></div><div dir="ltr" data-setdir="false" style="orphans: 2; widows: 2; "><font color="#242729" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="caret-color: rgb(36, 39, 41); font-size: 15px;"><br></span></font></div><div dir="ltr" data-setdir="false" style="orphans: 2; widows: 2; "><font color="#242729" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="caret-color: rgb(36, 39, 41); font-size: 15px;">INVITE FROM DID</span></font></div><div dir="ltr" data-setdir="false" style="orphans: 2; widows: 2; "><font color="#242729" face="Arial, Helvetica Neue, Helvetica, sans-serif"><span style="caret-color: rgb(36, 39, 41); font-size: 15px;"><br></span></font></div><div dir="ltr" data-setdir="false" style="orphans: 2; widows: 2; "><div><div>INVITE sip:+1700@KAMAILIOSERER.com:5061;user=phone;transport=tls SIP/2.0</div><div>FROM: Alga Tech<sip:+17900000002@DIDPROVIDER.com:5061;user=phone>;tag=28989e96e28d47d891b4d8d21d85fa92</div><div>TO: <sip:+1700@KAMAILIOSERER.com:5061;user=phone></div><div>CSEQ: 1 INVITE</div><div>CALL-ID: 936ba28f302f5a5d9b09f32e2e7c41f2</div><div>MAX-FORWARDS: 70</div><div>VIA: SIP/2.0/TLS DID-IP:5061;TH=div;branch=z9hG4bK77976715</div><div>RECORD-ROUTE: <sip:DIDPROVIDER-ROUTE.com:5061;transport=tls;lr></div><div>CONTACT: <sip:DIDPROVIDER-CONTACT.com:443;x-i=b9483d0b-e3aa-4487-8dec-68de62d93a35;x-c=936ba28f302f5a5d9b09f32e2e7c41f2/d/8/26d69f6b729942a799552629a315d5d1></div><div>CONTENT-LENGTH: 1103</div><div>MIN-SE: 300</div><div>SUPPORTED: timer</div><div>USER-AGENT: Microsoft.PSTNHub.SIPProxy v.2020.10.12.5 i.USEA.0</div><div>CONTENT-TYPE: application/sdp</div><div>ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY</div><div>SESSION-EXPIRES: 3600</div><div dir="ltr" data-setdir="false">TH: dih</div></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">-----------------------</div><div dir="ltr" data-setdir="false">Invite to Asterisk with AUTH</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div>INVITE sip:+1700@KAMAILIOSERER.com:5061;user=phone;transport=tls SIP/2.0</div><div>FROM: Alga Tech<sip:+17900000002@DIDPROVIDER.com:5061;user=phone>;tag=28989e96e28d47d891b4d8d21d85fa92</div><div>TO: <sip:+1700@KAMAILIOSERER.com:5061;user=phone></div><div>CSEQ: 1 INVITE</div><div>CALL-ID: 936ba28f302f5a5d9b09f32e2e7c41f2</div><div>MAX-FORWARDS: 69</div><div>VIA: SIP/2.0/TLS DID-IP:5061;TH=div;branch=z9hG4bK77976715</div><div>RECORD-ROUTE: <sip:DIDPROVIDER-ROUTE.com:5061;transport=tls;lr></div><div>CONTACT: <sip:DIDPROVIDER-CONTACT.com:443;x-i=b9483d0b-e3aa-4487-8dec-68de62d93a35;x-c=936ba28f302f5a5d9b09f32e2e7c41f2/d/8/26d69f6b729942a799552629a315d5d1></div><div>CONTENT-LENGTH: 1103</div><div>MIN-SE: 300</div><div>SUPPORTED: timer</div><div>USER-AGENT: Microsoft.PSTNHub.SIPProxy v.2020.10.12.5 i.USEA.0</div><div>CONTENT-TYPE: application/sdp</div><div>ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY</div><div>SESSION-EXPIRES: 3600</div><div dir="ltr" data-setdir="false">TH: dih</div></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">------------------</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">From Asterisk to Kamailio</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div>SIP/2.0 100 Trying</div><div>Via: SIP/2.0/UDP KAMAILIO-IP:7790;TH=ucv;rport=7790;received=KAMAILIO-IP;branch=z9hG4bK7317.fe3491996f35f580f2efa1c50081a62c.1;i=7</div><div>Via: SIP/2.0/TLS DID-IP:5061;rport=8256;TH=div;branch=z9hG4bK77976715</div><div>Record-Route: <sip:KAMAILIO-IP:7790;lr;r2=on;ftag=28989e96e28d47d891b4d8d21d85fa92;vsf=AAAAABoEBwFwQUMeU1FcXjMDGx9bBF0XAQV1Yi5taWNyb3NvZnQuY29tOjUwNjE7dXNlcj1waG9uZQ--;nat=yes></div><div>Record-Route: <sip:KAMAILIO-IP:5061;transport=tls;r2=on;lr;ftag=28989e96e28d47d891b4d8d21d85fa92;vsf=AAAAABoEBwFwQUMeU1FcXjMDGx9bBF0XAQV1Yi5taWNyb3NvZnQuY29tOjUwNjE7dXNlcj1waG9uZQ--;nat=yes></div><div>Record-Route: <sip:DIDPROVIDER-ROUTE.com:5061;transport=tls;lr></div><div>Call-ID: 936ba28f302f5a5d9b09f32e2e7c41f2</div><div>From: "Alga Tech" <sip:1508@qs.callsprout.com>;tag=28989e96e28d47d891b4d8d21d85fa92</div><div>To: <sip:+1700@KAMAILIOSERER.com;user=phone></div><div>CSeq: 1 INVITE</div><div>Server: Asterisk</div><div>Content-Length:  0</div><div dir="ltr" data-setdir="false">TH: uch</div></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">----------------------</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span>From Asterisk to Kamailio</span><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div>SIP/2.0 180 Ringing</div><div>Via: SIP/2.0/UDP KAMAILIO-IP:7790;TH=ucv;rport=7790;received=KAMAILIO-IP;branch=z9hG4bK7317.fe3491996f35f580f2efa1c50081a62c.1;i=7</div><div>Via: SIP/2.0/TLS DID-IP:5061;rport=8256;TH=div;branch=z9hG4bK77976715</div><div>Record-Route: <sip:KAMAILIO-IP:7790;lr;r2=on;ftag=28989e96e28d47d891b4d8d21d85fa92;vsf=AAAAABoEBwFwQUMeU1FcXjMDGx9bBF0XAQV1Yi5taWNyb3NvZnQuY29tOjUwNjE7dXNlcj1waG9uZQ--;nat=yes></div><div>Record-Route: <sip:KAMAILIO-IP:5061;transport=tls;r2=on;lr;ftag=28989e96e28d47d891b4d8d21d85fa92;vsf=AAAAABoEBwFwQUMeU1FcXjMDGx9bBF0XAQV1Yi5taWNyb3NvZnQuY29tOjUwNjE7dXNlcj1waG9uZQ--;nat=yes></div><div>Record-Route: <sip:DIDPROVIDER-ROUTE.com:5061;transport=tls;lr></div><div>Call-ID: 936ba28f302f5a5d9b09f32e2e7c41f2</div><div>From: "Alga Tech" <sip:1508@qs.callsprout.com>;tag=28989e96e28d47d891b4d8d21d85fa92</div><div>To: <sip:+1700@KAMAILIOSERER.com;user=phone>;tag=17f0e0ba-c1c0-457a-b0dd-9a9729d312e7</div><div>CSeq: 1 INVITE</div><div>Server: Asterisk</div><div>Contact: <sip:66.232.107.106:7790></div><div>Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER</div><div dir="ltr" data-setdir="false">Content-Length:  0</div></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span>----------------------</span><br></div><div dir="ltr" data-setdir="false"><span>From Asterisk to Kamailio</span><span><br></span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><div><div>SIP/2.0 180 Ringing</div><div>Via: SIP/2.0/UDP KAMAILIO-IP:7790;TH=ucv;rport=7790;received=KAMAILIO-IP;branch=z9hG4bK7317.fe3491996f35f580f2efa1c50081a62c.1;i=7</div><div>Via: SIP/2.0/TLS DID-IP:5061;rport=8256;TH=div;branch=z9hG4bK77976715</div><div>Record-Route: <sip:KAMAILIO-IP:7790;lr;r2=on;ftag=28989e96e28d47d891b4d8d21d85fa92;vsf=AAAAABoEBwFwQUMeU1FcXjMDGx9bBF0XAQV1Yi5taWNyb3NvZnQuY29tOjUwNjE7dXNlcj1waG9uZQ--;nat=yes></div><div>Record-Route: <sip:KAMAILIO-IP:5061;transport=tls;r2=on;lr;ftag=28989e96e28d47d891b4d8d21d85fa92;vsf=AAAAABoEBwFwQUMeU1FcXjMDGx9bBF0XAQV1Yi5taWNyb3NvZnQuY29tOjUwNjE7dXNlcj1waG9uZQ--;nat=yes></div><div>Record-Route: <sip:DIDPROVIDER-ROUTE.com:5061;transport=tls;lr></div><div>Call-ID: 936ba28f302f5a5d9b09f32e2e7c41f2</div><div>From: "Alga Tech" <sip:1508@qs.callsprout.com>;tag=28989e96e28d47d891b4d8d21d85fa92</div><div>To: <sip:+1700@KAMAILIOSERER.com;user=phone>;tag=17f0e0ba-c1c0-457a-b0dd-9a9729d312e7</div><div>CSeq: 1 INVITE</div><div>Server: Asterisk</div><div>Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER</div><div>Contact: <sip:66.232.107.106:7790></div><div>Content-Length:  0</div><div dir="ltr" data-setdir="false">TH: uch</div></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false">----------------------<br></div><div dir="ltr" data-setdir="false">From Asterisk to Kamailio</div></div></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div>SIP/2.0 200 OK</div><div>Via: SIP/2.0/UDP KAMAILIO-IP:7790;TH=ucv;rport=7790;received=KAMAILIO-IP;branch=z9hG4bK7317.fe3491996f35f580f2efa1c50081a62c.1;i=7</div><div>Via: SIP/2.0/TLS DID-IP:5061;rport=8256;TH=div;branch=z9hG4bK77976715</div><div>Record-Route: <sip:KAMAILIO-IP:7790;lr;r2=on;ftag=28989e96e28d47d891b4d8d21d85fa92;vsf=AAAAABoEBwFwQUMeU1FcXjMDGx9bBF0XAQV1Yi5taWNyb3NvZnQuY29tOjUwNjE7dXNlcj1waG9uZQ--;nat=yes></div><div>Record-Route: <sip:KAMAILIO-IP:5061;transport=tls;r2=on;lr;ftag=28989e96e28d47d891b4d8d21d85fa92;vsf=AAAAABoEBwFwQUMeU1FcXjMDGx9bBF0XAQV1Yi5taWNyb3NvZnQuY29tOjUwNjE7dXNlcj1waG9uZQ--;nat=yes></div><div>Record-Route: <sip:DIDPROVIDER-ROUTE.com:5061;transport=tls;lr></div><div>Call-ID: 936ba28f302f5a5d9b09f32e2e7c41f2</div><div>From: "Alga Tech" <sip:1508@qs.callsprout.com>;tag=28989e96e28d47d891b4d8d21d85fa92</div><div>To: <sip:+1700@KAMAILIOSERER.com;user=phone>;tag=17f0e0ba-c1c0-457a-b0dd-9a9729d312e7</div><div>CSeq: 1 INVITE</div><div>Server: Asterisk</div><div>Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER</div><div>Contact: <sip:66.232.107.106:7790></div><div>Supported: 100rel, timer, replaces, norefersub</div><div>Session-Expires: 3600;refresher=uac</div><div>Require: timer</div><div>Content-Type: application/sdp</div><div>Content-Length:   299</div><div dir="ltr" data-setdir="false">TH: uch</div></div></div></div></div></div></div></div></div></body></html>