سرور دومم در هشتگرد از این سرور بدون مشکل با تهران و شماره 300 تماس میگیرم http://192.168.2.56 [root@Elastix ~]# asterisk -rvvv Asterisk 1.8.20.0, Copyright (C) 1999 - 2012 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.8.20.0 currently running on Elastix (pid = 2996) Verbosity is at least 3 -- Remote UNIX connection -- Remote UNIX connection disconnected -- Accepting AUTHENTICATED call from 192.168.5.1: > requested format = gsm, > requested prefs = (), > actual format = ulaw, > host prefs = (ulaw|alaw|gsm), > priority = mine -- Executing [300@from-internal:1] Macro("IAX2/545-3597", "user-callerid,SKIPTTL,") in new stack -- Executing [s@macro-user-callerid:1] Set("IAX2/545-3597", "AMPUSER=545") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("IAX2/545-3597", "0?report") in new stack -- Executing [s@macro-user-callerid:3] ExecIf("IAX2/545-3597", "0?Set(REALCALLERIDNUM=545)") in new stack -- Executing [s@macro-user-callerid:4] Set("IAX2/545-3597", "AMPUSER=545") in new stack -- Executing [s@macro-user-callerid:5] Set("IAX2/545-3597", "AMPUSERCIDNAME=test545") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("IAX2/545-3597", "0?report") in new stack -- Executing [s@macro-user-callerid:7] Set("IAX2/545-3597", "AMPUSERCID=545") in new stack -- Executing [s@macro-user-callerid:8] Set("IAX2/545-3597", "CALLERID(all)="test545" <545>") in new stack -- Executing [s@macro-user-callerid:9] ExecIf("IAX2/545-3597", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:10] GotoIf("IAX2/545-3597", "1?continue") in new stack -- Goto (macro-user-callerid,s,19) -- Executing [s@macro-user-callerid:19] Set("IAX2/545-3597", "CALLERID(number)=545") in new stack -- Executing [s@macro-user-callerid:20] Set("IAX2/545-3597", "CALLERID(name)=test545") in new stack -- Executing [s@macro-user-callerid:21] NoOp("IAX2/545-3597", "Using CallerID "test545" <545>") in new stack -- Executing [300@from-internal:2] NoOp("IAX2/545-3597", "Calling Out Route: To_Qods") in new stack -- Executing [300@from-internal:3] Set("IAX2/545-3597", "MOHCLASS=default") in new stack -- Executing [300@from-internal:4] Set("IAX2/545-3597", "_NODEST=") in new stack -- Executing [300@from-internal:5] Macro("IAX2/545-3597", "record-enable,545,OUT,") in new stack -- Executing [s@macro-record-enable:1] GotoIf("IAX2/545-3597", "1?check") in new stack -- Goto (macro-record-enable,s,4) -- Executing [s@macro-record-enable:4] ExecIf("IAX2/545-3597", "0?MacroExit()") in new stack -- Executing [s@macro-record-enable:5] GotoIf("IAX2/545-3597", "0?Group:OUT") in new stack -- Goto (macro-record-enable,s,15) -- Executing [s@macro-record-enable:15] GotoIf("IAX2/545-3597", "0?IN") in new stack -- Executing [s@macro-record-enable:16] ExecIf("IAX2/545-3597", "1?MacroExit()") in new stack -- Executing [300@from-internal:6] Macro("IAX2/545-3597", "dialout-trunk,3,300,") in new stack -- Executing [s@macro-dialout-trunk:1] Set("IAX2/545-3597", "DIAL_TRUNK=3") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("IAX2/545-3597", "0?sub-pincheck,s,1") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("IAX2/545-3597", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("IAX2/545-3597", "DIAL_NUMBER=300") in new stack -- Executing [s@macro-dialout-trunk:5] Set("IAX2/545-3597", "DIAL_TRUNK_OPTIONS=tr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("IAX2/545-3597", "OUTBOUND_GROUP=OUT_3") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("IAX2/545-3597", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("IAX2/545-3597", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("IAX2/545-3597", "DIAL_TRUNK_OPTIONS=") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("IAX2/545-3597", "outbound-callerid,3") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("IAX2/545-3597", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("IAX2/545-3597", "0?Set(REALCALLERIDNUM=545)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("IAX2/545-3597", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("IAX2/545-3597", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:7] Set("IAX2/545-3597", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("IAX2/545-3597", "TRUNKOUTCID=") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("IAX2/545-3597", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,12) -- Executing [s@macro-outbound-callerid:12] ExecIf("IAX2/545-3597", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:13] ExecIf("IAX2/545-3597", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:14] ExecIf("IAX2/545-3597", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:15] ExecIf("IAX2/545-3597", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack -- Executing [s@macro-dialout-trunk:12] GosubIf("IAX2/545-3597", "0?sub-flp-3,s,1") in new stack -- Executing [s@macro-dialout-trunk:13] Set("IAX2/545-3597", "OUTNUM=300") in new stack -- Executing [s@macro-dialout-trunk:14] Set("IAX2/545-3597", "custom=IAX2/51") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("IAX2/545-3597", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack -- Executing [s@macro-dialout-trunk:16] Macro("IAX2/545-3597", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("IAX2/545-3597", "") in new stack -- Executing [s@macro-dialout-trunk:17] GotoIf("IAX2/545-3597", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("IAX2/545-3597", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:19] Dial("IAX2/545-3597", "IAX2/51/300,300,") in new stack -- Called IAX2/51/300 -- Call accepted by 192.168.5.56 (format ulaw) -- Format for call is ulaw -- IAX2/51-10272 is ringing -- IAX2/51-10272 is ringing -- Hungup 'IAX2/51-10272' == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'IAX2/545-3597' in macro 'dialout-trunk' == Spawn extension (from-internal, 300, 6) exited non-zero on 'IAX2/545-3597' -- Executing [h@from-internal:1] Macro("IAX2/545-3597", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/545-3597", "1?endmixmoncheck") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] NoOp("IAX2/545-3597", "End of MIXMON check") in new stack -- Executing [s@macro-hangupcall:10] GotoIf("IAX2/545-3597", "1?nomeetmemon") in new stack -- Goto (macro-hangupcall,s,15) -- Executing [s@macro-hangupcall:15] NoOp("IAX2/545-3597", "MEETME_RECORDINGFILE=") in new stack -- Executing [s@macro-hangupcall:16] GotoIf("IAX2/545-3597", "1?noautomon") in new stack -- Goto (macro-hangupcall,s,18) -- Executing [s@macro-hangupcall:18] NoOp("IAX2/545-3597", "TOUCH_MONITOR_OUTPUT=") in new stack -- Executing [s@macro-hangupcall:19] GotoIf("IAX2/545-3597", "1?noautomon2") in new stack -- Goto (macro-hangupcall,s,25) -- Executing [s@macro-hangupcall:25] NoOp("IAX2/545-3597", "MONITOR_FILENAME=") in new stack -- Executing [s@macro-hangupcall:26] GotoIf("IAX2/545-3597", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,29) -- Executing [s@macro-hangupcall:29] GotoIf("IAX2/545-3597", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,32) -- Executing [s@macro-hangupcall:32] GotoIf("IAX2/545-3597", "1?theend") in new stack -- Goto (macro-hangupcall,s,34) -- Executing [s@macro-hangupcall:34] Hangup("IAX2/545-3597", "") in new stack == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'IAX2/545-3597' in macro 'hangupcall' == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/545-3597' -- Hungup 'IAX2/545-3597' Elastix*CLI> Disconnected from Asterisk server Executing last minute cleanups [root@Elastix ~]# [root@Elastix ~]# clear [root@Elastix ~]# [root@Elastix ~]# http://192.168.5.56 -bash: http://192.168.5.56: No such file or directory [root@Elastix ~]# [root@Elastix ~]# [root@Elastix ~]# asterisk -rvvv -bash: [root@Elastix: command not found [root@Elastix ~]# Asterisk 1.8.20.0, Copyright (C) 1999 - 2012 Digium, Inc. and others. -bash: syntax error near unexpected token `(' [root@Elastix ~]# Created by Mark Spencer -bash: syntax error near unexpected token `newline' [root@Elastix ~]# Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for detail s. -bash: Asterisk: command not found -bash: type: core show warranty: not found for is a shell keyword -bash: type: detail: not found -bash: type: s.: not found [root@Elastix ~]# This is free software, with components licensed under the GNU General Public -bash: This: command not found [root@Elastix ~]# License version 2 and other licenses; you are welcome to redistribute it under -bash: License: command not found -bash: you: command not found ========================================================================= [root@Elastix ~]# certain conditions. Type 'core show license' for details. -bash: certain: command not found [root@Elastix ~]# ========================================================================= -bash: =========================================================================: command not found [root@Elastix ~]# Connected to Asterisk 1.8.20.0 currently running on Elastix (pid = 2793) -bash: syntax error near unexpected token `(' [root@Elastix ~]# Verbosity is at least 3 -bash: Verbosity: command not found [root@Elastix ~]# == Using SIP RTP TOS bits 184 -bash: ==: command not found [root@Elastix ~]# == Using SIP RTP CoS mark 5 -bash: ==: command not found [root@Elastix ~]# -- Executing [545@from-internal:1] Macro("SIP/300-0000000c", "exten-vm,novm, 545") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-exten-vm:1] Macro("SIP/300-0000000c", "user-callerid," ) in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:1] Set("SIP/300-0000000c", "AMPUSER=300" ) in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:2] GotoIf("SIP/300-0000000c", "0?report" ) in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:3] ExecIf("SIP/300-0000000c", "1?Set(REA LCALLERIDNUM=300)") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:4] Set("SIP/300-0000000c", "AMPUSER=300" ) in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:5] Set("SIP/300-0000000c", "AMPUSERCIDNA ME=Heidari IT") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:6] GotoIf("SIP/300-0000000c", "0?report" ) in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:7] Set("SIP/300-0000000c", "AMPUSERCID=3 00") in new stack -- Executing [s@macro-user-callerid:8] Set("SIP/300-0000000c", "CALLERID(all )="Heidari IT" <300>") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:8] Set("SIP/300-0000000c", "CALLERID(all )="Heidari IT" <300>") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:9] ExecIf("SIP/300-0000000c", "0?Set(CHA NNEL(language)=)") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:10] GotoIf("SIP/300-0000000c", "0?contin ue") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:11] Set("SIP/300-0000000c", "__TTL=64") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:12] GotoIf("SIP/300-0000000c", "1?contin ue") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Goto (macro-user-callerid,s,19) -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:19] Set("SIP/300-0000000c", "CALLERID(nu mber)=300") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-user-callerid:20] Set("SIP/300-0000000c", "CALLERID(na me)=Heidari IT") in new stack -bash: syntax error near unexpected token `(' -- Executing [s@macro-user-callerid:21] NoOp("SIP/300-0000000c", "Using Call erID "Heidari IT" <300>") in new stack [root@Elastix ~]# -- Executing [s@macro-user-callerid:21] NoOp("SIP/300-0000000c", "Using Call erID "Heidari IT" <300>") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-exten-vm:2] Set("SIP/300-0000000c", "RingGroupMethod=n one") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-exten-vm:3] Set("SIP/300-0000000c", "VMBOX=novm") in n ew stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-exten-vm:4] Set("SIP/300-0000000c", "__EXTTOCALL=545") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-exten-vm:5] Set("SIP/300-0000000c", "CFUEXT=") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-exten-vm:6] Set("SIP/300-0000000c", "CFBEXT=") in new stack -bash: syntax error near unexpected token `(' -- Executing [s@macro-exten-vm:7] Set("SIP/300-0000000c", "RT=""") in new st ack [root@Elastix ~]# -- Executing [s@macro-exten-vm:7] Set("SIP/300-0000000c", "RT=""") in new st ack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-exten-vm:8] Macro("SIP/300-0000000c", "record-enable,5 45,IN") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-record-enable:1] GotoIf("SIP/300-0000000c", "1?check") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Goto (macro-record-enable,s,4) -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-record-enable:4] ExecIf("SIP/300-0000000c", "0?MacroEx it()") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-record-enable:5] GotoIf("SIP/300-0000000c", "0?Group:O UT") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Goto (macro-record-enable,s,15) -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-record-enable:15] GotoIf("SIP/300-0000000c", "1?IN") i n new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Goto (macro-record-enable,s,20) -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-record-enable:20] ExecIf("SIP/300-0000000c", "0?MacroE xit()") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-record-enable:21] NoOp("SIP/300-0000000c", "Recording enable for 545") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-record-enable:22] Set("SIP/300-0000000c", "CALLFILENAM E=20150202-095635-1422858395.57") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-record-enable:23] MixMonitor("SIP/300-0000000c", "2015 0202-095635-1422858395.57.wav,,") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-record-enable:24] Set("SIP/300-0000000c", "CDR(userfie ld)=audio:20150202-095635-1422858395.57.wav") in new stack -- Executing [s@macro-dial-one:1] Set("SIP/300-0000000c", "DEXTEN=545") in n ew stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-record-enable:25] MacroExit("SIP/300-0000000c", "") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-exten-vm:9] Macro("SIP/300-0000000c", "dial-one,"",tr, 545") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:1] Set("SIP/300-0000000c", "DEXTEN=545") in n ew stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# == Begin MixMonitor Recording SIP/300-0000000c -bash: ==: command not found [root@Elastix ~]# -- Executing [s@macro-dial-one:2] Set("SIP/300-0000000c", "DIALSTATUS_CW=") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:3] GosubIf("SIP/300-0000000c", "0?screen,1") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:4] GosubIf("SIP/300-0000000c", "0?cf,1") in n ew stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:5] GotoIf("SIP/300-0000000c", "1?skip1") in n ew stack -- Goto (macro-dial-one,s,8) -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Goto (macro-dial-one,s,8) -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:8] GotoIf("SIP/300-0000000c", "0?nodial") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:9] GotoIf("SIP/300-0000000c", "0?continue") i n new stack -- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/300-0000000c", "THISPART2 =IAX2/545") in new stack -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/300-0000000c", "0?Set( THISPART2=DAHDI2/545)") in new stack -- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/300-0000000c", "NEWDIAL=I AX2/545&") in new stack -- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/300-0000000c", "ITER2=2") in new stack -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/300-0000000c", "0?begi n2") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:10] Set("SIP/300-0000000c", "EXTHASCW=") in n ew stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:11] GotoIf("SIP/300-0000000c", "1?next1:cwinu sebusy") in new stack -- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/300-0000000c", "THISDIAL =IAX2/545") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Goto (macro-dial-one,s,12) -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:12] GotoIf("SIP/300-0000000c", "0?docfu:skip3 ") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Goto (macro-dial-one,s,16) -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:16] GotoIf("SIP/300-0000000c", "1?next2:conti nue") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Goto (macro-dial-one,s,17) -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:17] GotoIf("SIP/300-0000000c", "1?continue") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Goto (macro-dial-one,s,25) -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:25] GotoIf("SIP/300-0000000c", "0?nodial") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [s@macro-dial-one:26] GosubIf("SIP/300-0000000c", "1?dstring,1: dlocal,1") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [dstring@macro-dial-one:1] Set("SIP/300-0000000c", "DSTRING=") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [dstring@macro-dial-one:2] Set("SIP/300-0000000c", "DEVICES=545 ") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [dstring@macro-dial-one:3] ExecIf("SIP/300-0000000c", "0?Return ()") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [dstring@macro-dial-one:4] ExecIf("SIP/300-0000000c", "0?Set(DE VICES=45)") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [dstring@macro-dial-one:5] Set("SIP/300-0000000c", "LOOPCNT=1") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [dstring@macro-dial-one:6] Set("SIP/300-0000000c", "ITER=1") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [dstring@macro-dial-one:7] Set("SIP/300-0000000c", "THISDIAL=IA X2/545") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [dstring@macro-dial-one:8] GosubIf("SIP/300-0000000c", "1?zap2d ahdi,1") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/300-0000000c", "0?Retu rn()") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/300-0000000c", "NEWDIAL=" ) in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/300-0000000c", "LOOPCNT2= 1") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/300-0000000c", "ITER2=1") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/300-0000000c", "THISPART2 =IAX2/545") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/300-0000000c", "0?Set( THISPART2=DAHDI2/545)") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/300-0000000c", "NEWDIAL=I AX2/545&") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/300-0000000c", "ITER2=2") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/300-0000000c", "0?begi n2") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/300-0000000c", "THISDIAL =IAX2/545") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/300-0000000c", "") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [dstring@macro-dial-one:9] Set("SIP/300-0000000c", "DSTRING=IAX 2/545&") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [dstring@macro-dial-one:10] Set("SIP/300-0000000c", "ITER=2") i n new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# -- Executing [dstring@macro-dial-one:11] GotoIf("SIP/300-0000000c", "0?begin ") in new stack -bash: syntax error near unexpected token `(' [root@Elastix ~]# [root@Elastix ~]# clear [root@Elastix ~]# asterisk -rvvv Asterisk 1.8.20.0, Copyright (C) 1999 - 2012 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.8.20.0 currently running on Elastix (pid = 2996) Verbosity is at least 3 -- Accepting AUTHENTICATED call from 192.168.5.1: > requested format = gsm, > requested prefs = (), > actual format = ulaw, > host prefs = (ulaw|alaw|gsm), > priority = mine -- Executing [332@from-internal:1] Macro("IAX2/545-7773", "user-callerid,SKIPTTL,") in new stack -- Executing [s@macro-user-callerid:1] Set("IAX2/545-7773", "AMPUSER=545") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("IAX2/545-7773", "0?report") in new stack -- Executing [s@macro-user-callerid:3] ExecIf("IAX2/545-7773", "0?Set(REALCALLERIDNUM=545)") in new stack -- Executing [s@macro-user-callerid:4] Set("IAX2/545-7773", "AMPUSER=545") in new stack -- Executing [s@macro-user-callerid:5] Set("IAX2/545-7773", "AMPUSERCIDNAME=test545") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("IAX2/545-7773", "0?report") in new stack -- Executing [s@macro-user-callerid:7] Set("IAX2/545-7773", "AMPUSERCID=545") in new stack -- Executing [s@macro-user-callerid:8] Set("IAX2/545-7773", "CALLERID(all)="test545" <545>") in new stack -- Executing [s@macro-user-callerid:9] ExecIf("IAX2/545-7773", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:10] GotoIf("IAX2/545-7773", "1?continue") in new stack -- Goto (macro-user-callerid,s,19) -- Executing [s@macro-user-callerid:19] Set("IAX2/545-7773", "CALLERID(number)=545") in new stack -- Executing [s@macro-user-callerid:20] Set("IAX2/545-7773", "CALLERID(name)=test545") in new stack -- Executing [s@macro-user-callerid:21] NoOp("IAX2/545-7773", "Using CallerID "test545" <545>") in new stack -- Executing [332@from-internal:2] NoOp("IAX2/545-7773", "Calling Out Route: To_Qods") in new stack -- Executing [332@from-internal:3] Set("IAX2/545-7773", "MOHCLASS=default") in new stack -- Executing [332@from-internal:4] Set("IAX2/545-7773", "_NODEST=") in new stack -- Executing [332@from-internal:5] Macro("IAX2/545-7773", "record-enable,545,OUT,") in new stack -- Executing [s@macro-record-enable:1] GotoIf("IAX2/545-7773", "1?check") in new stack -- Goto (macro-record-enable,s,4) -- Executing [s@macro-record-enable:4] ExecIf("IAX2/545-7773", "0?MacroExit()") in new stack -- Executing [s@macro-record-enable:5] GotoIf("IAX2/545-7773", "0?Group:OUT") in new stack -- Goto (macro-record-enable,s,15) -- Executing [s@macro-record-enable:15] GotoIf("IAX2/545-7773", "0?IN") in new stack -- Executing [s@macro-record-enable:16] ExecIf("IAX2/545-7773", "1?MacroExit()") in new stack -- Executing [332@from-internal:6] Macro("IAX2/545-7773", "dialout-trunk,3,332,") in new stack -- Executing [s@macro-dialout-trunk:1] Set("IAX2/545-7773", "DIAL_TRUNK=3") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("IAX2/545-7773", "0?sub-pincheck,s,1") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("IAX2/545-7773", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("IAX2/545-7773", "DIAL_NUMBER=332") in new stack -- Executing [s@macro-dialout-trunk:5] Set("IAX2/545-7773", "DIAL_TRUNK_OPTIONS=tr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("IAX2/545-7773", "OUTBOUND_GROUP=OUT_3") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("IAX2/545-7773", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("IAX2/545-7773", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("IAX2/545-7773", "DIAL_TRUNK_OPTIONS=") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("IAX2/545-7773", "outbound-callerid,3") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("IAX2/545-7773", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("IAX2/545-7773", "0?Set(REALCALLERIDNUM=545)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("IAX2/545-7773", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("IAX2/545-7773", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:7] Set("IAX2/545-7773", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("IAX2/545-7773", "TRUNKOUTCID=") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("IAX2/545-7773", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,12) -- Executing [s@macro-outbound-callerid:12] ExecIf("IAX2/545-7773", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:13] ExecIf("IAX2/545-7773", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:14] ExecIf("IAX2/545-7773", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:15] ExecIf("IAX2/545-7773", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack -- Executing [s@macro-dialout-trunk:12] GosubIf("IAX2/545-7773", "0?sub-flp-3,s,1") in new stack -- Executing [s@macro-dialout-trunk:13] Set("IAX2/545-7773", "OUTNUM=332") in new stack -- Executing [s@macro-dialout-trunk:14] Set("IAX2/545-7773", "custom=IAX2/51") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("IAX2/545-7773", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack -- Executing [s@macro-dialout-trunk:16] Macro("IAX2/545-7773", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("IAX2/545-7773", "") in new stack -- Executing [s@macro-dialout-trunk:17] GotoIf("IAX2/545-7773", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("IAX2/545-7773", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:19] Dial("IAX2/545-7773", "IAX2/51/332,300,") in new stack -- Called IAX2/51/332 -- Call accepted by 192.168.5.56 (format ulaw) -- Format for call is ulaw -- IAX2/51-5138 is ringing -- IAX2/51-5138 is ringing -- Hungup 'IAX2/51-5138' == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'IAX2/545-7773' in macro 'dialout-trunk' == Spawn extension (from-internal, 332, 6) exited non-zero on 'IAX2/545-7773' -- Executing [h@from-internal:1] Macro("IAX2/545-7773", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/545-7773", "1?endmixmoncheck") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] NoOp("IAX2/545-7773", "End of MIXMON check") in new stack -- Executing [s@macro-hangupcall:10] GotoIf("IAX2/545-7773", "1?nomeetmemon") in new stack -- Goto (macro-hangupcall,s,15) -- Executing [s@macro-hangupcall:15] NoOp("IAX2/545-7773", "MEETME_RECORDINGFILE=") in new stack -- Executing [s@macro-hangupcall:16] GotoIf("IAX2/545-7773", "1?noautomon") in new stack -- Goto (macro-hangupcall,s,18) -- Executing [s@macro-hangupcall:18] NoOp("IAX2/545-7773", "TOUCH_MONITOR_OUTPUT=") in new stack -- Executing [s@macro-hangupcall:19] GotoIf("IAX2/545-7773", "1?noautomon2") in new stack -- Goto (macro-hangupcall,s,25) -- Executing [s@macro-hangupcall:25] NoOp("IAX2/545-7773", "MONITOR_FILENAME=") in new stack -- Executing [s@macro-hangupcall:26] GotoIf("IAX2/545-7773", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,29) -- Executing [s@macro-hangupcall:29] GotoIf("IAX2/545-7773", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,32) -- Executing [s@macro-hangupcall:32] GotoIf("IAX2/545-7773", "1?theend") in new stack -- Goto (macro-hangupcall,s,34) -- Executing [s@macro-hangupcall:34] Hangup("IAX2/545-7773", "") in new stack == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'IAX2/545-7773' in macro 'hangupcall' == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/545-7773' -- Hungup 'IAX2/545-7773' Elastix*CLI> Disconnected from Asterisk server Executing last minute cleanups [root@Elastix ~]# clear [root@Elastix ~]# asterisk -rvvv Asterisk 1.8.20.0, Copyright (C) 1999 - 2012 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.8.20.0 currently running on Elastix (pid = 2996) Verbosity is at least 3 -- Accepting AUTHENTICATED call from 192.168.5.1: > requested format = gsm, > requested prefs = (), > actual format = ulaw, > host prefs = (ulaw|alaw|gsm), > priority = mine -- Executing [300@from-internal:1] Macro("IAX2/510-1067", "user-callerid,SKIPTTL,") in new stack -- Executing [s@macro-user-callerid:1] Set("IAX2/510-1067", "AMPUSER=510") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("IAX2/510-1067", "0?report") in new stack -- Executing [s@macro-user-callerid:3] ExecIf("IAX2/510-1067", "0?Set(REALCALLERIDNUM=510)") in new stack -- Executing [s@macro-user-callerid:4] Set("IAX2/510-1067", "AMPUSER=510") in new stack -- Executing [s@macro-user-callerid:5] Set("IAX2/510-1067", "AMPUSERCIDNAME=test510") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("IAX2/510-1067", "0?report") in new stack -- Executing [s@macro-user-callerid:7] Set("IAX2/510-1067", "AMPUSERCID=510") in new stack -- Executing [s@macro-user-callerid:8] Set("IAX2/510-1067", "CALLERID(all)="test510" <510>") in new stack -- Executing [s@macro-user-callerid:9] ExecIf("IAX2/510-1067", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:10] GotoIf("IAX2/510-1067", "1?continue") in new stack -- Goto (macro-user-callerid,s,19) -- Executing [s@macro-user-callerid:19] Set("IAX2/510-1067", "CALLERID(number)=510") in new stack -- Executing [s@macro-user-callerid:20] Set("IAX2/510-1067", "CALLERID(name)=test510") in new stack -- Executing [s@macro-user-callerid:21] NoOp("IAX2/510-1067", "Using CallerID "test510" <510>") in new stack -- Executing [300@from-internal:2] NoOp("IAX2/510-1067", "Calling Out Route: To_Qods") in new stack -- Executing [300@from-internal:3] Set("IAX2/510-1067", "MOHCLASS=default") in new stack -- Executing [300@from-internal:4] Set("IAX2/510-1067", "_NODEST=") in new stack -- Executing [300@from-internal:5] Macro("IAX2/510-1067", "record-enable,510,OUT,") in new stack -- Executing [s@macro-record-enable:1] GotoIf("IAX2/510-1067", "1?check") in new stack -- Goto (macro-record-enable,s,4) -- Executing [s@macro-record-enable:4] ExecIf("IAX2/510-1067", "0?MacroExit()") in new stack -- Executing [s@macro-record-enable:5] GotoIf("IAX2/510-1067", "0?Group:OUT") in new stack -- Goto (macro-record-enable,s,15) -- Executing [s@macro-record-enable:15] GotoIf("IAX2/510-1067", "0?IN") in new stack -- Executing [s@macro-record-enable:16] ExecIf("IAX2/510-1067", "1?MacroExit()") in new stack -- Executing [300@from-internal:6] Macro("IAX2/510-1067", "dialout-trunk,3,300,") in new stack -- Executing [s@macro-dialout-trunk:1] Set("IAX2/510-1067", "DIAL_TRUNK=3") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("IAX2/510-1067", "0?sub-pincheck,s,1") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("IAX2/510-1067", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("IAX2/510-1067", "DIAL_NUMBER=300") in new stack -- Executing [s@macro-dialout-trunk:5] Set("IAX2/510-1067", "DIAL_TRUNK_OPTIONS=tr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("IAX2/510-1067", "OUTBOUND_GROUP=OUT_3") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("IAX2/510-1067", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("IAX2/510-1067", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("IAX2/510-1067", "DIAL_TRUNK_OPTIONS=") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("IAX2/510-1067", "outbound-callerid,3") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("IAX2/510-1067", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("IAX2/510-1067", "0?Set(REALCALLERIDNUM=510)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("IAX2/510-1067", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("IAX2/510-1067", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:7] Set("IAX2/510-1067", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("IAX2/510-1067", "TRUNKOUTCID=") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("IAX2/510-1067", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,12) -- Executing [s@macro-outbound-callerid:12] ExecIf("IAX2/510-1067", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:13] ExecIf("IAX2/510-1067", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:14] ExecIf("IAX2/510-1067", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:15] ExecIf("IAX2/510-1067", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack -- Executing [s@macro-dialout-trunk:12] GosubIf("IAX2/510-1067", "0?sub-flp-3,s,1") in new stack -- Executing [s@macro-dialout-trunk:13] Set("IAX2/510-1067", "OUTNUM=300") in new stack -- Executing [s@macro-dialout-trunk:14] Set("IAX2/510-1067", "custom=IAX2/51") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("IAX2/510-1067", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack -- Executing [s@macro-dialout-trunk:16] Macro("IAX2/510-1067", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("IAX2/510-1067", "") in new stack -- Executing [s@macro-dialout-trunk:17] GotoIf("IAX2/510-1067", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("IAX2/510-1067", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:19] Dial("IAX2/510-1067", "IAX2/51/300,300,") in new stack -- Called IAX2/51/300 -- Call accepted by 192.168.5.56 (format ulaw) -- Format for call is ulaw -- IAX2/51-14092 is ringing -- IAX2/51-14092 is ringing -- Hungup 'IAX2/51-14092' == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'IAX2/510-1067' in macro 'dialout-trunk' == Spawn extension (from-internal, 300, 6) exited non-zero on 'IAX2/510-1067' -- Executing [h@from-internal:1] Macro("IAX2/510-1067", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/510-1067", "1?endmixmoncheck") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] NoOp("IAX2/510-1067", "End of MIXMON check") in new stack -- Executing [s@macro-hangupcall:10] GotoIf("IAX2/510-1067", "1?nomeetmemon") in new stack -- Goto (macro-hangupcall,s,15) -- Executing [s@macro-hangupcall:15] NoOp("IAX2/510-1067", "MEETME_RECORDINGFILE=") in new stack -- Executing [s@macro-hangupcall:16] GotoIf("IAX2/510-1067", "1?noautomon") in new stack -- Goto (macro-hangupcall,s,18) -- Executing [s@macro-hangupcall:18] NoOp("IAX2/510-1067", "TOUCH_MONITOR_OUTPUT=") in new stack -- Executing [s@macro-hangupcall:19] GotoIf("IAX2/510-1067", "1?noautomon2") in new stack -- Goto (macro-hangupcall,s,25) -- Executing [s@macro-hangupcall:25] NoOp("IAX2/510-1067", "MONITOR_FILENAME=") in new stack -- Executing [s@macro-hangupcall:26] GotoIf("IAX2/510-1067", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,29) -- Executing [s@macro-hangupcall:29] GotoIf("IAX2/510-1067", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,32) -- Executing [s@macro-hangupcall:32] GotoIf("IAX2/510-1067", "1?theend") in new stack -- Goto (macro-hangupcall,s,34) -- Executing [s@macro-hangupcall:34] Hangup("IAX2/510-1067", "") in new stack == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'IAX2/510-1067' in macro 'hangupcall' == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/510-1067' -- Hungup 'IAX2/510-1067'