Debug text from asterisk 13.4 (new) for sip 9997 (when I making outbound call) - NOT WORKING
<— SIP read from UDP:10.30.1.137:5060 —>
INVITE sip:79165157443@9997;user=phone SIP/2.0
Via: SIP/2.0/UDP 10.30.1.137:5060;branch=z9hG4bK20756267642246915542
From: 9997 sip:9997@9997;tag=1943821779
To: “79165157443” sip:79165157443@9997;user=phone
Call-ID: 1515125555042-3396856724625@10.30.1.137
CSeq: 1 INVITE
Contact: sip:9997@10.30.1.137:5060
Max-Forwards: 70
Supported: replaces, join, path
User-Agent: Fanvil C62 2.3.498.267
P-Early-Media: supported
Allow-Events: talk
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER, NOTIFY, INFO, PRACK, UPDATE, MESSAGE
Content-Type: application/sdp
Content-Length: 261
v=0
o=9997 638732438 199567457 IN IP4 10.30.1.137
s=A conversation
c=IN IP4 10.30.1.137
t=0 0
m=audio 10330 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
<------------->
— (15 headers 12 lines) —
Sending to 10.30.1.137:5060 (no NAT)
Sending to 10.30.1.137:5060 (no NAT)
Using INVITE request as basis request - 1515125555042-3396856724625@10.30.1.137
Found peer ‘9997’ for ‘9997’ from 10.30.1.137:5060
<— Reliably Transmitting (no NAT) to 10.30.1.137:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.30.1.137:5060;branch=z9hG4bK20756267642246915542;received=10.30.1.137
From: 9997 sip:9997@9997;tag=1943821779
To: “79165157443” sip:79165157443@9997;user=phone;tag=as7577e0ca
Call-ID: 1515125555042-3396856724625@10.30.1.137
CSeq: 1 INVITE
Server: Asterisk PBX 13.4.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="5118ddff"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘1515125555042-3396856724625@10.30.1.137’ in 6400 ms (Method: INVITE)
<— SIP read from UDP:10.30.1.137:5060 —>
ACK sip:79165157443@9997;user=phone SIP/2.0
Via: SIP/2.0/UDP 10.30.1.137:5060;branch=z9hG4bK20756267642246915542
From: 9997 sip:9997@9997;tag=1943821779
To: “79165157443” sip:79165157443@9997;user=phone;tag=as7577e0ca
Call-ID: 1515125555042-3396856724625@10.30.1.137
CSeq: 1 ACK
Contact: sip:9997@10.30.1.137:5060
Max-Forwards: 70
Content-Length: 0
<------------->
— (9 headers 0 lines) —
<— SIP read from UDP:10.30.1.137:5060 —>
INVITE sip:79165157443@9997;user=phone SIP/2.0
Via: SIP/2.0/UDP 10.30.1.137:5060;branch=z9hG4bK13120176511639020328
From: 9997 sip:9997@9997;tag=1943821779
To: “79165157443” sip:79165157443@9997;user=phone
Call-ID: 1515125555042-3396856724625@10.30.1.137
CSeq: 2 INVITE
Contact: sip:9997@10.30.1.137:5060
Authorization: Digest username=“9997”, realm=“asterisk”, nonce=“5118ddff”, uri=“sip:79165157443@9997;user=phone”, response=“158d2588aac4493f612b26c00614df28”, algorithm=MD5
Max-Forwards: 70
Supported: replaces, join, path
User-Agent: Fanvil C62 2.3.498.267
P-Early-Media: supported
Allow-Events: talk
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER, NOTIFY, INFO, PRACK, UPDATE, MESSAGE
Content-Type: application/sdp
Content-Length: 261
v=0
o=9997 638732438 199567457 IN IP4 10.30.1.137
s=A conversation
c=IN IP4 10.30.1.137
t=0 0
m=audio 10330 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
<------------->
— (16 headers 12 lines) —
Sending to 10.30.1.137:5060 (no NAT)
Using INVITE request as basis request - 1515125555042-3396856724625@10.30.1.137
Found peer ‘9997’ for ‘9997’ from 10.30.1.137:5060
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Found RTP audio format 8
Found RTP audio format 18
Found RTP audio format 101
Found audio description format PCMA for ID 8
Found audio description format G729 for ID 18
Found audio description format telephone-event for ID 101
Capabilities: us - (g729|alaw), peer - audio=(alaw|g729)/video=(nothing)/text=(nothing), combined - (g729|alaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 10.30.1.137:10330
Looking for 79165157443 in msk-test-out (domain 9997)
sip_route_dump: route/path hop: sip:9997@10.30.1.137:5060
<— Transmitting (no NAT) to 10.30.1.137:5060 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.30.1.137:5060;branch=z9hG4bK13120176511639020328;received=10.30.1.137
From: 9997 sip:9997@9997;tag=1943821779
To: “79165157443” sip:79165157443@9997;user=phone
Call-ID: 1515125555042-3396856724625@10.30.1.137
CSeq: 2 INVITE
Server: Asterisk PBX 13.4.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: sip:79165157443@192.168.0.121:5060
Content-Length: 0
<------------>
– Executing [79165157443@msk-test-out:1] NoOp(“SIP/9997-00000012”, “outgoint call!”) in new stack
– Executing [79165157443@msk-test-out:2] Dial(“SIP/9997-00000012”, “SIP/79165157443@150511”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/79165157443@150511
[Sep 14 13:40:06] NOTICE[14403][C-0000000a]: chan_sip.c:23283 handle_response_invite: Failed to authenticate on INVITE to ‘“Mans Phone 2 Right” sip:9997@sip.zadarma.com;tag=as3bde6014’
– SIP/150511-00000013 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
– Auto fallthrough, channel ‘SIP/9997-00000012’ status is ‘CONGESTION’
<— Reliably Transmitting (no NAT) to 10.30.1.137:5060 —>
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP 10.30.1.137:5060;branch=z9hG4bK13120176511639020328;received=10.30.1.137
From: 9997 sip:9997@9997;tag=1943821779
To: “79165157443” sip:79165157443@9997;user=phone;tag=as25ea52cb
Call-ID: 1515125555042-3396856724625@10.30.1.137
CSeq: 2 INVITE
Server: Asterisk PBX 13.4.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
X-Asterisk-HangupCause: Call Rejected
X-Asterisk-HangupCauseCode: 21
Content-Length: 0
<------------>
<— SIP read from UDP:10.30.1.137:5060 —>
ACK sip:79165157443@9997;user=phone SIP/2.0
Via: SIP/2.0/UDP 10.30.1.137:5060;branch=z9hG4bK13120176511639020328
From: 9997 sip:9997@9997;tag=1943821779
To: “79165157443” sip:79165157443@9997;user=phone;tag=as25ea52cb
Call-ID: 1515125555042-3396856724625@10.30.1.137
CSeq: 2 ACK
Contact: sip:9997@10.30.1.137:5060
Max-Forwards: 70
Content-Length: 0
<------------->
— (9 headers 0 lines) —
Really destroying SIP dialog ‘1515125555042-3396856724625@10.30.1.137’ Method: ACK[/details]
[details=Debug text from asterisk 11.6 (old) - EVERYTING OK]<— SIP read from UDP:10.30.1.143:5060 —>
INVITE sip:79165157443@10.30.1.141;user=phone SIP/2.0
Via: SIP/2.0/UDP 10.30.1.143:5060;branch=z9hG4bK1863526357288857172
From: 9995 sip:9995@10.30.1.141;tag=2042624222
To: “79165157443” sip:79165157443@10.30.1.141;user=phone
Call-ID: 21314320024181-192819468981@10.30.1.143
CSeq: 1 INVITE
Contact: sip:9995@10.30.1.143:5060
Max-Forwards: 70
Supported: replaces, join, path
User-Agent: Fanvil C62 2.3.752.385
P-Early-Media: supported
Allow-Events: talk
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER, NOTIFY, INFO, PRACK, UPDATE, MESSAGE
Content-Type: application/sdp
Content-Length: 262
v=0
o=9995 1818128517 279479643 IN IP4 10.30.1.143
s=A conversation
c=IN IP4 10.30.1.143
t=0 0
m=audio 10048 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
<------------->
— (15 headers 12 lines) —
Sending to 10.30.1.143:5060 (no NAT)
Sending to 10.30.1.143:5060 (no NAT)
Using INVITE request as basis request - 21314320024181-192819468981@10.30.1.143
Found peer ‘9995’ for ‘9995’ from 10.30.1.143:5060
<— Reliably Transmitting (no NAT) to 10.30.1.143:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.30.1.143:5060;branch=z9hG4bK1863526357288857172;received=10.30.1.143
From: 9995 sip:9995@10.30.1.141;tag=2042624222
To: “79165157443” sip:79165157443@10.30.1.141;user=phone;tag=as2995b89a
Call-ID: 21314320024181-192819468981@10.30.1.143
CSeq: 1 INVITE
Server: Asterisk PBX 11.6-cert2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="32f5cd44"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘21314320024181-192819468981@10.30.1.143’ in 6400 ms (Method: INVITE)
<— SIP read from UDP:10.30.1.143:5060 —>
ACK sip:79165157443@10.30.1.141;user=phone SIP/2.0
Via: SIP/2.0/UDP 10.30.1.143:5060;branch=z9hG4bK1863526357288857172
From: 9995 sip:9995@10.30.1.141;tag=2042624222
To: “79165157443” sip:79165157443@10.30.1.141;user=phone;tag=as2995b89a
Call-ID: 21314320024181-192819468981@10.30.1.143
CSeq: 1 ACK
Contact: sip:9995@10.30.1.143:5060
Max-Forwards: 70
Content-Length: 0
<------------->
— (9 headers 0 lines) —
<— SIP read from UDP:10.30.1.143:5060 —>
INVITE sip:79165157443@10.30.1.141;user=phone SIP/2.0
Via: SIP/2.0/UDP 10.30.1.143:5060;branch=z9hG4bK2866916640229912295
From: 9995 sip:9995@10.30.1.141;tag=2042624222
To: “79165157443” sip:79165157443@10.30.1.141;user=phone
Call-ID: 21314320024181-192819468981@10.30.1.143
CSeq: 2 INVITE
Contact: sip:9995@10.30.1.143:5060
Authorization: Digest username=“9995”, realm=“asterisk”, nonce=“32f5cd44”, uri="sip:79165157443@10.30.1.141;user=phone", response=“84250c92826070f7ce9e359fd4eba7f9”, algorithm=MD5
Max-Forwards: 70
Supported: replaces, join, path
User-Agent: Fanvil C62 2.3.752.385
P-Early-Media: supported
Allow-Events: talk
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER, NOTIFY, INFO, PRACK, UPDATE, MESSAGE
Content-Type: application/sdp
Content-Length: 262
v=0
o=9995 1818128517 279479643 IN IP4 10.30.1.143
s=A conversation
c=IN IP4 10.30.1.143
t=0 0
m=audio 10048 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
<------------->
— (16 headers 12 lines) —
Sending to 10.30.1.143:5060 (no NAT)
Using INVITE request as basis request - 21314320024181-192819468981@10.30.1.143
Found peer ‘9995’ for ‘9995’ from 10.30.1.143:5060
Found RTP audio format 8
Found RTP audio format 18
Found RTP audio format 101
Found audio description format PCMA for ID 8
Found audio description format G729 for ID 18
Found audio description format telephone-event for ID 101
Capabilities: us - (alaw|g729), peer - audio=(alaw|g729)/video=(nothing)/text=(nothing), combined - (alaw|g729)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 10.30.1.143:10048
Looking for 79165157443 in msk-test-out (domain 10.30.1.141)
list_route: hop: sip:9995@10.30.1.143:5060
<— Transmitting (no NAT) to 10.30.1.143:5060 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.30.1.143:5060;branch=z9hG4bK2866916640229912295;received=10.30.1.143
From: 9995 sip:9995@10.30.1.141;tag=2042624222
To: “79165157443” sip:79165157443@10.30.1.141;user=phone
Call-ID: 21314320024181-192819468981@10.30.1.143
CSeq: 2 INVITE
Server: Asterisk PBX 11.6-cert2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:79165157443@10.30.1.141:5060
Content-Length: 0
<------------>
<— SIP read from UDP:10.30.1.143:5060 —>
CANCEL sip:79165157443@10.30.1.141;user=phone SIP/2.0
Via: SIP/2.0/UDP 10.30.1.143:5060;branch=z9hG4bK2866916640229912295
From: 9995 sip:9995@10.30.1.141;tag=2042624222
To: “79165157443” sip:79165157443@10.30.1.141;user=phone
Call-ID: 21314320024181-192819468981@10.30.1.143
CSeq: 2 CANCEL
Max-Forwards: 70
User-Agent: Fanvil C62 2.3.752.385
Content-Length: 0
<------------->
— (9 headers 0 lines) —
Sending to 10.30.1.143:5060 (no NAT)
<— Reliably Transmitting (no NAT) to 10.30.1.143:5060 —>
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 10.30.1.143:5060;branch=z9hG4bK2866916640229912295;received=10.30.1.143
From: 9995 sip:9995@10.30.1.141;tag=2042624222
To: “79165157443” sip:79165157443@10.30.1.141;user=phone;tag=as0265afe8
Call-ID: 21314320024181-192819468981@10.30.1.143
CSeq: 2 INVITE
Server: Asterisk PBX 11.6-cert2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
<— Transmitting (no NAT) to 10.30.1.143:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.30.1.143:5060;branch=z9hG4bK2866916640229912295;received=10.30.1.143
From: 9995 sip:9995@10.30.1.141;tag=2042624222
To: “79165157443” sip:79165157443@10.30.1.141;user=phone;tag=as0265afe8
Call-ID: 21314320024181-192819468981@10.30.1.143
CSeq: 2 CANCEL
Server: Asterisk PBX 11.6-cert2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
<— SIP read from UDP:10.30.1.143:5060 —>
ACK sip:79165157443@10.30.1.141;user=phone SIP/2.0
Via: SIP/2.0/UDP 10.30.1.143:5060;branch=z9hG4bK2866916640229912295
From: 9995 sip:9995@10.30.1.141;tag=2042624222
To: “79165157443” sip:79165157443@10.30.1.141;user=phone;tag=as0265afe8
Call-ID: 21314320024181-192819468981@10.30.1.143
CSeq: 2 ACK
Max-Forwards: 70
Content-Length: 0
<------------->
— (8 headers 0 lines) —
Really destroying SIP dialog ‘21314320024181-192819468981@10.30.1.143’ Method: ACK
Both asterisks have same configs.