[peer_name]
type=peer
host=ip_шлюза
port=5060
transport=udp
insecure=port,invite
что там у вас? CLI> sip set debug ip 192.168.1.12
SIP Debugging Enabled for IP: 192.168.1.12
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [08888@from-internal:1] Set("SIP/06666-00000006", "__RINGTIMER=40") in new stack
-- Executing [08888@from-internal:2] Macro("SIP/06666-00000006", "exten-vm,novm,08888,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/06666-00000006", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/06666-00000006", "TOUCH_MONITOR=1471687804.30") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/06666-00000006", "AMPUSER=06666") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/06666-00000006", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/06666-00000006", "1?Set(REALCALLERIDNUM=06666)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/06666-00000006", "AMPUSER=06666") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/06666-00000006", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/06666-00000006", "AMPUSERCIDNAME=softfon") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/06666-00000006", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/06666-00000006", "AMPUSERCID=06666") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/06666-00000006", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/06666-00000006", "CALLERID(all)="softfon" <06666>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/06666-00000006", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/06666-00000006", "0?Set(GROUP(concurrency_limit)=06666)") in new stack
-- Executing [s@macro-user-callerid:14] GosubIf("SIP/06666-00000006", "7?sub-ccss,s,1(macro-exten-vm,08888)") in new stack
-- Executing [s@sub-ccss:1] ExecIf("SIP/06666-00000006", "0?Return()") in new stack
-- Executing [s@sub-ccss:2] Set("SIP/06666-00000006", "CCSS_SETUP=TRUE") in new stack
-- Executing [s@sub-ccss:3] GosubIf("SIP/06666-00000006", "0?monitor_config,1(macro-exten-vm,08888):monitor_default,1(macro-exten-vm,08888)") in new stack
-- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/06666-00000006", "1?is_exten") in new stack
-- Goto (sub-ccss,monitor_default,4)
-- Executing [monitor_default@sub-ccss:4] Set("SIP/06666-00000006", "CALLCOMPLETION(cc_monitor_policy)=generic") in new stack
-- Executing [monitor_default@sub-ccss:5] Set("SIP/06666-00000006", "CALLCOMPLETION(cc_max_monitors)=3") in new stack
-- Executing [monitor_default@sub-ccss:6] Return("SIP/06666-00000006", "TRUE") in new stack
-- Executing [s@sub-ccss:4] GosubIf("SIP/06666-00000006", "7?agent_config,1():agent_default,1()") in new stack
-- Executing [agent_config@sub-ccss:1] Set("SIP/06666-00000006", "CALLCOMPLETION(cc_agent_policy)=generic") in new stack
-- Executing [agent_config@sub-ccss:2] Set("SIP/06666-00000006", "CALLCOMPLETION(cc_offer_timer)=60") in new stack
-- Executing [agent_config@sub-ccss:3] Set("SIP/06666-00000006", "CALLCOMPLETION(ccbs_available_timer)=") in new stack
-- Executing [agent_config@sub-ccss:4] Set("SIP/06666-00000006", "CALLCOMPLETION(ccnr_available_timer)=") in new stack
-- Executing [agent_config@sub-ccss:5] Set("SIP/06666-00000006", "CALLCOMPLETION(cc_callback_macro)=ccss-default") in new stack
[2016-08-20 10:10:04] WARNING[21495][C-00000003]: ccss.c:1012 ast_set_cc_callback_macro: Usage of cc_callback_macro is deprecated. Please use cc_callback_sub instead.
-- Executing [agent_config@sub-ccss:6] ExecIf("SIP/06666-00000006", "1?Set(CALLCOMPLETION(cc_recall_timer)=)") in new stack
-- Executing [agent_config@sub-ccss:7] ExecIf("SIP/06666-00000006", "1?Set(CALLCOMPLETION(cc_max_agents)=)") in new stack
-- Executing [agent_config@sub-ccss:8] ExecIf("SIP/06666-00000006", "0?Set(CALLCOMPLETION(cc_agent_dialstring)=Local/06666_08888@from-ccss-)") in new stack
-- Executing [agent_config@sub-ccss:9] Set("SIP/06666-00000006", "CALLCOMPLETION(cc_callback_macro)=ccss-default") in new stack
[2016-08-20 10:10:04] WARNING[21495][C-00000003]: ccss.c:1012 ast_set_cc_callback_macro: Usage of cc_callback_macro is deprecated. Please use cc_callback_sub instead.
-- Executing [agent_config@sub-ccss:10] Return("SIP/06666-00000006", "") in new stack
-- Executing [s@sub-ccss:5] Set("SIP/06666-00000006", "DB(AMPUSER/06666/ccss/last_number)=08888") in new stack
-- Executing [s@sub-ccss:6] Return("SIP/06666-00000006", "") in new stack
-- Executing [s@macro-user-callerid:15] ExecIf("SIP/06666-00000006", "1?Set(CHANNEL(language)=ru)") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/06666-00000006", "0?continue") in new stack
-- Executing [s@macro-user-callerid:17] Set("SIP/06666-00000006", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:18] GotoIf("SIP/06666-00000006", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("SIP/06666-00000006", "CALLERID(number)=06666") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/06666-00000006", "CALLERID(name)=softfon") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/06666-00000006", "CDR(cnum)=06666") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/06666-00000006", "CDR(cnam)=softfon") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/06666-00000006", "CHANNEL(language)=ru") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/06666-00000006", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/06666-00000006", "__EXTTOCALL=08888") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/06666-00000006", "__PICKUPMARK=08888") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/06666-00000006", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] ExecIf("SIP/06666-00000006", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
-- Executing [s@macro-exten-vm:7] ExecIf("SIP/06666-00000006", "0?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:8] Gosub("SIP/06666-00000006", "sub-record-check,s,1(exten,08888,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/06666-00000006", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/06666-00000006", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/06666-00000006", "NOW=1471687804") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/06666-00000006", "__DAY=20") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/06666-00000006", "__MONTH=08") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/06666-00000006", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/06666-00000006", "__TIMESTR=20160820-101004") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/06666-00000006", "__FROMEXTEN=06666") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/06666-00000006", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/06666-00000006", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/06666-00000006", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/06666-00000006", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/06666-00000006", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/06666-00000006", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("SIP/06666-00000006", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] NoOp("SIP/06666-00000006", "Exten Recording Check between 06666 and 08888") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/06666-00000006", "CALLTYPE=internal") in new stack
-- Executing [exten@sub-record-check:3] ExecIf("SIP/06666-00000006", "0?Set(CALLTYPE=)") in new stack
-- Executing [exten@sub-record-check:4] Set("SIP/06666-00000006", "CALLEE=dontcare") in new stack
-- Executing [exten@sub-record-check:5] ExecIf("SIP/06666-00000006", "0?Set(CALLEE=dontcare)") in new stack
-- Executing [exten@sub-record-check:6] GotoIf("SIP/06666-00000006", "0?callee") in new stack
-- Executing [exten@sub-record-check:7] GotoIf("SIP/06666-00000006", "1?caller") in new stack
-- Goto (sub-record-check,exten,13)
-- Executing [exten@sub-record-check:13] Set("SIP/06666-00000006", "RECMODE=dontcare") in new stack
-- Executing [exten@sub-record-check:14] ExecIf("SIP/06666-00000006", "0?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:15] ExecIf("SIP/06666-00000006", "1?Set(RECMODE=dontcare)") in new stack
-- Executing [exten@sub-record-check:16] Gosub("SIP/06666-00000006", "recordcheck,1(dontcare,internal,08888)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("SIP/06666-00000006", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("SIP/06666-00000006", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("SIP/06666-00000006", "") in new stack
-- Executing [exten@sub-record-check:17] Return("SIP/06666-00000006", "") in new stack
-- Executing [s@macro-exten-vm:9] GotoIf("SIP/06666-00000006", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,15)
-- Executing [s@macro-exten-vm:15] GosubIf("SIP/06666-00000006", "0?clrheader,1()") in new stack
-- Executing [s@macro-exten-vm:16] Macro("SIP/06666-00000006", "dial-one,,Ttr,08888") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/06666-00000006", "DEXTEN=08888") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/06666-00000006", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/06666-00000006", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/06666-00000006", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/06666-00000006", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/06666-00000006", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/06666-00000006", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/06666-00000006", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/06666-00000006", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("SIP/06666-00000006", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("SIP/06666-00000006", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("SIP/06666-00000006", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/06666-00000006", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/06666-00000006", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/06666-00000006", "DEVICES=08888") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/06666-00000006", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/06666-00000006", "0?Set(DEVICES=8888)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/06666-00000006", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/06666-00000006", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/06666-00000006", "THISDIAL=SIP/08888") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/06666-00000006", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/06666-00000006", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/06666-00000006", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/06666-00000006", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/06666-00000006", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/06666-00000006", "THISPART2=SIP/08888") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/06666-00000006", "0?Set(THISPART2=DAHDI/08888)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/06666-00000006", "NEWDIAL=SIP/08888&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/06666-00000006", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/06666-00000006", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/06666-00000006", "THISDIAL=SIP/08888") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/06666-00000006", "") in new stack
-- Executing [dstring@macro-dial-one:9] GotoIf("SIP/06666-00000006", "1?doset") in new stack
-- Goto (macro-dial-one,dstring,13)
-- Executing [dstring@macro-dial-one:13] Set("SIP/06666-00000006", "DSTRING=SIP/08888&") in new stack
-- Executing [dstring@macro-dial-one:14] Set("SIP/06666-00000006", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:15] GotoIf("SIP/06666-00000006", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:16] ExecIf("SIP/06666-00000006", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:17] Set("SIP/06666-00000006", "DSTRING=SIP/08888") in new stack
-- Executing [dstring@macro-dial-one:18] Return("SIP/06666-00000006", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/06666-00000006", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/06666-00000006", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/06666-00000006", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/06666-00000006", "DB(CALLTRACE/08888)=06666") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/06666-00000006", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/06666-00000006", "D_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/06666-00000006", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/06666-00000006", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/06666-00000006", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/06666-00000006", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/06666-00000006", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/06666-00000006", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/06666-00000006", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/06666-00000006", "0?godial") in new stack
-- Executing [s@macro-dial-one:39] Gosub("SIP/06666-00000006", "sub-presencestate-display,s,1(08888)") in new stack
-- Executing [s@sub-presencestate-display:1] Goto("SIP/06666-00000006", "state-not_set,1") in new stack
-- Goto (sub-presencestate-display,state-not_set,1)
-- Executing [state-not_set@sub-presencestate-display:1] Set("SIP/06666-00000006", "PRESENCESTATE_DISPLAY=") in new stack
-- Executing [state-not_set@sub-presencestate-display:2] Return("SIP/06666-00000006", "") in new stack
-- Executing [s@macro-dial-one:40] Set("SIP/06666-00000006", "CONNECTEDLINE(name,i)=voip") in new stack
-- Executing [s@macro-dial-one:41] Set("SIP/06666-00000006", "CONNECTEDLINE(num)=08888") in new stack
-- Executing [s@macro-dial-one:42] Set("SIP/06666-00000006", "D_OPTIONS=TtrI") in new stack
-- Executing [s@macro-dial-one:43] Macro("SIP/06666-00000006", "dialout-one-predial-hook,") in new stack
-- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("SIP/06666-00000006", "") in new stack
-- Executing [s@macro-dial-one:44] ExecIf("SIP/06666-00000006", "0?Set(D_OPTIONS=trII)") in new stack
-- Executing [s@macro-dial-one:45] Dial("SIP/06666-00000006", "SIP/08888,,TtrI") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Audio is at 13004
Adding codec ulaw to SDP
Adding codec alaw to SDP
Adding codec gsm to SDP
Adding codec g726 to SDP
Adding codec g722 to SDP
Adding codec g729 to SDP
Adding codec g723 to SDP
Adding codec adpcm to SDP
Adding codec lpc10 to SDP
Adding codec slin to SDP
Adding codec speex to SDP
Adding codec speex16 to SDP
Adding codec ilbc to SDP
Adding codec g726aal2 to SDP
Adding codec slin16 to SDP
Adding codec siren7 to SDP
Adding codec siren14 to SDP
Adding codec testlaw to SDP
Adding codec g719 to SDP
Adding codec speex32 to SDP
Adding codec slin12 to SDP
Adding codec slin24 to SDP
Adding codec slin32 to SDP
Adding codec slin44 to SDP
Adding codec slin48 to SDP
Adding codec slin96 to SDP
Adding codec slin192 to SDP
Adding codec opus to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 192.168.1.12:5060:
INVITE sip:192.168.1.12:5060 SIP/2.0
Via: SIP/2.0/TCP 192.168.0.10:5060;branch=z9hG4bK5ecfcef1
Max-Forwards: 70
From: "softfon" <sip:06666@192.168.0.10>;tag=as0a84de28
To: <sip:192.168.1.12:5060>
Contact: <sip:06666@192.168.0.10:5060;transport=TCP>
Call-ID: 3b1f69724e406271135d1ff57028fc17@192.168.0.10:5060
CSeq: 102 INVITE
User-Agent: FPBX-12.0.76.4(13.7.2)
Date: Sat, 20 Aug 2016 10:10:04 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 917
v=0
o=root 107604777 107604777 IN IP4 192.168.0.10
s=Asterisk PBX 13.7.2
c=IN IP4 192.168.0.10
t=0 0
m=audio 13004 RTP/AVP 0 8 3 111 9 18 4 5 7 10 110 117 97 112 118 102 115 116 119 107 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=fmtp:4 annexa=no
a=rtpmap:5 DVI4/8000
a=rtpmap:7 LPC/8000
a=rtpmap:10 L16/8000
a=rtpmap:110 speex/8000
a=rtpmap:117 speex/16000
a=rtpmap:97 iLBC/8000
a=rtpmap:112 AAL2-G726-32/8000
a=rtpmap:118 L16/16000
a=rtpmap:102 G7221/16000
a=fmtp:102 bitrate=32000
a=rtpmap:115 G7221/32000
a=fmtp:115 bitrate=48000
a=rtpmap:116 G719/48000
a=fmtp:116 bitrate=64000
a=rtpmap:119 speex/32000
a=rtpmap:107 opus/48000/2
a=fmtp:107 useinbandfec=1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:20
a=sendrecv
---
-- Called SIP/08888
-- Connected line update to SIP/06666-00000006 prevented.
Scheduling destruction of SIP dialog '3b1f69724e406271135d1ff57028fc17@192.168.0.10:5060' in 32000 ms (Method: INVITE)
-- SIP/08888-00000007 is circuit-busy
Scheduling destruction of SIP dialog '3b1f69724e406271135d1ff57028fc17@192.168.0.10:5060' in 32000 ms (Method: INVITE)
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dial-one:46] ExecIf("SIP/06666-00000006", "0?MacroExit()") in new stack
-- Executing [s@macro-dial-one:47] ExecIf("SIP/06666-00000006", "0?Set(DIALSTATUS=)") in new stack
-- Executing [s@macro-dial-one:48] GosubIf("SIP/06666-00000006", "0?s-CONGESTION,1()") in new stack
-- Executing [s@macro-dial-one:49] MacroExit("SIP/06666-00000006", "") in new stack
-- Executing [s@macro-exten-vm:17] Set("SIP/06666-00000006", "SV_DIALSTATUS=CONGESTION") in new stack
-- Executing [s@macro-exten-vm:18] GosubIf("SIP/06666-00000006", "0?docfu,1()") in new stack
-- Executing [s@macro-exten-vm:19] GosubIf("SIP/06666-00000006", "0?docfb,1()") in new stack
-- Executing [s@macro-exten-vm:20] Set("SIP/06666-00000006", "DIALSTATUS=CONGESTION") in new stack
-- Executing [s@macro-exten-vm:21] ExecIf("SIP/06666-00000006", "0?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:22] GotoIf("SIP/06666-00000006", "1?s-CONGESTION,1") in new stack
-- Goto (macro-exten-vm,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-exten-vm:1] GotoIf("SIP/06666-00000006", "0?exit,1") in new stack
-- Executing [s-CONGESTION@macro-exten-vm:2] PlayTones("SIP/06666-00000006", "congestion") in new stack
-- Executing [s-CONGESTION@macro-exten-vm:3] Congestion("SIP/06666-00000006", "10") in new stack
== Spawn extension (macro-exten-vm, s-CONGESTION, 3) exited non-zero on 'SIP/06666-00000006' in macro 'exten-vm'
== Spawn extension (from-internal, 08888, 2) exited non-zero on 'SIP/06666-00000006'
-- Executing [h@from-internal:1] Hangup("SIP/06666-00000006", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/06666-00000006'
<--- SIP read from UDP:192.168.1.12:5060 --->
SIP/2.0 404 Not Found
To: <sip:192.168.1.12:5060>;tag=9d20ff963a93c9di0
From: "softfon" <sip:06666@192.168.0.10>;tag=as3e114c18
Call-ID: 63b665f165a3b07605f2861c7c836c72@192.168.0.10:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK5571073c
Server: Linksys/SPA3102-5.2.13(GW002)
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Transmitting (no NAT) to 192.168.1.12:5060:
ACK sip:192.168.1.12:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK5571073c
Max-Forwards: 70
From: "softfon" <sip:06666@192.168.0.10>;tag=as3e114c18
To: <sip:192.168.1.12:5060>;tag=9d20ff963a93c9di0
Contact: <sip:06666@192.168.0.10:5060>
Call-ID: 63b665f165a3b07605f2861c7c836c72@192.168.0.10:5060
CSeq: 102 ACK
User-Agent: FPBX-12.0.76.4(13.7.2)
Content-Length: 0
---
NOTICE[4822][C-00000001]: chan_sip.c:25603 handle_request_invite: Failed to authenticate device spa_line <sip:74951234567@192.168.0.10>;tag=d7f095278aeb23c1o1
[pstn-spa]
username=07777
port=5061
type=peer
transport=udp
insecure=port,invite
host=192.168.1.12
fromuser=07777
dtmfmode=rfc2833
context=from-trunk
[07777]
type=friend
host=dynamic
context=from-pstn
secret=
dtmfmode=rfc2833
disallow=all
allow=ulaw
insecure=invite(пробовал port,invite)