Код: Выделить всё
srvsip*CLI> sip set debug ip 192.168.0.43
SIP Debugging Enabled for IP: 192.168.0.43
<--- SIP read from UDP:192.168.0.43:64340 --->
<------------->
<--- SIP read from UDP:192.168.0.43:9060 --->
INVITE sip:322932@192.168.0.15:9060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.43:9060;branch=z9hG4bK80c98b3a794de611af7e8f106727578c;rport
From: "PhonerLite" <sip:902@192.168.0.15>;tag=1547552469
To: <sip:322932@192.168.0.15:9060>
Call-ID: 80C98B3A-794D-E611-AF7D-8F106727578C@192.168.0.43
CSeq: 61 INVITE
Contact: <sip:902@192.168.0.43:9060>
Content-Type: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE
Max-Forwards: 70
Supported: 100rel, replaces, from-change
P-Early-Media: supported
User-Agent: SIPPER for PhonerLite
P-Preferred-Identity: <sip:902@192.168.0.15>
Content-Length: 198
v=0
o=- 322698508 1 IN IP4 192.168.0.43
s=SIPPER for PhonerLite
c=IN IP4 192.168.0.43
t=0 0
m=audio 9062 RTP/AVP 8 0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=ssrc:2608104286
a=sendrecv
<------------->
--- (15 headers 10 lines) ---
Sending to 192.168.0.43:9060 (NAT)
Sending to 192.168.0.43:9060 (NAT)
Using INVITE request as basis request - 80C98B3A-794D-E611-AF7D-8F106727578C@192.168.0.43
Found peer '902' for '902' from 192.168.0.43:9060
<--- Reliably Transmitting (no NAT) to 192.168.0.43:9060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.43:9060;branch=z9hG4bK80c98b3a794de611af7e8f106727578c;received=192.168.0.43;rport=9060
From: "PhonerLite" <sip:902@192.168.0.15>;tag=1547552469
To: <sip:322932@192.168.0.15:9060>;tag=as2b328be6
Call-ID: 80C98B3A-794D-E611-AF7D-8F106727578C@192.168.0.43
CSeq: 61 INVITE
Server: Asterisk PBX 13.6.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="41dd8307"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '80C98B3A-794D-E611-AF7D-8F106727578C@192.168.0.43' in 32000 ms (Method: INVITE)
<--- SIP read from UDP:192.168.0.43:9060 --->
ACK sip:322932@192.168.0.15:9060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.43:9060;branch=z9hG4bK80c98b3a794de611af7e8f106727578c;rport
From: "PhonerLite" <sip:902@192.168.0.15>;tag=1547552469
To: <sip:322932@192.168.0.15:9060>;tag=as2b328be6
Call-ID: 80C98B3A-794D-E611-AF7D-8F106727578C@192.168.0.43
CSeq: 61 ACK
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
<--- SIP read from UDP:192.168.0.43:9060 --->
INVITE sip:322932@192.168.0.15:9060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.43:9060;branch=z9hG4bK80c98b3a794de611af7f8f106727578c;rport
From: "PhonerLite" <sip:902@192.168.0.15>;tag=1547552469
To: <sip:322932@192.168.0.15:9060>
Call-ID: 80C98B3A-794D-E611-AF7D-8F106727578C@192.168.0.43
CSeq: 62 INVITE
Contact: <sip:902@192.168.0.43:9060>
Authorization: Digest username="902", realm="asterisk", nonce="41dd8307", uri="sip:322932@192.168.0.15:9060", response="179e2b1e20e48f17b625d6b9f602cacc", algorithm=MD5
Content-Type: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, INFO, MESSAGE, NOTIFY, OPTIONS, REFER, UPDATE
Max-Forwards: 70
Supported: 100rel, replaces, from-change
P-Early-Media: supported
User-Agent: SIPPER for PhonerLite
P-Preferred-Identity: <sip:902@192.168.0.15>
Content-Length: 198
v=0
o=- 322698508 1 IN IP4 192.168.0.43
s=SIPPER for PhonerLite
c=IN IP4 192.168.0.43
t=0 0
m=audio 9062 RTP/AVP 8 0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=ssrc:2608104286
a=sendrecv
<------------->
--- (16 headers 10 lines) ---
Sending to 192.168.0.43:9060 (no NAT)
Using INVITE request as basis request - 80C98B3A-794D-E611-AF7D-8F106727578C@192.168.0.43
Found peer '902' for '902' from 192.168.0.43:9060
== Using SIP RTP CoS mark 5
Found RTP audio format 8
Found RTP audio format 0
Found audio description format PCMA for ID 8
Found audio description format PCMU for ID 0
Capabilities: us - (alaw|ulaw), peer - audio=(ulaw|alaw)/video=(nothing)/text=(nothing), combined - (alaw|ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x0 (nothing), combined - 0x0 (nothing)
Peer audio RTP is at port 192.168.0.43:9062
Looking for 322932 in test (domain 192.168.0.15)
sip_route_dump: route/path hop: <sip:902@192.168.0.43:9060>
<--- Transmitting (no NAT) to 192.168.0.43:9060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.43:9060;branch=z9hG4bK80c98b3a794de611af7f8f106727578c;received=192.168.0.43;rport=9060
From: "PhonerLite" <sip:902@192.168.0.15>;tag=1547552469
To: <sip:322932@192.168.0.15:9060>
Call-ID: 80C98B3A-794D-E611-AF7D-8F106727578C@192.168.0.43
CSeq: 62 INVITE
Server: Asterisk PBX 13.6.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:322932@192.168.0.15:9060>
Content-Length: 0
<------------>
-- Executing [322932@test:1] NoOp("SIP/902-000001d4", "") in new stack
-- Executing [322932@test:2] Dial("SIP/902-000001d4", "SIP/u-tel/322932") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/u-tel/322932
[b]-- No one is available to answer at this time (1:0/0/0)[/b]
-- Auto fallthrough, channel 'SIP/902-000001d4' status is 'NOANSWER'
Scheduling destruction of SIP dialog '80C98B3A-794D-E611-AF7D-8F106727578C@192.168.0.43' in 32000 ms (Method: INVITE)
<--- Reliably Transmitting (no NAT) to 192.168.0.43:9060 --->
SIP/2.0 603 Declined
Via: SIP/2.0/UDP 192.168.0.43:9060;branch=z9hG4bK80c98b3a794de611af7f8f106727578c;received=192.168.0.43;rport=9060
From: "PhonerLite" <sip:902@192.168.0.15>;tag=1547552469
To: <sip:322932@192.168.0.15:9060>;tag=as5c031a7c
Call-ID: 80C98B3A-794D-E611-AF7D-8F106727578C@192.168.0.43
CSeq: 62 INVITE
Server: Asterisk PBX 13.6.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------>
<--- SIP read from UDP:192.168.0.43:9060 --->
ACK sip:322932@192.168.0.15:9060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.43:9060;branch=z9hG4bK80c98b3a794de611af7f8f106727578c;rport
From: "PhonerLite" <sip:902@192.168.0.15>;tag=1547552469
To: <sip:322932@192.168.0.15:9060>;tag=as5c031a7c
Call-ID: 80C98B3A-794D-E611-AF7D-8F106727578C@192.168.0.43
CSeq: 62 ACK
Authorization: Digest username="902", realm="asterisk", nonce="41dd8307", uri="sip:322932@192.168.0.15:9060", response="179e2b1e20e48f17b625d6b9f602cacc", algorithm=MD5
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:192.168.0.43:9060 --->
ACK sip:322932@192.168.0.15:9060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.43:9060;branch=z9hG4bK80c98b3a794de611af7f8f106727578c;rport
From: "PhonerLite" <sip:902@192.168.0.15>;tag=1547552469
To: <sip:322932@192.168.0.15:9060>;tag=as5c031a7c
Call-ID: 80C98B3A-794D-E611-AF7D-8F106727578C@192.168.0.43
CSeq: 62 ACK
Authorization: Digest username="902", realm="asterisk", nonce="41dd8307", uri="sip:322932@192.168.0.15:9060", response="179e2b1e20e48f17b625d6b9f602cacc", algorithm=MD5
Content-Length: 0