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
fxsks=4
#fxsls=4
# Global data
loadzone = us
defaultzone = us
--------------------------
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
fxsks=4
#fxsls=4
# Global data
loadzone = us
defaultzone = us
[root@ast01 ~]# cat /etc/asterisk/zapata.conf
;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[channels]
signalling=fxs_ks
channel => 4
group=0
context=from-pstn
language=en
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
--------------------------------
asterisk -vvvvvvvvvvr
-- Remote UNIX connection
Verbosity is at least 7
-- Executing Macro("SIP/200-b7a03b38", "dialout-trunk|1|4645971||") in new stack
-- Executing GotoIf("SIP/200-b7a03b38", "1?3:2") in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro("SIP/200-b7a03b38", "user-callerid") in new stack
-- Executing GotoIf("SIP/200-b7a03b38", "0?report") in new stack
-- Executing GotoIf("SIP/200-b7a03b38", "0?start") in new stack
-- Executing Set("SIP/200-b7a03b38", "REALCALLERIDNUM=200") in new stack
-- Executing NoOp("SIP/200-b7a03b38", "REALCALLERIDNUM is 200") in new stack
-- Executing Set("SIP/200-b7a03b38", "AMPUSER=200") in new stack
-- Executing Set("SIP/200-b7a03b38", "AMPUSERCIDNAME=Joel") in new stack
-- Executing GotoIf("SIP/200-b7a03b38", "0?report") in new stack
-- Executing Set("SIP/200-b7a03b38", "CALLERID(all)=Joel <200>") in new stack
-- Executing NoOp("SIP/200-b7a03b38", "Using CallerID "Joel" <200>") in new stack
-- Executing Macro("SIP/200-b7a03b38", "record-enable|200|OUT") in new stack
-- Executing GotoIf("SIP/200-b7a03b38", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/200-b7a03b38", "recordingcheck|20061107-035534|1162893334.9") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20061107-035534|1162893334.9: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/200-b7a03b38", "No recording needed") in new stack
-- Executing Macro("SIP/200-b7a03b38", "outbound-callerid|1") in new stack
-- Executing GotoIf("SIP/200-b7a03b38", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("SIP/200-b7a03b38", "REALCALLERIDNUM is 200") in new stack
-- Executing Set("SIP/200-b7a03b38", "USEROUTCID=") in new stack
-- Executing Set("SIP/200-b7a03b38", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/200-b7a03b38", "TRUNKOUTCID=") in new stack
-- Executing GotoIf("SIP/200-b7a03b38", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,11)
-- Executing GotoIf("SIP/200-b7a03b38", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,13)
-- Executing GotoIf("SIP/200-b7a03b38", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,15)
-- Executing NoOp("SIP/200-b7a03b38", "CallerID set to "Joel" <200>") in new stack
-- Executing Set("SIP/200-b7a03b38", "GROUP()=OUT_1") in new stack
-- Executing GotoIf("SIP/200-b7a03b38", "0?108") in new stack
-- Executing Set("SIP/200-b7a03b38", "DIAL_NUMBER=4645971") in new stack
-- Executing Set("SIP/200-b7a03b38", "DIAL_TRUNK=1") in new stack
-- Executing AGI("SIP/200-b7a03b38", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/200-b7a03b38", "OUTNUM=4645971") in new stack
-- Executing Set("SIP/200-b7a03b38", "custom=ZAP/g0") in new stack
-- Executing GotoIf("SIP/200-b7a03b38", "0?16") in new stack
-- Executing Dial("SIP/200-b7a03b38", "ZAP/g0/4645971|120|r") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Goto("SIP/200-b7a03b38", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing NoOp("SIP/200-b7a03b38", "Dial failed due to CHANUNAVAIL") in new stack
-- Executing Macro("SIP/200-b7a03b38", "outisbusy|") in new stack
-- Executing Playback("SIP/200-b7a03b38", "all-circuits-busy-now") in new stack
-- Playing 'all-circuits-busy-now' (language 'en')
-- Executing Playback("SIP/200-b7a03b38", "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/200-b7a03b38' in macro 'outisbusy'
== Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/200-b7a03b38'
ast01*CLI>