[ug](!)
type = peer
host = 10.1.0.194
disallow = all
allow=alaw
nat = no
dtmfmode = rfc2833
insecure=yes
context=from-ug
fromdomain=10.40.4.217
[ug-318501](ug)
context=from-318501
secret=xxxxx
fromuser = 318501
sip set debug ip 10.1.0.194
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
*CLI>
== Using SIP RTP CoS mark 5
-- Executing [318014@context_aup_out:1] Dial("SIP/112-000011f7", "sip/ug-318501/xxxx318014,30,Tt") in new stack
== Using SIP RTP CoS mark 5
Audio is at 11382
Adding codec 100004 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 10.1.0.194:5060:
INVITE sip:3467318014@10.1.0.194 SIP/2.0
Via: SIP/2.0/UDP 192.168.3.6:5060;branch=z9hG4bK00c4fd09
Max-Forwards: 70
From: "Вася Пупкин" <sip:318501@10.40.4.217>;tag=as3a999361
To: <sip:3467318014@10.1.0.194>
Contact: <sip:318501@192.168.3.6:5060>
Call-ID: 4641b9970087c4051cbfc7da01642f95@10.40.4.217
CSeq: 102 INVITE
User-Agent: xxxxx
Date: Tue, 26 Feb 2013 06:39:47 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 231
v=0
o=root 658686049 658686049 IN IP4 192.168.3.6
s=Asterisk PBX 11.2.1
c=IN IP4 192.168.3.6
t=0 0
m=audio 11382 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
-- Called sip/ug-318501/xxxx318014
<--- SIP read from UDP:10.1.0.194:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.3.6:5060;branch=z9hG4bK00c4fd09
To: <sip:3467318014@10.1.0.194>
From: "Вася Пупкин"<sip:318501@10.40.4.217>;tag=as3a999361
Call-ID: 4641b9970087c4051cbfc7da01642f95@10.40.4.217
CSeq: 102 INVITE
User-Agent: ZTE-SBC
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:10.1.0.194:5060 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.3.6:5060;branch=z9hG4bK00c4fd09
To: <sip:xxxx318014@10.1.0.194>;tag=a010049-21178
From: "Вася Пупкин"<sip:318501@10.40.4.217>;tag=as3a999361
Call-ID: 4641b9970087c4051cbfc7da01642f95@10.40.4.217
CSeq: 102 INVITE
Proxy-Authenticate: Digest realm="zte", nonce="7d6be451738c8d4e1f5f7e68e8eb8954", ZTE-ID=437ae7e9198fc772b7d80a3102019afa
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Transmitting (no NAT) to 10.1.0.194:5060:
ACK sip:xxxx318014@10.1.0.194 SIP/2.0
Via: SIP/2.0/UDP 192.168.3.6:5060;branch=z9hG4bK00c4fd09
Max-Forwards: 70
From: "Вася Пупкин" <sip:318501@10.40.4.217>;tag=as3a999361
To: <sip:xxxx318014@10.1.0.194>;tag=a010049-21178
Contact: <sip:318501@192.168.3.6:5060>
Call-ID: 4641b9970087c4051cbfc7da01642f95@10.40.4.217
CSeq: 102 ACK
User-Agent: xxxxx
Content-Length: 0
---
[Feb 26 12:39:47] NOTICE[21383][C-00000e40]: chan_sip.c:22705 handle_response_invite: Failed to authenticate on INVITE to '"Вася Пупкин" <sip:318501@10.40.4.217>;tag=as3a999361'
-- SIP/ug-318501-000011f8 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
== Using SIP RTP CoS mark 5
-- Executing [318014@context_aup_out:1] Dial("SIP/112-000011f7", "sip/ug-318501/xxxx318014,30,Tt") in new stack
== Using SIP RTP CoS mark 5
Audio is at 11382
Adding codec 100004 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 10.1.0.194:5060:
INVITE sip:3467318014@10.1.0.194 SIP/2.0
Via: SIP/2.0/UDP 192.168.3.6:5060;branch=z9hG4bK00c4fd09
Max-Forwards: 70
From: "Вася Пупкин" <sip:318501@10.40.4.217>;tag=as3a999361
To: <sip:3467318014@10.1.0.194>
Contact: <sip:318501@192.168.3.6:5060>
Call-ID: 4641b9970087c4051cbfc7da01642f95@10.40.4.217
CSeq: 102 INVITE
User-Agent: xxxxx
Date: Tue, 26 Feb 2013 06:39:47 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 231
v=0
o=root 658686049 658686049 IN IP4 192.168.3.6
s=Asterisk PBX 11.2.1
c=IN IP4 192.168.3.6
t=0 0
m=audio 11382 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
-- Called sip/ug-318501/xxxx318014
<--- SIP read from UDP:10.1.0.194:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.3.6:5060;branch=z9hG4bK00c4fd09
To: <sip:3467318014@10.1.0.194>
From: "Вася Пупкин"<sip:318501@10.40.4.217>;tag=as3a999361
Call-ID: 4641b9970087c4051cbfc7da01642f95@10.40.4.217
CSeq: 102 INVITE
User-Agent: ZTE-SBC
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:10.1.0.194:5060 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.3.6:5060;branch=z9hG4bK00c4fd09
To: <sip:xxxx318014@10.1.0.194>;tag=a010049-21178
From: "Вася Пупкин"<sip:318501@10.40.4.217>;tag=as3a999361
Call-ID: 4641b9970087c4051cbfc7da01642f95@10.40.4.217
CSeq: 102 INVITE
Proxy-Authenticate: Digest realm="zte", nonce="7d6be451738c8d4e1f5f7e68e8eb8954", ZTE-ID=437ae7e9198fc772b7d80a3102019afa
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Transmitting (no NAT) to 10.1.0.194:5060:
ACK sip:xxxx318014@10.1.0.194 SIP/2.0
Via: SIP/2.0/UDP 192.168.3.6:5060;branch=z9hG4bK00c4fd09
Max-Forwards: 70
From: "Вася Пупкин" <sip:318501@10.40.4.217>;tag=as3a999361
To: <sip:xxxx318014@10.1.0.194>;tag=a010049-21178
Contact: <sip:318501@192.168.3.6:5060>
Call-ID: 4641b9970087c4051cbfc7da01642f95@10.40.4.217
CSeq: 102 ACK
User-Agent: xxxxx
Content-Length: 0
---
[Feb 26 12:39:47] NOTICE[21383][C-00000e40]: chan_sip.c:22705 handle_response_invite: Failed to authenticate on INVITE to '"Вася Пупкин" <sip:318501@10.40.4.217>;tag=as3a999361'
-- SIP/ug-318501-000011f8 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
PS. Несущественный вопрос. Почему в поле From появляется какой то "Вася Пупкин" когда явно задан параметр fromuser = 318501 ?