Код: Выделить всё
PBX*CLI> sip set debug ip 217.174.178.19
SIP Debugging Enabled for IP: 217.174.178.19
-- Registered IAX2 '111' (AUTHENTICATED) at 192.168.23.12:1042
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [84956297219@from-internal:1] Macro("SIP/115-0000002a", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/115-0000002a", "AMPUSER=115") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/115-0000002a", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/115-0000002a", "1?Set(REALCALLERIDNUM=115)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/115-0000002a", "AMPUSER=115") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/115-0000002a", "AMPUSERCIDNAME=115") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/115-0000002a", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/115-0000002a", "AMPUSERCID=115") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/115-0000002a", "CALLERID(all)="115" <115>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/115-0000002a", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/115-0000002a", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/115-0000002a", "CALLERID(number)=115") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/115-0000002a", "CALLERID(name)=115") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/115-0000002a", "Using CallerID "115" <115>") in new stack
-- Executing [84956297219@from-internal:2] NoOp("SIP/115-0000002a", "Calling Out Route: moskva") in new stack
-- Executing [84956297219@from-internal:3] Set("SIP/115-0000002a", "MOHCLASS=default") in new stack
-- Executing [84956297219@from-internal:4] Set("SIP/115-0000002a", "_NODEST=") in new stack
-- Executing [84956297219@from-internal:5] Macro("SIP/115-0000002a", "record-enable,115,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/115-0000002a", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/115-0000002a", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/115-0000002a", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/115-0000002a", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/115-0000002a", "1?MacroExit()") in new stack
-- Executing [84956297219@from-internal:6] Macro("SIP/115-0000002a", "dialout-trunk,2,84956297219,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/115-0000002a", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/115-0000002a", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/115-0000002a", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/115-0000002a", "DIAL_NUMBER=84956297219") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/115-0000002a", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/115-0000002a", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/115-0000002a", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/115-0000002a", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/115-0000002a", "DIAL_TRUNK_OPTIONS=#") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/115-0000002a", "outbound-callerid,2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/115-0000002a", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/115-0000002a", "0?Set(REALCALLERIDNUM=115)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/115-0000002a", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/115-0000002a", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/115-0000002a", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/115-0000002a", "TRUNKOUTCID=0000333333001") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/115-0000002a", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/115-0000002a", "1?Set(CALLERID(all)=0000333333001)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/115-0000002a", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/115-0000002a", "1?Set(CALLERID(all)=0000333333001)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/115-0000002a", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/115-0000002a", "0?sub-flp-2,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/115-0000002a", "OUTNUM=84956297219") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/115-0000002a", "custom=SIP/Moskva_3740888") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/115-0000002a", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)#)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/115-0000002a", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/115-0000002a", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/115-0000002a", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/115-0000002a", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/115-0000002a", "SIP/Moskva_3740888/84956297219,300,#") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Audio is at 18662
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 217.174.178.19:5060:
INVITE sip:84956297219@sip.cardtel.ru:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.27.3:5060;branch=z9hG4bK051732e8;rport
Max-Forwards: 70
From: "0000333333001" <sip:0000333333001@sip.cardtel.ru>;tag=as169eb965
To: <sip:84956297219@sip.cardtel.ru:5060>
Contact: <sip:0000333333001@192.168.27.3:5060>
Call-ID: 744cfd9712c729a85b9525d3731ace4a@sip.cardtel.ru
CSeq: 102 INVITE
User-Agent: XXXIII-PBX
Date: Tue, 31 Mar 2015 18:35:07 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 261
v=0
o=root 1456333460 1456333460 IN IP4 192.168.27.3
s=Asterisk PBX 1.8.20.0
c=IN IP4 192.168.27.3
t=0 0
m=audio 18662 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
-- Called SIP/Moskva_3740888/84956297219
<--- SIP read from UDP:217.174.178.19:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.27.3:5060;branch=z9hG4bK051732e8;received=89.250.18.70;rport=3489
From: "0000333333001" <sip:0000333333001@sip.cardtel.ru>;tag=as169eb965
To: <sip:84956297219@sip.cardtel.ru:5060>;tag=as572e5c09
Call-ID: 744cfd9712c729a85b9525d3731ace4a@sip.cardtel.ru
CSeq: 102 INVITE
Server: Rino_SIP
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="sipreg3crdtl", nonce="611d72dc"
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
Transmitting (NAT) to 217.174.178.19:5060:
ACK sip:84956297219@sip.cardtel.ru:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.27.3:5060;branch=z9hG4bK051732e8;rport
Max-Forwards: 70
From: "0000333333001" <sip:0000333333001@sip.cardtel.ru>;tag=as169eb965
To: <sip:84956297219@sip.cardtel.ru:5060>;tag=as572e5c09
Contact: <sip:0000333333001@192.168.27.3:5060>
Call-ID: 744cfd9712c729a85b9525d3731ace4a@sip.cardtel.ru
CSeq: 102 ACK
User-Agent: XXXIII-PBX
Content-Length: 0
---
-- SIP/Moskva_3740888-0000002b is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)