Daniel, yes! With this patch CSeq increases.
Now We tested it with provider that have kamailio at the remote proxy side.
Today I will test once agin but with other provider, that have not kamailio as proxy.
I will write about results of tests at this list.
And if you remember - I wrote some weeks ago about problem with AT&T provider (whenn called party (provider endpoint) picking up phone - our kamailio sends CANCEL packet. I thought It happen because CSeq not incrased and remote party answers with wrong CSeq... But now CSeq is valid put ussie still lives. (Codecs are ok, It was first guess)
I take sip trace and will set it here (bellow). This trace with valid CSeq and CANCEL from kamailio. If you have some time please look at this.. This trouble happens only with AT&T.IP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 1129E.......@.l....6........q..INVITE sip:98765432100@phone.myprovider.com SIP/2.0Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.0Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Max-Forwards: 70From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857Contact:<sip:12345678@sip.myservice.info:5068>CSeq: 102 INVITEUser-Agent: Asterisk PBX 12.5.0Date: Mon, 03 Nov 2014 20:21:03 GMTAllow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGESupported: replaces, timerContent-Type: application/sdpContent-Length: 314v=0o=root 1363870848 1363870848 IN IP4 68.34.22.11s=Asterisk PBX 12.5.0c=IN IP4 68.34.22.11t=0 0m=audio 30030 RTP/AVP 8 0 3 101a=rtpmap:8 PCMA/8000a=rtpmap:0 PCMU/8000a=rtpmap:3 GSM/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=ptime:20a=maxptime:150a=sendrecva=rtcp:30031IP 34.43.4.23.5060 > 10.0.2.4.5068: UDP, length 651E.......*.Z.6............}.SIP/2.0 407 Proxy Authentication RequiredVia: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.0;received=68.34.22.11Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=04e2a294d0728b89107e081a19babab4.43a7CSeq: 102 INVITEProxy-Authenticate: Digest realm="phone.myprovider.com", nonce="VFfk3VRX47HuWpmSTOv4DPvdulTv2Eeq", qop="auth"Server: kamailio (4.1.2 (x86_64/linux))Content-Length: 0IP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 410E.......@.o....6.........j%ACK sip:98765432100@phone.myprovider.com SIP/2.0Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.0Max-Forwards: 70From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=04e2a294d0728b89107e081a19babab4.43a7CSeq: 102 ACKContent-Length: 0IP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 1402E.......@.k....6..........`INVITE sip:98765432100@phone.myprovider.com SIP/2.0Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.1.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Max-Forwards: 70From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857Contact:<sip:12345678@sip.myservice.info:5068>CSeq: 103 INVITEUser-Agent: Asterisk PBX 12.5.0Date: Mon, 03 Nov 2014 20:21:03 GMTAllow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGESupported: replaces, timerContent-Type: application/sdpContent-Length: 314Proxy-Authorization: Digest username="12345678", realm="phone.myprovider.com", nonce="VFfk3VRX47HuWpmSTOv4DPvdulTv2Eeq", uri="sip:98765432100@phone.myprovider.com", qop=auth, nc=00000001, cnonce="2107612791", response="51db231dedb4a74396447729a192a8d3", algorithm=MD5v=0o=root 1363870848 1363870848 IN IP4 68.34.22.11s=Asterisk PBX 12.5.0c=IN IP4 68.34.22.11t=0 0m=audio 30030 RTP/AVP 8 0 3 101a=rtpmap:8 PCMA/8000a=rtpmap:0 PCMU/8000a=rtpmap:3 GSM/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=ptime:20a=maxptime:150a=sendrecva=rtcp:30031IP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 1402E.......@.k....6.........._INVITE sip:98765432100@phone.myprovider.com SIP/2.0Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.2.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Max-Forwards: 70From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857Contact:<sip:12345678@sip.myservice.info:5068>CSeq: 104 INVITEUser-Agent: Asterisk PBX 12.5.0Date: Mon, 03 Nov 2014 20:21:03 GMTAllow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGESupported: replaces, timerContent-Type: application/sdpContent-Length: 314Proxy-Authorization: Digest username="12345678", realm="phone.myprovider.com", nonce="VFfk3VRX47HuWpmSTOv4DPvdulTv2Eeq", uri="sip:98765432100@phone.myprovider.com", qop=auth, nc=00000001, cnonce="2107612791", response="51db231dedb4a74396447729a192a8d3", algorithm=MD5v=0o=root 1363870848 1363870848 IN IP4 68.34.22.11s=Asterisk PBX 12.5.0c=IN IP4 68.34.22.11t=0 0m=audio 30030 RTP/AVP 8 0 3 101a=rtpmap:8 PCMA/8000a=rtpmap:0 PCMU/8000a=rtpmap:3 GSM/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=ptime:20a=maxptime:150a=sendrecva=rtcp:30031IP 34.43.4.23.5060 > 10.0.2.4.5068: UDP, length 529E..-....*.[.6............xiSIP/2.0 100 trying -- your call is important to usVia: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.2.cs102;rport=1024;received=68.34.22.11Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857CSeq: 104 INVITEServer: kamailio (4.1.2 (x86_64/linux))Content-Length: 0IP 34.43.4.23.5060 > 10.0.2.4.5068: UDP, length 529E..-....*.[.6............xkSIP/2.0 100 trying -- your call is important to usVia: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.1.cs102;rport=1024;received=68.34.22.11Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857CSeq: 103 INVITEServer: kamailio (4.1.2 (x86_64/linux))Content-Length: 0IP 34.43.4.23.5060 > 10.0.2.4.5068: UDP, length 998E.......*.Y16............^.SIP/2.0 180 RingingVia: SIP/2.0/UDP sip.myservice.info:5068;rport=1024;received=68.34.22.11;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.2.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=etQmF8eNZ7NKmCSeq: 104 INVITEContact: <sip:98765432100@98.129.251.83:5060;transport=udp>User-Agent: myproviderAccept: application/sdpAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Length: 0Remote-Party-ID: "98765432100" <sip:98765432100@phone.myprovider.com>;party=calling;privacy=off;screen=noIP 10.0.2.4.5068 > 10.0.1.41.50600: UDP, length 862E..z.Q..@.p......).....f.&SIP/2.0 180 RingingVia: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=etQmF8eNZ7NKmCSeq: 102 INVITEContact: <sip:98765432100@98.129.251.83:5060;transport=udp>User-Agent: myproviderAccept: application/sdpAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Length: 0Remote-Party-ID: "98765432100" <sip:98765432100@phone.myprovider.com>;party=calling;privacy=off;screen=noIP 10.0.1.41.50600 > 10.0.2.4.5068: UDP, length 719E...-...@.2...)...........SIP/2.0 180 RingingVia: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bKfe23.1634293c5fc80fc5bd67bdb34a4f3f1a.0;received=10.0.2.4;rport=5068Via: SIP/2.0/WSS mhk1a1e768j5.invalid;rport=55902;received=85.21.140.253;branch=z9hG4bK4895645Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=d5f4kgk0kj;lr=on>From: "skynet.device-3" <sip:skynet.device-3@sip.myservice.info>;tag=d5f4kgk0kjTo: <sip:98765432100@sip.myservice.info>;tag=as5b947c5cCall-ID: u8399fm4dtpcsjv5mkscCSeq: 1363 INVITEServer: Asterisk PBX 12.5.0Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGESupported: replaces, timerContact: <sip:98765432100@10.0.1.41:50600>Content-Length: 0IP 34.43.4.23.5060 > 10.0.2.4.5068: UDP, length 986E.......*.Y<6..............SIP/2.0 180 RingingVia: SIP/2.0/UDP sip.myservice.info:5068;rport=1024;received=68.34.22.11;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.1.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=UrBQrZp9vSm3pCSeq: 103 INVITEContact: <sip:98765432100@173.203.60.50:5060;transport=udp>User-Agent: myproviderAccept: application/sdpAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Length: 0Remote-Party-ID: "98765432100" <sip:98765432100@phone.myprovider.com>;party=calling;privacy=off;screen=noIP 10.0.2.4.5068 > 10.0.1.41.50600: UDP, length 850E..n.R..@.p......).....Zj.SIP/2.0 180 RingingVia: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=UrBQrZp9vSm3pCSeq: 102 INVITEContact: <sip:98765432100@173.203.60.50:5060;transport=udp>User-Agent: myproviderAccept: application/sdpAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Length: 0Remote-Party-ID: "98765432100" <sip:98765432100@phone.myprovider.com>;party=calling;privacy=off;screen=noIP 34.43.4.23.5060 > 10.0.2.4.5068: UDP, length 1294E..*....*.X.6............:.SIP/2.0 183 Session ProgressVia: SIP/2.0/UDP sip.myservice.info:5068;rport=1024;received=68.34.22.11;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.2.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=etQmF8eNZ7NKmCSeq: 104 INVITEContact: <sip:98765432100@98.129.251.83:5060;transport=udp>User-Agent: myproviderAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 249Remote-Party-ID: "98765432100" <sip:98765432100@phone.myprovider.com>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1415023959 1415023960 IN IP4 98.129.251.83s=FreeSWITCHc=IN IP4 98.129.251.83t=0 0m=audio 22108 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20IP 10.0.2.4.5068 > 10.0.1.41.50600: UDP, length 1184E....S..@.o......)......Z.SIP/2.0 183 Session ProgressVia: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=etQmF8eNZ7NKmCSeq: 102 INVITEContact: <sip:98765432100@98.129.251.83:5060;transport=udp>User-Agent: myproviderAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 275Remote-Party-ID: "98765432100" <sip:98765432100@phone.myprovider.com>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1415023959 1415023960 IN IP4 68.34.22.11s=FreeSWITCHc=IN IP4 68.34.22.11t=0 0m=audio 30040 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20a=sendrecva=rtcp:30041IP 10.0.1.41.50600 > 10.0.2.4.5068: UDP, length 1030E.."-...@.1...).........5~SIP/2.0 183 Session ProgressVia: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bKfe23.1634293c5fc80fc5bd67bdb34a4f3f1a.0;received=10.0.2.4;rport=5068Via: SIP/2.0/WSS mhk1a1e768j5.invalid;rport=55902;received=85.21.140.253;branch=z9hG4bK4895645Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=d5f4kgk0kj;lr=on>From: "skynet.device-3" <sip:skynet.device-3@sip.myservice.info>;tag=d5f4kgk0kjTo: <sip:98765432100@sip.myservice.info>;tag=as5b947c5cCall-ID: u8399fm4dtpcsjv5mkscCSeq: 1363 INVITEServer: Asterisk PBX 12.5.0Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGESupported: replaces, timerContact: <sip:98765432100@10.0.1.41:50600>Content-Type: application/sdpContent-Length: 269v=0o=root 1968867400 1968867400 IN IP4 10.0.1.41s=Asterisk PBX 12.5.0c=IN IP4 10.0.1.41t=0 0m=audio 13996 RTP/AVP 8 0 126a=rtpmap:8 PCMA/8000a=rtpmap:0 PCMU/8000a=rtpmap:126 telephone-event/8000a=fmtp:126 0-16a=ptime:20a=maxptime:150a=sendrecvIP 34.43.4.23.5060 > 10.0.2.4.5068: UDP, length 1282E.......*.X.6.............SIP/2.0 183 Session ProgressVia: SIP/2.0/UDP sip.myservice.info:5068;rport=1024;received=68.34.22.11;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.1.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=UrBQrZp9vSm3pCSeq: 103 INVITEContact: <sip:98765432100@173.203.60.50:5060;transport=udp>User-Agent: myproviderAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 249Remote-Party-ID: "98765432100" <sip:98765432100@phone.myprovider.com>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1415020637 1415020638 IN IP4 173.203.60.50s=FreeSWITCHc=IN IP4 173.203.60.50t=0 0m=audio 25430 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20IP 10.0.2.4.5068 > 10.0.1.41.50600: UDP, length 1172E....U..@.o......)........SIP/2.0 183 Session ProgressVia: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=UrBQrZp9vSm3pCSeq: 102 INVITEContact: <sip:98765432100@173.203.60.50:5060;transport=udp>User-Agent: myproviderAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 275Remote-Party-ID: "98765432100" <sip:98765432100@phone.myprovider.com>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1415020637 1415020638 IN IP4 68.34.22.11s=FreeSWITCHc=IN IP4 68.34.22.11t=0 0m=audio 30058 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20a=sendrecva=rtcp:30059IP 10.0.2.4.5068 > 176.74.218.73.50600: UDP, length 387E.......@.D.....J.I........OPTIONS sip:176.74.218.73:50600 SIP/2.0Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bKfc2f.3a89e451000000000000000000000000.0To: <sip:176.74.218.73:50600>From: <sip:proxy@10.0.2.4>;tag=58e3fe21d19a1a54b2095194d1fd8b5f-165aCSeq: 10 OPTIONSCall-ID: 4e9bbcd8278bd272-13326@10.0.2.4Max-Forwards: 70Content-Length: 0User-Agent: kamailio (4.3.0-dev1 (x86_64/linux))IP 10.0.2.4.5068 > 10.0.1.41.50600: UDP, length 379E.......@.q......)........OPTIONS sip:10.0.1.41:50600 SIP/2.0Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK0d2f.46825c47000000000000000000000000.0To: <sip:10.0.1.41:50600>From: <sip:proxy@10.0.2.4>;tag=58e3fe21d19a1a54b2095194d1fd8b5f-17b2CSeq: 10 OPTIONSCall-ID: 4e9bbcd8278bd273-13326@10.0.2.4Max-Forwards: 70Content-Length: 0User-Agent: kamailio (4.3.0-dev1 (x86_64/linux))IP 10.0.1.41.50600 > 10.0.2.4.5068: UDP, length 515E...-...@.3...).........|SSIP/2.0 404 Not FoundVia: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK0d2f.46825c47000000000000000000000000.0;received=10.0.2.4;rport=5068From: <sip:proxy@10.0.2.4>;tag=58e3fe21d19a1a54b2095194d1fd8b5f-17b2To: <sip:10.0.1.41:50600>;tag=as7b23cb12Call-ID: 4e9bbcd8278bd273-13326@10.0.2.4CSeq: 10 OPTIONSServer: Asterisk PBX 12.5.0Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGESupported: replaces, timerAccept: application/sdpContent-Length: 0IP 176.74.218.73.50600 > 10.0.2.4.5068: UDP, length 596E..p.>..3.,..J.I........\.-SIP/2.0 401 UnauthorizedVia: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bKfc2f.3a89e451000000000000000000000000.0;received=68.34.22.11;rport=1024From: <sip:proxy@10.0.2.4>;tag=58e3fe21d19a1a54b2095194d1fd8b5f-165aTo: <sip:176.74.218.73:50600>;tag=as26ab300cCall-ID: 4e9bbcd8278bd272-13326@10.0.2.4CSeq: 10 OPTIONSServer: Asterisk PBX 12.6.1Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGESupported: replaces, timerWWW-Authenticate: Digest algorithm=MD5, realm="newasterisk.dev.webinar.ru", nonce="2a3b4448"Content-Length: 0IP 34.43.4.23.5060 > 10.0.2.4.5068: UDP, length 1428E.......*.W.6............H.SIP/2.0 200 OKVia: SIP/2.0/UDP sip.myservice.info:5068;rport=1024;received=68.34.22.11;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.2.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=etQmF8eNZ7NKmCSeq: 104 INVITEContact: <sip:98765432100@98.129.251.83:5060;transport=udp>User-Agent: myproviderAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 249X-myproviderOutboundGateway: sip:+98765432100@67.231.8.195X-myproviderOutboundCarrierID: 29927192767592X-myproviderCarrierRate: 0.00900X-myproviderCloudRate: 0.00300Remote-Party-ID: "Outbound Call" <sip:5060@phone.myprovider.com>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1415023959 1415023960 IN IP4 98.129.251.83s=FreeSWITCHc=IN IP4 98.129.251.83t=0 0m=audio 22108 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20IP 10.0.2.4.5068 > 10.0.1.41.50600: UDP, length 1318E..B.>..@.m0.....)......i}SIP/2.0 200 OKVia: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=etQmF8eNZ7NKmCSeq: 102 INVITEContact: <sip:98765432100@98.129.251.83:5060;transport=udp>User-Agent: myproviderAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 275X-myproviderOutboundGateway: sip:+98765432100@67.231.8.195X-myproviderOutboundCarrierID: 29927192767592X-myproviderCarrierRate: 0.00900X-myproviderCloudRate: 0.00300Remote-Party-ID: "Outbound Call" <sip:5060@phone.myprovider.com>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1415023959 1415023960 IN IP4 68.34.22.11s=FreeSWITCHc=IN IP4 68.34.22.11t=0 0m=audio 30040 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20a=sendrecva=rtcp:30041IP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 412E.......@.o....6.........j.CANCEL sip:98765432100@phone.myprovider.com SIP/2.0Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.1.cs102Max-Forwards: 70From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857CSeq: 105 CANCELContent-Length: 0Reason: SIP;cause=200IP 10.0.1.41.50600 > 10.0.2.4.5068: UDP, length 580E..`-...@.3s..)........L..ACK sip:98765432100@98.129.251.83:5060;transport=udp SIP/2.0Via: SIP/2.0/UDP 10.0.1.41:50600;branch=z9hG4bK010bb317;rportRoute: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>,<sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Max-Forwards: 70From: "John Connor" <sip:skynet.device-3@10.0.1.41:50600>;tag=as288f6857To: <sip:98765432100@ints.myservice.info:5068>;tag=etQmF8eNZ7NKmContact: <sip:skynet.device-3@10.0.1.41:50600>CSeq: 102 ACKUser-Agent: Asterisk PBX 12.5.0Content-Length: 0IP 10.0.1.41.50600 > 10.0.2.4.5068: UDP, length 1016E...-...@.1...).........,rSIP/2.0 200 OKVia: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bKfe23.1634293c5fc80fc5bd67bdb34a4f3f1a.0;received=10.0.2.4;rport=5068Via: SIP/2.0/WSS mhk1a1e768j5.invalid;rport=55902;received=85.21.140.253;branch=z9hG4bK4895645Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=d5f4kgk0kj;lr=on>From: "skynet.device-3" <sip:skynet.device-3@sip.myservice.info>;tag=d5f4kgk0kjTo: <sip:98765432100@sip.myservice.info>;tag=as5b947c5cCall-ID: u8399fm4dtpcsjv5mkscCSeq: 1363 INVITEServer: Asterisk PBX 12.5.0Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGESupported: replaces, timerContact: <sip:98765432100@10.0.1.41:50600>Content-Type: application/sdpContent-Length: 269v=0o=root 1968867400 1968867400 IN IP4 10.0.1.41s=Asterisk PBX 12.5.0c=IN IP4 10.0.1.41t=0 0m=audio 13996 RTP/AVP 8 0 126a=rtpmap:8 PCMA/8000a=rtpmap:0 PCMU/8000a=rtpmap:126 telephone-event/8000a=fmtp:126 0-16a=ptime:20a=maxptime:150a=sendrecvIP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 647E.......@.n....6...........ACK sip:98765432100@98.129.251.83:5060;transport=udp SIP/2.0Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.0ec383b6dc8fbb1861dfe644f92ee9ca.0.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK010bb317;rport=50600Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Max-Forwards: 70From: "John Connor" <sip:skynet.device-3@10.0.1.41:50600>;tag=as288f6857To: <sip:98765432100@ints.myservice.info:5068>;tag=etQmF8eNZ7NKmContact: <sip:skynet.device-3@10.0.1.41:50600>CSeq: 105 ACKUser-Agent: Asterisk PBX 12.5.0Content-Length: 0IP 10.0.2.4.5068 > 10.0.1.41.50600: UDP, length 564E..P.[..@.p......).....<..ACK sip:98765432100@10.0.1.41:50600 SIP/2.0Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bKfe23.6c9ecb93d17682ab8c63a2cbf9b0bafa.0Via: SIP/2.0/WSS mhk1a1e768j5.invalid;rport=55902;received=85.21.140.253;branch=z9hG4bK4225613Max-Forwards: 69To: <sip:98765432100@sip.myservice.info>;tag=as5b947c5cFrom: "skynet.device-3" <sip:skynet.device-3@sip.myservice.info>;tag=d5f4kgk0kjCall-ID: u8399fm4dtpcsjv5mkscCSeq: 1363 ACKAllow: ACK,CANCEL,BYE,OPTIONS,UPDATE,INVITE,MESSAGESupported: outboundUser-Agent: undefined 0.4.2Content-Length: 0IP 34.43.4.23.5060 > 10.0.2.4.5068: UDP, length 1428E.......*.W~6............H.SIP/2.0 200 OKVia: SIP/2.0/UDP sip.myservice.info:5068;rport=1024;received=68.34.22.11;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.2.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=etQmF8eNZ7NKmCSeq: 104 INVITEContact: <sip:98765432100@98.129.251.83:5060;transport=udp>User-Agent: myproviderAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 249X-myproviderOutboundGateway: sip:+98765432100@67.231.8.195X-myproviderOutboundCarrierID: 29927192767592X-myproviderCarrierRate: 0.00900X-myproviderCloudRate: 0.00300Remote-Party-ID: "Outbound Call" <sip:5060@phone.myprovider.com>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1415023959 1415023960 IN IP4 98.129.251.83s=FreeSWITCHc=IN IP4 98.129.251.83t=0 0m=audio 22108 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20IP 10.0.2.4.5068 > 10.0.1.41.50600: UDP, length 1318E..B.b..@.m......)......i}SIP/2.0 200 OKVia: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=etQmF8eNZ7NKmCSeq: 102 INVITEContact: <sip:98765432100@98.129.251.83:5060;transport=udp>User-Agent: myproviderAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 275X-myproviderOutboundGateway: sip:+98765432100@67.231.8.195X-myproviderOutboundCarrierID: 29927192767592X-myproviderCarrierRate: 0.00900X-myproviderCloudRate: 0.00300Remote-Party-ID: "Outbound Call" <sip:5060@phone.myprovider.com>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1415023959 1415023960 IN IP4 68.34.22.11s=FreeSWITCHc=IN IP4 68.34.22.11t=0 0m=audio 30040 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20a=sendrecva=rtcp:30041IP 10.0.1.41.50600 > 10.0.2.4.5068: UDP, length 580E..`-...@.3p..)........L..ACK sip:98765432100@98.129.251.83:5060;transport=udp SIP/2.0Via: SIP/2.0/UDP 10.0.1.41:50600;branch=z9hG4bK1f95579c;rportRoute: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>,<sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Max-Forwards: 70From: "John Connor" <sip:skynet.device-3@10.0.1.41:50600>;tag=as288f6857To: <sip:98765432100@ints.myservice.info:5068>;tag=etQmF8eNZ7NKmContact: <sip:skynet.device-3@10.0.1.41:50600>CSeq: 102 ACKUser-Agent: Asterisk PBX 12.5.0Content-Length: 0IP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 647E.......@.n....6..........jACK sip:98765432100@98.129.251.83:5060;transport=udp SIP/2.0Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.6a1e71bf5fcd88f137733279fa31770c.0.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK1f95579c;rport=50600Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Max-Forwards: 70From: "John Connor" <sip:skynet.device-3@10.0.1.41:50600>;tag=as288f6857To: <sip:98765432100@ints.myservice.info:5068>;tag=etQmF8eNZ7NKmContact: <sip:skynet.device-3@10.0.1.41:50600>CSeq: 105 ACKUser-Agent: Asterisk PBX 12.5.0Content-Length: 0IP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 406E.......@.o....6.........?xCANCEL sip:98765432100@phone.myprovider.com SIP/2.0Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.1Max-Forwards: 70From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857CSeq: 102 CANCELContent-Length: 0Reason: SIP;cause=200IP 34.43.4.23.5060 > 10.0.2.4.5068: UDP, length 246E.......*.\.6..............OPTIONS sip:68.34.22.11:1024 SIP/2.0Via: SIP/2.0/UDP 10.202.129.254:5060;branch=0From: sip:keepalive@myprovider.com;tag=29ebf5dTo: sip:68.34.22.11:1024CSeq: 1 OPTIONSContent-Length: 0IP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 330E..f....@.p....6........R.<SIP/2.0 405 Method not allowedVia: SIP/2.0/UDP 10.202.129.254:5060;branch=0;rport=5060;received=34.43.4.23From: sip:keepalive@myprovider.com;tag=29ebf5dTo: sip:68.34.22.11:1024;tag=c6894543322e2a4942d921e4298ce904.1ec7CSeq: 1 OPTIONSServer: MS LyncContent-Length: 0IP 34.43.4.23.5060 > 10.0.2.4.5068: UDP, length 1428E.......*.W|6............H.SIP/2.0 200 OKVia: SIP/2.0/UDP sip.myservice.info:5068;rport=1024;received=68.34.22.11;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.2.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=etQmF8eNZ7NKmCSeq: 104 INVITEContact: <sip:98765432100@98.129.251.83:5060;transport=udp>User-Agent: myproviderAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 249X-myproviderOutboundGateway: sip:+98765432100@67.231.8.195X-myproviderOutboundCarrierID: 29927192767592X-myproviderCarrierRate: 0.00900X-myproviderCloudRate: 0.00300Remote-Party-ID: "Outbound Call" <sip:5060@phone.myprovider.com>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1415023959 1415023960 IN IP4 98.129.251.83s=FreeSWITCHc=IN IP4 98.129.251.83t=0 0m=audio 22108 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20IP 10.0.2.4.5068 > 10.0.1.41.50600: UDP, length 1318E..B....@.l......)......i}SIP/2.0 200 OKVia: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=etQmF8eNZ7NKmCSeq: 102 INVITEContact: <sip:98765432100@98.129.251.83:5060;transport=udp>User-Agent: myproviderAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 275X-myproviderOutboundGateway: sip:+98765432100@67.231.8.195X-myproviderOutboundCarrierID: 29927192767592X-myproviderCarrierRate: 0.00900X-myproviderCloudRate: 0.00300Remote-Party-ID: "Outbound Call" <sip:5060@phone.myprovider.com>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1415023959 1415023960 IN IP4 68.34.22.11s=FreeSWITCHc=IN IP4 68.34.22.11t=0 0m=audio 30040 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20a=sendrecva=rtcp:30041IP 10.0.1.41.50600 > 10.0.2.4.5068: UDP, length 580E..`-...@.3o..)........L}.ACK sip:98765432100@98.129.251.83:5060;transport=udp SIP/2.0Via: SIP/2.0/UDP 10.0.1.41:50600;branch=z9hG4bK5e2d222b;rportRoute: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>,<sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Max-Forwards: 70From: "John Connor" <sip:skynet.device-3@10.0.1.41:50600>;tag=as288f6857To: <sip:98765432100@ints.myservice.info:5068>;tag=etQmF8eNZ7NKmContact: <sip:skynet.device-3@10.0.1.41:50600>CSeq: 102 ACKUser-Agent: Asterisk PBX 12.5.0Content-Length: 0IP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 647E.......@.n....6..........eACK sip:98765432100@98.129.251.83:5060;transport=udp SIP/2.0Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.47488c128d3518b837410e363acc963e.0.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK5e2d222b;rport=50600Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Max-Forwards: 70From: "John Connor" <sip:skynet.device-3@10.0.1.41:50600>;tag=as288f6857To: <sip:98765432100@ints.myservice.info:5068>;tag=etQmF8eNZ7NKmContact: <sip:skynet.device-3@10.0.1.41:50600>CSeq: 105 ACKUser-Agent: Asterisk PBX 12.5.0Content-Length: 0IP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 406E.......@.o....6.........?xCANCEL sip:98765432100@phone.myprovider.com SIP/2.0Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.1Max-Forwards: 70From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857CSeq: 102 CANCELContent-Length: 0Reason: SIP;cause=200IP 34.43.4.23.5060 > 10.0.2.4.5068: UDP, length 1428E.......*.W{6............H.SIP/2.0 200 OKVia: SIP/2.0/UDP sip.myservice.info:5068;rport=1024;received=68.34.22.11;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.2.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=etQmF8eNZ7NKmCSeq: 104 INVITEContact: <sip:98765432100@98.129.251.83:5060;transport=udp>User-Agent: myproviderAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 249X-myproviderOutboundGateway: sip:+98765432100@67.231.8.195X-myproviderOutboundCarrierID: 29927192767592X-myproviderCarrierRate: 0.00900X-myproviderCloudRate: 0.00300Remote-Party-ID: "Outbound Call" <sip:5060@phone.myprovider.com>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1415023959 1415023960 IN IP4 98.129.251.83s=FreeSWITCHc=IN IP4 98.129.251.83t=0 0m=audio 22108 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20IP 10.0.2.4.5068 > 10.0.1.41.50600: UDP, length 1318E..B....@.k......)......i}SIP/2.0 200 OKVia: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK7d9dfadc;rport=50600Record-Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Record-Route: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857To: <sip:98765432100@phone.myprovider.com>;tag=etQmF8eNZ7NKmCSeq: 102 INVITEContact: <sip:98765432100@98.129.251.83:5060;transport=udp>User-Agent: myproviderAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, conference, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 275X-myproviderOutboundGateway: sip:+98765432100@67.231.8.195X-myproviderOutboundCarrierID: 29927192767592X-myproviderCarrierRate: 0.00900X-myproviderCloudRate: 0.00300Remote-Party-ID: "Outbound Call" <sip:5060@phone.myprovider.com>;party=calling;privacy=off;screen=nov=0o=FreeSWITCH 1415023959 1415023960 IN IP4 68.34.22.11s=FreeSWITCHc=IN IP4 68.34.22.11t=0 0m=audio 30040 RTP/AVP 0 101a=rtpmap:0 PCMU/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=silenceSupp:off - - - -a=ptime:20a=sendrecva=rtcp:30041IP 10.0.1.41.50600 > 10.0.2.4.5068: UDP, length 580E..`-...@.3n..)........L..ACK sip:98765432100@98.129.251.83:5060;transport=udp SIP/2.0Via: SIP/2.0/UDP 10.0.1.41:50600;branch=z9hG4bK6081ac89;rportRoute: <sip:sip.myservice.info:5068;nat=yes;ftag=as288f6857;lr=on>,<sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Max-Forwards: 70From: "John Connor" <sip:skynet.device-3@10.0.1.41:50600>;tag=as288f6857To: <sip:98765432100@ints.myservice.info:5068>;tag=etQmF8eNZ7NKmContact: <sip:skynet.device-3@10.0.1.41:50600>CSeq: 102 ACKUser-Agent: Asterisk PBX 12.5.0Content-Length: 0IP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 647E.......@.n....6..........;ACK sip:98765432100@98.129.251.83:5060;transport=udp SIP/2.0Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.00885667802b30315ce7f8b5db31e2bd.0.cs102Via: SIP/2.0/UDP 10.0.1.41:50600;received=10.0.1.41;branch=z9hG4bK6081ac89;rport=50600Route: <sip:34.43.4.23;lr=on;ftag=as288f6857;did=229.d4f>Max-Forwards: 70From: "John Connor" <sip:skynet.device-3@10.0.1.41:50600>;tag=as288f6857To: <sip:98765432100@ints.myservice.info:5068>;tag=etQmF8eNZ7NKmContact: <sip:skynet.device-3@10.0.1.41:50600>CSeq: 105 ACKUser-Agent: Asterisk PBX 12.5.0Content-Length: 0IP 10.0.2.4.5068 > 34.43.4.23.5060: UDP, length 406E.......@.o....6.........?xCANCEL sip:98765432100@phone.myprovider.com SIP/2.0Via: SIP/2.0/UDP sip.myservice.info:5068;branch=z9hG4bK3f75.164056a067d4ce9fa68c2c2d3bd734b6.1Max-Forwards: 70From: "John Connor" <sip:12345678@phone.myprovider.com>;tag=as288f6857CSeq: 102 CANCELContent-Length: 0Reason: SIP;cause=2002014-11-03 21:42 GMT+04:00 Daniel-Constantin Mierla <miconda@gmail.com>:Module: sip-router
Branch: master
Commit: 952227ef749da464c7990fa7f056764daf4bda0d
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=952227ef749da464c7990fa7f056764daf4bda0d
Author: Daniel-Constantin Mierla <miconda@gmail.com>
Committer: Daniel-Constantin Mierla <miconda@gmail.com>
Date: Mon Nov 3 18:41:01 2014 +0100
uac: use transaction to propagate uac_auth() flag
- needed by dialog to increase the cseq
- local request is no longer accessible at forwarding callback
---
modules/uac/auth.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/modules/uac/auth.c b/modules/uac/auth.c
index 1717cc7..3bdee90 100644
--- a/modules/uac/auth.c
+++ b/modules/uac/auth.c
@@ -469,8 +469,10 @@ int uac_auth( struct sip_msg *msg)
goto error;
}
- /* mark msg wit uac auth for increase of cseq via dialog */
- msg->msg_flags |= FL_UAC_AUTH;
+ /* mark request in T with uac auth for increase of cseq via dialog
+ * - this function is executed in failure route, msg_flags will be
+ * reset afterwards by tm fake env */
+ if(t->uas.request) t->uas.request->msg_flags |= FL_UAC_AUTH;
return 0;
error:
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev