[root@ast01 ~]# cat /etc/zaptel.conf # Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit # Zaptel Configuration File # # This file is parsed by the Zaptel Configurator, ztcfg # # It must be in the module loading order fxsls=4 # Global data loadzone = us defaultzone = us ---------------------- [root@ast01 ~]# cat /etc/asterisk/zapata.conf ; ; Zapata telephony interface ; ; Configuration file [trunkgroups] [channels] language=en signalling=fxs_ls channel => 4 group=0 context=from-pstn rxwink=300 ; Atlas seems to use long (250ms) winks ; ; Whether or not to do distinctive ring detection on FXO lines ; ;usedistinctiveringdetection=yes usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=no echotraining=800 rxgain=0.0 txgain=0.0 group=0 callgroup=1 pickupgroup=1 immediate=no ;faxdetect=both faxdetect=incoming ;faxdetect=outgoing ;faxdetect=no ;Include genzaptelconf configs #include zapata-auto.conf group=1 ;Include AMP configs #include zapata_additional.conf ---------------------------- Connected to Asterisk 1.2.12.1 currently running on ast01 (pid = 4514) -- Remote UNIX connection Verbosity is at least 11 -- Executing Macro("SIP/8707700-098a3ec0", "dialout-trunk|1|4645971||") in new stack -- Executing GotoIf("SIP/8707700-098a3ec0", "1?3:2") in new stack -- Goto (macro-dialout-trunk,s,3) -- Executing Macro("SIP/8707700-098a3ec0", "user-callerid") in new stack -- Executing GotoIf("SIP/8707700-098a3ec0", "0?report") in new stack -- Executing GotoIf("SIP/8707700-098a3ec0", "0?start") in new stack -- Executing Set("SIP/8707700-098a3ec0", "REALCALLERIDNUM=8707700") in new stack -- Executing NoOp("SIP/8707700-098a3ec0", "REALCALLERIDNUM is 8707700") in new stack -- Executing Set("SIP/8707700-098a3ec0", "AMPUSER=8707700") in new stack -- Executing Set("SIP/8707700-098a3ec0", "AMPUSERCIDNAME=Joel Solanki") in new stack -- Executing GotoIf("SIP/8707700-098a3ec0", "0?report") in new stack -- Executing Set("SIP/8707700-098a3ec0", "CALLERID(all)=Joel Solanki <8707700>") in new stack -- Executing NoOp("SIP/8707700-098a3ec0", "Using CallerID "Joel Solanki" <8707700>") in new stack -- Executing Macro("SIP/8707700-098a3ec0", "record-enable|8707700|OUT") in new stack -- Executing GotoIf("SIP/8707700-098a3ec0", "0 > 0?2:4") in new stack -- Goto (macro-record-enable,s,4) -- Executing AGI("SIP/8707700-098a3ec0", "recordingcheck|20061107-203553|1162953353.55") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck recordingcheck|20061107-203553|1162953353.55: Outbound recording not enabled -- AGI Script recordingcheck completed, returning 0 -- Executing NoOp("SIP/8707700-098a3ec0", "No recording needed") in new stack -- Executing Macro("SIP/8707700-098a3ec0", "outbound-callerid|1") in new stack -- Executing GotoIf("SIP/8707700-098a3ec0", "1?start") in new stack -- Goto (macro-outbound-callerid,s,3) -- Executing NoOp("SIP/8707700-098a3ec0", "REALCALLERIDNUM is 8707700") in new stack -- Executing Set("SIP/8707700-098a3ec0", "USEROUTCID=") in new stack -- Executing Set("SIP/8707700-098a3ec0", "EMERGENCYCID=") in new stack -- Executing Set("SIP/8707700-098a3ec0", "TRUNKOUTCID=") in new stack -- Executing GotoIf("SIP/8707700-098a3ec0", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,11) -- Executing GotoIf("SIP/8707700-098a3ec0", "1?usercid") in new stack -- Goto (macro-outbound-callerid,s,13) -- Executing GotoIf("SIP/8707700-098a3ec0", "1?report") in new stack -- Goto (macro-outbound-callerid,s,15) -- Executing NoOp("SIP/8707700-098a3ec0", "CallerID set to "Joel Solanki" <8707700>") in new stack -- Executing Set("SIP/8707700-098a3ec0", "GROUP()=OUT_1") in new stack -- Executing GotoIf("SIP/8707700-098a3ec0", "0?108") in new stack -- Executing Set("SIP/8707700-098a3ec0", "DIAL_NUMBER=4645971") in new stack -- Executing Set("SIP/8707700-098a3ec0", "DIAL_TRUNK=1") in new stack -- Executing AGI("SIP/8707700-098a3ec0", "fixlocalprefix") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix -- AGI Script fixlocalprefix completed, returning 0 -- Executing Set("SIP/8707700-098a3ec0", "OUTNUM=4645971") in new stack -- Executing Set("SIP/8707700-098a3ec0", "custom=ZAP/g0") in new stack -- Executing GotoIf("SIP/8707700-098a3ec0", "0?16") in new stack -- Executing Dial("SIP/8707700-098a3ec0", "ZAP/g0/4645971|120|r") in new stack == Everyone is busy/congested at this time (1:0/0/1) -- Executing Goto("SIP/8707700-098a3ec0", "s-CHANUNAVAIL|1") in new stack -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) -- Executing NoOp("SIP/8707700-098a3ec0", "Dial failed due to CHANUNAVAIL") in new stack -- Executing Macro("SIP/8707700-098a3ec0", "outisbusy|") in new stack -- Executing Playback("SIP/8707700-098a3ec0", "all-circuits-busy-now") in new stack -- Playing 'all-circuits-busy-now' (language 'en') -- Executing Playback("SIP/8707700-098a3ec0", "pls-try-call-later") in new stack -- Playing 'pls-try-call-later' (language 'en') == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/8707700-098a3ec0' in macro 'outisbusy' == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/8707700-098a3ec0'