<div dir="ltr"><div>Not sure if this is related, but I've also run into issues with track_cseq_updates:</div><div style="margin-left:40px"></div><div style="margin-left:40px"><a href="https://www.mail-archive.com/sr-users@lists.kamailio.org/msg12362.html">https://www.mail-archive.com/sr-users@lists.kamailio.org/msg12362.html</a></div><div><br></div><div>More specifically, kamailio won't process the 100 Trying to an Cseq-bumped INVITE it generated</div><div>itself with uac_auth() when track_cseq_updates is on.<br></div><div><br></div><div>This implementation appears to be a little too fragile for the time being....</div><div><br></div><div>BR,</div><div>George<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 17 Dec 2020 at 12:29, Terry Tailor <<a href="mailto:terry@fullduplex.co.uk">terry@fullduplex.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi, Here is setup details</div><div>Kamailio Proxy a <-----> Kamailio Proxy b 
<----->

 Asterisk</div><div>Kamailio proxy b auth based on IP Kamailio Proxy a<br></div><div>1. Kamailio proxy sends an Invite request to Kamailio proxy b with CSeq: 102 INVITE</div><div>2. Kamailio proxy b check again IP auth and sends invite request to asterisk with CSeq: 102 INVITE</div><div>4 asterisk response with 401 Unauthorized with  
CSeq: 102 <br></div><div>5. Kamailio proxy b sends ACK request with CSeq: 102 ACK</div><div>6. Kamailio proxy b sends INVITE request with CSeq: 103 INVITE</div><div>7. Asterisk sends 100 trying and 180 ringing with CSeq: 103 INVITE</div><div>8. Kamailio proxy b relay 180 ringing with  CSeq: 102 INVITE</div><div>9. Asterisk send 200 Ok with CSeq: 103 INVITE and proxy b relay it to proxy a with CSeq: 102 INVITE</div><div>10. Now Proxy a send an ACK with CSeq: 102 ACK and proxy b relay ACK to asterisk with CSeq: 102 ACK<br></div><div><br></div><div>Now asterisk is retransmitting 200 ok with CSeq: 103 INVITE and proxy a is sending ACK with Cseq: 102 ACK</div><div><br></div><div>Same happing in case of 487 Request Terminated</div><div><br></div><div>Here is my config</div><div><br></div><div>modparam("dialog", "default_timeout", 10800) # 3h<br>modparam("dialog", "dlg_match_mode", 1)<br>modparam("dialog", "db_mode", 0)<br>modparam("dialog", "send_bye", 1)<br>modparam("dialog", "track_cseq_updates", 1)<br>modparam("uac","auth_username_avp","$avp(auser)")<br>modparam("uac","auth_password_avp","$avp(apass)")<br>modparam("uac","auth_realm_avp","$avp(arealm)")</div><div><br></div><div>modparam("tm", "failure_reply_mode", 3)<br># default retransmission timeout: 3 sec<br>modparam("tm", "fr_timer", 2000)<br>modparam("tm", "retr_timer1", 250)<br>modparam("tm", "retr_timer2", 500)<br># default invite retransmission timeout after 1xx: 60 sec<br>modparam("tm", "fr_inv_timer", 60000)<br>modparam("tm", "reparse_on_dns_failover", 0)</div><div><br></div><div><br></div><div><br></div><div>if (is_method("INVITE") && !has_totag()) {<br>        dlg_setflag(FLD_RTPPROXY);<br>        dlg_manage();<br>    }<br>    route(RELAY);</div><div><br></div><div><br></div><div><br></div><div><br></div><div>route[RELAY] {<br><br>    # At this point all checks are passed<br>    t_on_branch("MANAGE_BRANCH");<br>    t_on_reply("MANAGE_REPLY");<br>    t_on_failure("MANAGE_FAILURE");<br>    if(is_method("INVITE") && isflagset(FLT_FROMDID)) {<br>     #$fd = "<a href="http://sip.comms.kuflink.com" target="_blank">sip.comms.kuflink.com</a>";<br>      t_on_failure("RELAY_AUTH");<br>    }<br><br>    if (!t_relay()) {<br>        send_reply("500", "Cannot relay to $du/$ru");<br>    }<br>    exit;<br>}<br><br>failure_route[RELAY_AUTH] {<br>    t_on_branch("MANAGE_BRANCH");<br>    t_on_reply("MANAGE_REPLY");<br>    if (t_is_canceled()) {<br>        exit;<br>    }<br>    if(t_check_status("401|407")) {<br>        #$fd = "<a href="http://sip.comms.kuflink.com" target="_blank">sip.comms.kuflink.com</a>";<br>        $avp(auser) = "DID_UA_USERNAME";<br>        $avp(apass) = "DID_UA_PASSWORD";<br>        if (uac_auth()) {<br>            t_relay();<br>        }<br>        exit;<br>    }<br>}</div><div><br></div><div><br></div><div>route[WITHINDLG] {<br>    if (!has_totag()) {<br>        return;<br>    }<br><br>    if (is_method("BYE")) {<br>        rtpengine_delete();<br>    }<br><br>    # sequential request withing a dialog should<br>    # take the path determined by record-routing<br>    if (loose_route()) {<br>        route(DLGURI);<br>        if (is_method("ACK")) {<br>            # ACK is forwarded statelessly<br>            route(NATMANAGE);<br>        } else if (is_method("NOTIFY")) {<br>            # Add Record-Route for in-dialog NOTIFY as per RFC 6665.<br>            record_route();<br>        }<br>        route(RELAY);<br>        exit;<br>    }<br><br>    if (is_method("SUBSCRIBE") && uri == myself) {<br>        # in-dialog subscribe requests<br>        route(PRESENCE);<br>        exit;<br>    }<br>    if (is_method("ACK") ) {<br>        if (t_check_trans()) {<br>            # no loose-route, but stateful ACK;<br>            # must be an ACK after a 487<br>            # or e.g. 404 from upstream server<br>            route(RELAY);<br>            exit;<br>        } else {<br>            # ACK without matching transaction ... ignore and discard<br>            exit;<br>        }<br>    }<br>    send_reply("404","Not here");<br>    exit;<br>}</div><div><br></div><div><br></div><div>kamailio -v</div><div>version: kamailio 5.3.7 (x86_64/linux)<br>flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED<br>ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<br>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>id: unknown<br>compiled with gcc 6.3.0</div><div><br></div><div><br></div><div>uname -a<br></div><div>Linux <a href="http://example.com" target="_blank">example.com</a> 4.15.0-124-generic #127-Ubuntu SMP Fri Nov 6 10:54:43 UTC 2020 x86_64 GNU/Linux<br></div><div><br></div><div><br></div><div><br></div><div>SIP logs</div><div>2020/12/17 10:08:18.483907 <a href="http://proxy-a.com:5060" target="_blank">proxy-a.com:5060</a> -> <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a><br>INVITE <a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a> SIP/2.0<br>Record-Route: <sip:<a href="http://proxy-a.com" target="_blank">proxy-a.com</a>;lr><br>Via: SIP/2.0/UDP proxy-a.com:5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>Max-Forwards: 70<br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>><br>Contact: <<a href="http://sip:7654321@did.com:5060" target="_blank">sip:7654321@did.com:5060</a>><br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>User-Agent: ProxyA<br>CSeq: 102 INVITE<br>User-Agent: proxy<br>Date: Thu, 17 Dec 2020 10:08:18 GMT<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>Remote-Party-ID: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;party=calling;privacy=off;screen=no<br>Content-Type: application/sdp<br>Content-Length: 885<br><br><br><br>2020/12/17 10:08:18.485063 <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a> -> <a href="http://proxy-a.com:5060" target="_blank">proxy-a.com:5060</a><br>SIP/2.0 100 trying -- your call is important to us<br>Via: SIP/2.0/UDP proxy-a.com:5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1;rport=5060<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>><br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 102 INVITE<br>Server: kamailio (5.3.7 (x86_64/linux))<br>Content-Length: 0<br><br><br>2020/12/17 10:08:18.485576 <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a> -> <a href="http://10.0.14.118:6000" target="_blank">10.0.14.118:6000</a><br>INVITE <a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a> SIP/2.0<br>Record-Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Record-Route: <sip:<a href="http://proxy-a.com" target="_blank">proxy-a.com</a>;lr><br>Via: SIP/2.0/UDP proxy-b.com:5060;branch=z9hG4bKbe6d.619fd995c3fc8764ce5cd9c7be7efeef.0<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>Max-Forwards: 70<br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>><br>Contact: <<a href="http://sip:7654321@did.com:5060" target="_blank">sip:7654321@did.com:5060</a>><br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>User-Agent: ProxyA<br>CSeq: 102 INVITE<br>User-Agent: proxy<br>Date: Thu, 17 Dec 2020 10:08:18 GMT<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>Remote-Party-ID: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;party=calling;privacy=off;screen=no<br>Content-Type: application/sdp<br>Content-Length: 885<br><br><br><br>2020/12/17 10:08:18.622867 <a href="http://10.0.14.118:6000" target="_blank">10.0.14.118:6000</a> -> <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a><br>SIP/2.0 401 Unauthorized<br>Via: SIP/2.0/UDP proxy-b.com:5060;branch=z9hG4bKbe6d.619fd995c3fc8764ce5cd9c7be7efeef.0;received=10.0.14.118;rport=5060<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as4107645c<br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 102 INVITE<br>Server: proxy<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>WWW-Authenticate: Digest algorithm=MD5, realm="<a href="http://sip1.comms.kuflink.com" target="_blank">sip1.comms.kuflink.com</a>", nonce="11139d33"<br>Content-Length: 0<br><br><br><br>2020/12/17 10:08:18.624034 <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a> -> <a href="http://10.0.14.118:6000" target="_blank">10.0.14.118:6000</a><br>ACK <a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a> SIP/2.0<br>Via: SIP/2.0/UDP proxy-b.com:5060;branch=z9hG4bKbe6d.619fd995c3fc8764ce5cd9c7be7efeef.0<br>Max-Forwards: 70<br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as4107645c<br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 102 ACK<br>Content-Length: 0<br><br><br><br>2020/12/17 10:08:18.625557 <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a> -> <a href="http://10.0.14.118:6000" target="_blank">10.0.14.118:6000</a><br>INVITE <a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a> SIP/2.0<br>Record-Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Record-Route: <sip:<a href="http://proxy-a.com" target="_blank">proxy-a.com</a>;lr><br>Via: SIP/2.0/UDP proxy-b.com:5060;branch=z9hG4bKbe6d.619fd995c3fc8764ce5cd9c7be7efeef.1.cs102<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>Max-Forwards: 70<br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>><br>Contact: <<a href="http://sip:7654321@did.com:5060" target="_blank">sip:7654321@did.com:5060</a>><br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>User-Agent: ProxyA<br>CSeq: 103 INVITE<br>User-Agent: proxy<br>Date: Thu, 17 Dec 2020 10:08:18 GMT<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>Remote-Party-ID: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;party=calling;privacy=off;screen=no<br>Content-Type: application/sdp<br>Content-Length: 885<br>Authorization: Digest username="xxxxx", realm="xxxx", nonce="11139d33", uri="<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>", response="qwewqeqwe", algorithm=MD5<br><br><br><br>2020/12/17 10:08:18.779483 <a href="http://10.0.14.118:6000" target="_blank">10.0.14.118:6000</a> -> <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a><br>SIP/2.0 100 Trying<br>Via: SIP/2.0/UDP proxy-b.com:5060;branch=z9hG4bKbe6d.619fd995c3fc8764ce5cd9c7be7efeef.1.cs102;received=10.0.14.118;rport=5060<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>Record-Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Record-Route: <sip:<a href="http://proxy-a.com" target="_blank">proxy-a.com</a>;lr><br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>><br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 103 INVITE<br>Server: proxy<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>Session-Expires: 1800;refresher=uas<br>Contact: <<a href="http://sip:123456@10.0.14.118:6000" target="_blank">sip:123456@10.0.14.118:6000</a>><br>Content-Length: 0<br><br><br><br><br>2020/12/17 10:08:20.937756 <a href="http://10.0.14.118:6000" target="_blank">10.0.14.118:6000</a> -> <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a><br>SIP/2.0 180 Ringing<br>Via: SIP/2.0/UDP proxy-b.com:5060;branch=z9hG4bKbe6d.619fd995c3fc8764ce5cd9c7be7efeef.1.cs102;received=10.0.14.118;rport=5060<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>Record-Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Record-Route: <sip:<a href="http://proxy-a.com" target="_blank">proxy-a.com</a>;lr><br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as147bfa3e<br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 103 INVITE<br>Server: proxy<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>Session-Expires: 1800;refresher=uas<br>Contact: <<a href="http://sip:123456@10.0.14.118:6000" target="_blank">sip:123456@10.0.14.118:6000</a>><br>Content-Length: 0<br><br><br><br>2020/12/17 10:08:20.938593 <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a> -> <a href="http://proxy-a.com:5060" target="_blank">proxy-a.com:5060</a><br>SIP/2.0 180 Ringing<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>Record-Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Record-Route: <sip:<a href="http://proxy-a.com" target="_blank">proxy-a.com</a>;lr><br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as147bfa3e<br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 102 INVITE<br>Server: proxy<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>Session-Expires: 1800;refresher=uas<br>Contact: <sip:123456@10.0.14.118:6000;alias=10.0.14.118~6000~1><br>Content-Length: 0<br><br><br><br>2020/12/17 10:08:22.075814 <a href="http://10.0.14.118:6000" target="_blank">10.0.14.118:6000</a> -> <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a><br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP proxy-b.com:5060;branch=z9hG4bKbe6d.619fd995c3fc8764ce5cd9c7be7efeef.1.cs102;received=10.0.14.118;rport=5060<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>Record-Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Record-Route: <sip:<a href="http://proxy-a.com" target="_blank">proxy-a.com</a>;lr><br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as147bfa3e<br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 103 INVITE<br>Server: proxy<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>Session-Expires: 1800;refresher=uas<br>Contact: <<a href="http://sip:123456@10.0.14.118:6000" target="_blank">sip:123456@10.0.14.118:6000</a>><br>Content-Type: application/sdp<br>Require: timer<br>Content-Length: 296<br><br><br>2020/12/17 10:08:22.077049 <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a> -> <a href="http://proxy-a.com:5060" target="_blank">proxy-a.com:5060</a><br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>Record-Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Record-Route: <sip:<a href="http://proxy-a.com" target="_blank">proxy-a.com</a>;lr><br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as147bfa3e<br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 102 INVITE<br>Server: proxy<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>Session-Expires: 1800;refresher=uas<br>Contact: <sip:123456@10.0.14.118:6000;alias=10.0.14.118~6000~1><br>Content-Type: application/sdp<br>Require: timer<br>Content-Length: 316<br><br><br><br>2020/12/17 10:08:22.103365 <a href="http://proxy-a.com:5060" target="_blank">proxy-a.com:5060</a> -> <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a><br>ACK sip:123456@10.0.14.118:6000;alias=10.0.14.118~6000~1;alias=109.72.216.251~5060~1 SIP/2.0<br>Via: SIP/2.0/UDP proxy-a.com:5060;branch=z9hG4bKbe6d.0fc1940efc770391762d7d67094c24f8.0<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK2a5fae72;rport=5060<br>Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Max-Forwards: 70<br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as147bfa3e<br>Contact: <<a href="http://sip:7654321@did.com:5060" target="_blank">sip:7654321@did.com:5060</a>><br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 102 ACK<br>User-Agent: proxy<br>Content-Length: 0<br><br><br><br>2020/12/17 10:08:22.103877 <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a> -> <a href="http://10.0.14.118:6000" target="_blank">10.0.14.118:6000</a><br>ACK sip:123456@10.0.14.118:6000;alias=109.72.216.251~5060~1 SIP/2.0<br>Via: SIP/2.0/UDP proxy-b.com:5060;branch=z9hG4bKbe6d.79f351d031912aae585207d2f26d5650.0<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.0fc1940efc770391762d7d67094c24f8.0<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK2a5fae72;rport=5060<br>Max-Forwards: 70<br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as147bfa3e<br>Contact: <<a href="http://sip:7654321@did.com:5060" target="_blank">sip:7654321@did.com:5060</a>><br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 102 ACK<br>User-Agent: proxy<br>Content-Length: 0<br>P-K-CSeq-Refresh: 103<br><br><br>2020/12/17 10:08:22.575533 <a href="http://10.0.14.118:6000" target="_blank">10.0.14.118:6000</a> -> <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a><br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP proxy-b.com:5060;branch=z9hG4bKbe6d.619fd995c3fc8764ce5cd9c7be7efeef.1.cs102;received=10.0.14.118;rport=5060<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>Record-Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Record-Route: <sip:<a href="http://proxy-a.com" target="_blank">proxy-a.com</a>;lr><br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as147bfa3e<br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 103 INVITE<br>Server: proxy<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>Session-Expires: 1800;refresher=uas<br>Contact: <<a href="http://sip:123456@10.0.14.118:6000" target="_blank">sip:123456@10.0.14.118:6000</a>><br>Content-Type: application/sdp<br>Require: timer<br>Content-Length: 296<br><br><br><br>2020/12/17 10:08:22.576777 <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a> -> <a href="http://proxy-a.com:5060" target="_blank">proxy-a.com:5060</a><br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>Record-Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Record-Route: <sip:<a href="http://proxy-a.com" target="_blank">proxy-a.com</a>;lr><br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as147bfa3e<br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 102 INVITE<br>Server: proxy<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>Session-Expires: 1800;refresher=uas<br>Contact: <sip:123456@10.0.14.118:6000;alias=10.0.14.118~6000~1><br>Content-Type: application/sdp<br>Require: timer<br>Content-Length: 316<br><br><br><br>2020/12/17 10:08:22.581649 <a href="http://proxy-a.com:5060" target="_blank">proxy-a.com:5060</a> -> <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a><br>ACK sip:123456@10.0.14.118:6000;alias=10.0.14.118~6000~1;alias=109.72.216.251~5060~1 SIP/2.0<br>Via: SIP/2.0/UDP proxy-a.com:5060;branch=z9hG4bKbe6d.b9c7eeccd4cd7b44f05b173308dbaf0a.0<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK219933f6;rport=5060<br>Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Max-Forwards: 70<br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as147bfa3e<br>Contact: <<a href="http://sip:7654321@did.com:5060" target="_blank">sip:7654321@did.com:5060</a>><br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 102 ACK<br>User-Agent: proxy<br>Content-Length: 0<br><br><br><br>2020/12/17 10:08:22.582313 <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a> -> <a href="http://10.0.14.118:6000" target="_blank">10.0.14.118:6000</a><br>ACK sip:123456@10.0.14.118:6000;alias=109.72.216.251~5060~1 SIP/2.0<br>Via: SIP/2.0/UDP proxy-b.com:5060;branch=z9hG4bKbe6d.33626b5695ad4648ba393bc62bed6a8c.0<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.b9c7eeccd4cd7b44f05b173308dbaf0a.0<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK219933f6;rport=5060<br>Max-Forwards: 70<br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as147bfa3e<br>Contact: <<a href="http://sip:7654321@did.com:5060" target="_blank">sip:7654321@did.com:5060</a>><br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 102 ACK<br>User-Agent: proxy<br>Content-Length: 0<br>P-K-CSeq-Refresh: 103<br><br><br>2020/12/17 10:08:23.575828 <a href="http://10.0.14.118:6000" target="_blank">10.0.14.118:6000</a> -> <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a><br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP proxy-b.com:5060;branch=z9hG4bKbe6d.619fd995c3fc8764ce5cd9c7be7efeef.1.cs102;received=10.0.14.118;rport=5060<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>Record-Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Record-Route: <sip:<a href="http://proxy-a.com" target="_blank">proxy-a.com</a>;lr><br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as147bfa3e<br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 103 INVITE<br>Server: proxy<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>Session-Expires: 1800;refresher=uas<br>Contact: <<a href="http://sip:123456@10.0.14.118:6000" target="_blank">sip:123456@10.0.14.118:6000</a>><br>Content-Type: application/sdp<br>Require: timer<br>Content-Length: 296<br><br><br>2020/12/17 10:08:23.577863 <a href="http://10.0.14.118:5060" target="_blank">10.0.14.118:5060</a> -> <a href="http://proxy-a.com:5060" target="_blank">proxy-a.com:5060</a><br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP proxy-a.com:5060;rport=5060;branch=z9hG4bKbe6d.10c4c5f001c66b8976214d4aef9f635c.1<br>Via: SIP/2.0/UDP did.com:5060;received=<a href="http://did.com" target="_blank">did.com</a>;branch=z9hG4bK45f94ed9;rport=5060<br>Record-Route: <sip:<a href="http://proxy-b.com" target="_blank">proxy-b.com</a>;lr;did=d18.7a9><br>Record-Route: <sip:<a href="http://proxy-a.com" target="_blank">proxy-a.com</a>;lr><br>From: "7654321" <<a href="mailto:sip%3A7654321@did.com" target="_blank">sip:7654321@did.com</a>>;tag=as55c522e1<br>To: <<a href="mailto:sip%3A123456@proxy-a.com" target="_blank">sip:123456@proxy-a.com</a>>;tag=as147bfa3e<br>Call-ID: <a href="mailto:67675c7e636d6e773860255316e54779@did.com" target="_blank">67675c7e636d6e773860255316e54779@did.com</a><br>CSeq: 102 INVITE<br>Server: proxy<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>Supported: replaces, timer<br>Session-Expires: 1800;refresher=uas<br>Contact: <sip:123456@10.0.14.118:6000;alias=10.0.14.118~6000~1><br>Content-Type: application/sdp<br>Require: timer<br>Content-Length: 316<br><br><br><br></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>