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
# Span 1: WCTDM/0 "Wildcard TDM800P Board 1"
fxsks=1
fxsks=2
fxsks=3
fxsks=4
fxoks=5
fxoks=6
fxoks=7
fxoks=8
# Global data
loadzone = us
defaultzone = us
asterisk1*CLI> zap show channels
Chan Extension Context Language MusicOnHold
pseudo from-internal en
1 from-zaptel en
2 from-zaptel en
3 from-zaptel en
4 from-zaptel en
5 from-internal en
6 from-internal en
7 from-internal en
8 from-internal en
asterisk -r -vvvvvvvvvv
Verbosity was 5 and is now 10
-- Executing Macro("SIP/2713-08b7fc90", "dialout-trunk|2|502||") in new stack
-- Executing Set("SIP/2713-08b7fc90", "DIAL_TRUNK=2") in new stack
-- Executing Set("SIP/2713-08b7fc90", "_NODEST=") in new stack
-- Executing Set("SIP/2713-08b7fc90", "DIAL_NUMBER=502") in new stack
-- Executing Set("SIP/2713-08b7fc90", "ROUTE_PASSWD=") in new stack
-- Executing Set("SIP/2713-08b7fc90", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,8)
-- Executing Set("SIP/2713-08b7fc90", "GROUP()=OUT_2") in new stack
-- Executing Macro("SIP/2713-08b7fc90", "user-callerid|SKIPTTL") in new stack
-- Executing NoOp("SIP/2713-08b7fc90", "user-callerid: device 2713") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "0?report") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "0?start") in new stack
-- Executing Set("SIP/2713-08b7fc90", "REALCALLERIDNUM=2713") in new stack
-- Executing NoOp("SIP/2713-08b7fc90", "REALCALLERIDNUM is 2713") in new stack
-- Executing Set("SIP/2713-08b7fc90", "AMPUSER=2713") in new stack
-- Executing Set("SIP/2713-08b7fc90", "AMPUSERCIDNAME=2713") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "0?report") in new stack
-- Executing Set("SIP/2713-08b7fc90", "CALLERID(all)=2713 <2713>") in new stack
-- Executing Set("SIP/2713-08b7fc90", "REALCALLERIDNUM=2713") in new stack
-- Executing NoOp("SIP/2713-08b7fc90", "TTL: ARG1: SKIPTTL") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "1?continue") in new stack
-- Goto (macro-user-callerid,s,21)
-- Executing NoOp("SIP/2713-08b7fc90", "Using CallerID "2713" <2713>") in new stack
-- Executing Macro("SIP/2713-08b7fc90", "record-enable|2713|OUT") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing DeadAGI("SIP/2713-08b7fc90", "recordingcheck|20070502-143927|1178134767.6") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20070502-143927|1178134767.6: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/2713-08b7fc90", "No recording needed") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "0?skipoutcid") in new stack
-- Executing Set("SIP/2713-08b7fc90", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing Macro("SIP/2713-08b7fc90", "outbound-callerid|2") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("SIP/2713-08b7fc90", "REALCALLERIDNUM is 2713") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing Set("SIP/2713-08b7fc90", "USEROUTCID=") in new stack
-- Executing Set("SIP/2713-08b7fc90", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/2713-08b7fc90", "TRUNKOUTCID=") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing GotoIf("SIP/2713-08b7fc90", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,18)
-- Executing GotoIf("SIP/2713-08b7fc90", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing NoOp("SIP/2713-08b7fc90", "CallerID set to "2713" <2713>") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,16)
-- Executing DeadAGI("SIP/2713-08b7fc90", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/2713-08b7fc90", "OUTNUM=502") in new stack
-- Executing Set("SIP/2713-08b7fc90", "custom=ZAP/g1") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "0?customtrunk") in new stack
-- Executing Dial("SIP/2713-08b7fc90", "ZAP/g1/502|300|") in new stack
-- Called g1/502
-- Zap/5-1 is ringing
-- Zap/5-1 is ringing
-- Zap/5-1 is ringing
-- Zap/5-1 is ringing
-- Zap/5-1 is ringing
-- Zap/5-1 is ringing
-- Zap/5-1 is ringing
-- Zap/5-1 is ringing
-- Hungup 'Zap/5-1'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/2713-08b7fc90' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/2713-08b7fc90'
-- Executing Macro("SIP/2713-08b7fc90", "hangupcall") in new stack
-- Executing ResetCDR("SIP/2713-08b7fc90", "w") in new stack
-- Executing NoCDR("SIP/2713-08b7fc90", "") in new stack
-- Executing GotoIf("SIP/2713-08b7fc90", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing GotoIf("SIP/2713-08b7fc90", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing Wait("SIP/2713-08b7fc90", "5") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/2713-08b7fc90' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/2713-08b7fc90'
asterisk1*CLI>