Re: SIP<->SIP
В том то и дело, что клиенты зарегистрированы...
*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
vt1/VT1 x.x.x.190 D 5060 Unmonitored
vt/vt x.x.x.187 D 5060 Unmonitored
2 sip peers [2 online , 0 offline]
А sip debug вот что говорит:
<-- SIP read from x.x.x.187:5060:
INVITE sip:VT1@x.x.x.188 SIP/2.0
To: <sip:VT1@x.x.x.188>
From: "guest"<sip:guest@x.x.x.188>;tag=a2345233
Via: SIP/2.0/UDP x.x.x.187:5060;branch=z9hG4bK-d87543-b72e612e81400a74-1--d87543-;rport
Call-ID: a953a82649469d54@dnQtaG9tZQ..
CSeq: 1 INVITE
Contact: <sip:vt@x.x.x.187:5060>
Max-Forwards: 70
Content-Type: application/sdp
User-Agent: Firefly
Content-Length: 344
v=0
o=guest 0 0 IN IP4 x.x.x.187
s=
c=IN IP4 x.x.x.187
t=0 0
m=audio 5000 RTP/AVP 97 110 3 18 0 8 101
a=rtpmap:97 iLBC/8000/1/8000
a=rtpmap:110 SPEEX/8000/1/8000
a=rtpmap:3 GSM/8000/1/8000
a=rtpmap:18 G729/8000/1/8000
a=rtpmap:0 PCMU/8000/1/8000
a=rtpmap:8 PCMA/8000/1/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
--- (11 headers 14 lines)---
Using INVITE request as basis request - a953a82649469d54@dnQtaG9tZQ..
Sending to x.x.x.187 : 5060 (non-NAT)
Found peer 'vt'
Reliably Transmitting (no NAT) to x.x.x.187:5060:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP x.x.x.187:5060;branch=z9hG4bK-d87543-b72e612e81400a74-1--d87543-;rport;received=x.x.x.187
From: "guest"<sip:guest@x.x.x.188>;tag=a2345233
To: <sip:VT1@x.x.x.188>;tag=as66838cba
Call-ID: a953a82649469d54@dnQtaG9tZQ..
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:VT1@x.x.x.188>
Proxy-Authenticate: Digest realm="asterisk", nonce="38e6b161"
Content-Length: 0
---
Scheduling destruction of call 'a953a82649469d54@dnQtaG9tZQ..' in 15000 ms
<-- SIP read from x.x.x.187:5060:
ACK sip:VT1@x.x.x.188 SIP/2.0
To: <sip:VT1@x.x.x.188>;tag=as66838cba
From: "guest"<sip:guest@x.x.x.188>;tag=a2345233
Via: SIP/2.0/UDP x.x.x.187:5060;branch=z9hG4bK-d87543-b72e612e81400a74-1--d87543-;rport
Call-ID: a953a82649469d54@dnQtaG9tZQ..
CSeq: 1 ACK
Content-Length: 0
--- (7 headers 0 lines)---
<-- SIP read from x.x.x.187:5060:
INVITE sip:VT1@x.x.x.188 SIP/2.0
To: <sip:VT1@x.x.x.188>;tag=as66838cba
From: "guest"<sip:guest@x.x.x.188>;tag=a2345233
Via: SIP/2.0/UDP x.x.x.187:5060;branch=z9hG4bK-d87543-33063b771f258272-1--d87543-;rport
Call-ID: a953a82649469d54@dnQtaG9tZQ..
CSeq: 2 INVITE
Contact: <sip:vt@x.x.x.187:5060>
Max-Forwards: 70
Content-Type: application/sdp
Proxy-Authorization: Digest username="guest",realm="asterisk",nonce="38e6b161",uri="sip:VT1@x.x.x.188",response="b33f72a8284f220e05c697abb3cbe718",algorithm=MD5
User-Agent: Firefly
Content-Length: 344
v=0
o=guest 0 0 IN IP4 x.x.x.187
s=
c=IN IP4 x.x.x.187
t=0 0
m=audio 5000 RTP/AVP 97 110 3 18 0 8 101
a=rtpmap:97 iLBC/8000/1/8000
a=rtpmap:110 SPEEX/8000/1/8000
a=rtpmap:3 GSM/8000/1/8000
a=rtpmap:18 G729/8000/1/8000
a=rtpmap:0 PCMU/8000/1/8000
a=rtpmap:8 PCMA/8000/1/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
--- (12 headers 14 lines)---
Using INVITE request as basis request - a953a82649469d54@dnQtaG9tZQ..
Sending to x.x.x.187 : 5060 (non-NAT)
Found peer 'vt'
Nov 22 09:39:15 NOTICE[9635]: chan_sip.c:10270 handle_request_invite: Failed to authenticate user "guest"<sip:guest@x.x.x.188>;tag=a2345233
Reliably Transmitting (no NAT) to x.x.x.187:5060:
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP x.x.x.187:5060;branch=z9hG4bK-d87543-33063b771f258272-1--d87543-;rport;received=x.x.x.187
From: "guest"<sip:guest@x.x.x.188>;tag=a2345233
To: <sip:VT1@x.x.x.188>;tag=as66838cba
Call-ID: a953a82649469d54@dnQtaG9tZQ..
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Max-Forwards: 70
Contact: <sip:VT1@x.x.x.188>
Content-Length: 0
---
<-- SIP read from x.x.x.187:5060:
ACK sip:VT1@x.x.x.188 SIP/2.0
To: <sip:VT1@x.x.x.188>;tag=as66838cba
From: "guest"<sip:guest@x.x.x.188>;tag=a2345233
Via: SIP/2.0/UDP x.x.x.187:5060;branch=z9hG4bK-d87543-33063b771f258272-1--d87543-;rport
Call-ID: a953a82649469d54@dnQtaG9tZQ..
CSeq: 2 ACK
Content-Length: 0
--- (7 headers 0 lines)---
Destroying call 'a953a82649469d54@dnQtaG9tZQ..'
<-- SIP read from x.x.x.187:5060:
ACK sip:VT1@x.x.x.188 SIP/2.0
To: <sip:VT1@x.x.x.188>;tag=as66838cba
From: "guest"<sip:guest@x.x.x.188>;tag=a2345233
Via: SIP/2.0/UDP
x.x.x.187:5060;branch=z9hG4bK-d87543-b13bce393e51854c-1--d87543-;rport
Call-ID: a953a82649469d54@dnQtaG9tZQ..
CSeq: 2 ACK
Contact: <sip:vt@x.x.x.187:5060>
Max-Forwards: 70
Proxy-Authorization: Digest username="guest",realm="asterisk",nonce="38e6b161",uri="sip:VT1@x.x.x.188",response="b33f72a8284f220e05c697abb3cbe718",algorithm=MD5
User-Agent: Firefly
Content-Length: 0
--- (11 headers 0 lines)---
Destroying call 'a953a82649469d54@dnQtaG9tZQ..'
|