-- Executing [0822122120@from-internal:1] Macro("SIP/3000-08c8a818", "user-callerid|SKIPTTL|") in new stack -- Executing [s@macro-user-callerid:1] NoOp("SIP/3000-08c8a818", "user-callerid: device 3000") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/3000-08c8a818", "AMPUSER=3000") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/3000-08c8a818", "0?report") in new stack -- Executing [s@macro-user-callerid:4] ExecIf("SIP/3000-08c8a818", "1|Set|REALCALLERIDNUM=3000") in new stack -- Executing [s@macro-user-callerid:5] NoOp("SIP/3000-08c8a818", "REALCALLERIDNUM is 3000") in new stack -- Executing [s@macro-user-callerid:6] Set("SIP/3000-08c8a818", "AMPUSER=3000") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/3000-08c8a818", "AMPUSERCIDNAME=3000") in new stack -- Executing [s@macro-user-callerid:8] GotoIf("SIP/3000-08c8a818", "0?report") in new stack -- Executing [s@macro-user-callerid:9] Set("SIP/3000-08c8a818", "AMPUSERCID=3000") in new stack -- Executing [s@macro-user-callerid:10] Set("SIP/3000-08c8a818", "CALLERID(all)="3000" <3000>") in new stack -- Executing [s@macro-user-callerid:11] Set("SIP/3000-08c8a818", "REALCALLERIDNUM=3000") in new stack -- Executing [s@macro-user-callerid:12] ExecIf("SIP/3000-08c8a818", "0|Set|CHANNEL(language)=") in new stack -- Executing [s@macro-user-callerid:13] NoOp("SIP/3000-08c8a818", "TTL: ARG1: SKIPTTL") in new stack -- Executing [s@macro-user-callerid:14] GotoIf("SIP/3000-08c8a818", "1?continue") in new stack -- Goto (macro-user-callerid,s,23) -- Executing [s@macro-user-callerid:23] NoOp("SIP/3000-08c8a818", "Using CallerID "3000" <3000>") in new stack -- Executing [0822122120@from-internal:2] Set("SIP/3000-08c8a818", "_NODEST=") in new stack -- Executing [0822122120@from-internal:3] Macro("SIP/3000-08c8a818", "record-enable|3000|OUT|") in new stack -- Executing [s@macro-record-enable:1] GotoIf("SIP/3000-08c8a818", "0?2:4") in new stack -- Goto (macro-record-enable,s,4) -- Executing [s@macro-record-enable:4] AGI("SIP/3000-08c8a818", "recordingcheck|20080408-175432|1207670072.41") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck recordingcheck|20080408-175432|1207670072.41: Outbound recording not enabled -- AGI Script recordingcheck completed, returning 0 -- Executing [s@macro-record-enable:5] NoOp("SIP/3000-08c8a818", "No recording needed") in new stack -- Executing [0822122120@from-internal:4] Macro("SIP/3000-08c8a818", "dialout-trunk|1|0822122120||") in new stack -- Executing [s@macro-dialout-trunk:1] Set("SIP/3000-08c8a818", "DIAL_TRUNK=1") in new stack -- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/3000-08c8a818", "0|Authenticate|") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/3000-08c8a818", "0?disabletrunk|1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("SIP/3000-08c8a818", "DIAL_NUMBER=0822122120") in new stack -- Executing [s@macro-dialout-trunk:5] Set("SIP/3000-08c8a818", "DIAL_TRUNK_OPTIONS=tr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("SIP/3000-08c8a818", "GROUP()=OUT_1") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/3000-08c8a818", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/3000-08c8a818", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("SIP/3000-08c8a818", "DIAL_TRUNK_OPTIONS=") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("SIP/3000-08c8a818", "outbound-callerid|1") in new stack -- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/3000-08c8a818", "1?start") in new stack -- Goto (macro-outbound-callerid,s,3) -- Executing [s@macro-outbound-callerid:3] NoOp("SIP/3000-08c8a818", "REALCALLERIDNUM is 3000") in new stack -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/3000-08c8a818", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,9) -- Executing [s@macro-outbound-callerid:9] Set("SIP/3000-08c8a818", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:10] Set("SIP/3000-08c8a818", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:11] Set("SIP/3000-08c8a818", "TRUNKOUTCID=hidden") in new stack -- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/3000-08c8a818", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,16) -- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/3000-08c8a818", "0?usercid") in new stack -- Executing [s@macro-outbound-callerid:17] Set("SIP/3000-08c8a818", "CALLERID(all)=hidden") in new stack -- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/3000-08c8a818", "1?report") in new stack -- Goto (macro-outbound-callerid,s,22) -- Executing [s@macro-outbound-callerid:22] NoOp("SIP/3000-08c8a818", "CallerID set to "hidden" <>") in new stack -- Executing [s@macro-dialout-trunk:12] AGI("SIP/3000-08c8a818", "fixlocalprefix") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix -- AGI Script fixlocalprefix completed, returning 0 -- Executing [s@macro-dialout-trunk:13] Set("SIP/3000-08c8a818", "OUTNUM=0822122120") in new stack -- Executing [s@macro-dialout-trunk:14] Set("SIP/3000-08c8a818", "custom=ZAP/g0") in new stack -- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/3000-08c8a818", "1?gocall") in new stack -- Goto (macro-dialout-trunk,s,17) -- Executing [s@macro-dialout-trunk:17] Macro("SIP/3000-08c8a818", "dialout-trunk-predial-hook|") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/3000-08c8a818", "0?bypass|1") in new stack -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/3000-08c8a818", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:20] Dial("SIP/3000-08c8a818", "ZAP/g0/0822122120|300|") in new stack -- Requested transfer capability: 0x00 - SPEECH -- Called g0/0822122120 -- Channel 0/1, span 1 got hangup, cause 44 -- Forcing restart of channel 0/1 on span 1 since channel reported in use -- Hungup 'Zap/1-1' == Everyone is busy/congested at this time (1:0/0/1) -- Executing [s@macro-dialout-trunk:21] Goto("SIP/3000-08c8a818", "s-CHANUNAVAIL|1") in new stack -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/3000-08c8a818", "1?noreport") in new stack -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3) -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/3000-08c8a818", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack -- Executing [0822122120@from-internal:5] Macro("SIP/3000-08c8a818", "outisbusy|") in new stack -- Executing [s@macro-outisbusy:1] Playback("SIP/3000-08c8a818", "all-circuits-busy-now|noanswer") in new stack -- Playing 'all-circuits-busy-now' (language 'en') -- B-channel 0/1 successfully restarted on span 1 == Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/3000-08c8a818' in macro 'outisbusy' == Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/3000-08c8a818' ]# cat /etc/zaptel.conf # Autogenerated by /usr/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: WCT1/0 "Wildcard TE12xP Card 0" span=1,1,0,ccs,hdb3,crc4 # termtype: te bchan=1-15,17-31 dchan=16 # Global data loadzone = us defaultzone = us /etc/asterisk/zapata.conf ; ; Zapata telephony interface ; ; Configuration file [trunkgroups] [channels] language=en context=from-zaptel signalling=fxs_ks 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-channels.conf group=1 ;Include AMP configs #include zapata_additional.conf cat zapata-channels.conf ; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit ; Zaptel Channels Configurations (zapata.conf) ; ; This is not intended to be a complete zapata.conf. Rather, it is intended ; to be #include-d by /etc/zapata.conf that will include the global settings ; ; Span 1: WCT1/0 "Wildcard TE12xP Card 0" group=0,11 context=from-pstn switchtype = euroisdn signalling = pri_cpe channel => 1-15,17-31 group= context=default cat zapata_additional.conf --empty--