All pastes #405789 Raw Edit

Someone

public text v1 · immutable
·published 2007-03-21 22:51 UTC
rendered paste body
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


# Global data

loadzone        = us
defaultzone     = us

# HFC CARD NOTE:
# When run for the first time the card numbers start from 1
# When run subsequently the card numbers start from 0
# Go figure!


# Span 1: ZTHFC1 "HFC-S PCI A ISDN card 1 [TE]"
span=1,1,3,ccs,ami
bchan=1-2
dchan=3


# Span 2: ZTHFC2 "HFC-S PCI A ISDN card 2 [TE]"
span=2,1,3,ccs,ami
bchan=4-5
dchan=6

-----------------------------------

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-auto.conf

;group=1

;Include AMP configs
#include zapata_additional.conf



;Include BRI-HFC configs
#include zapata-BRI-HFC.conf

-----------------------------------------

*CLI

 -- Executing NoOp("Zap/1-1", "CallerID set to "" <2106520660>") in new stack
    -- Executing GotoIf("Zap/1-1", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,16)
    -- Executing DeadAGI("Zap/1-1", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing Set("Zap/1-1", "OUTNUM=003317035391") in new stack
    -- Executing Set("Zap/1-1", "custom=ZAP/g0") in new stack
    -- Executing GotoIf("Zap/1-1", "0?customtrunk") in new stack
    -- Executing Dial("Zap/1-1", "ZAP/g0/003317035391|300|") in new stack
    -- Requested transfer capability: 0x10 - 3K1AUDIO
    -- Called g0/003317035391
    -- Zap/2-1 is proceeding passing it to Zap/1-1
    -- Channel 0/2, span 1 got hangup request
    -- Channel 0/2, span 1 received AOC-E charging 0 units
    -- Hungup 'Zap/2-1'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing Goto("Zap/1-1", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing NoOp("Zap/1-1", "Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
    -- Executing Macro("Zap/1-1", "outisbusy|") in new stack
    -- Executing Playback("Zap/1-1", "all-circuits-busy-now|noanswer") in new stack
    -- Playing 'all-circuits-busy-now' (language 'en')
    -- Executing Playback("Zap/1-1", "pls-try-call-later|noanswer") in new stack
    -- Playing 'pls-try-call-later' (language 'en')
    -- Executing Macro("Zap/1-1", "hangupcall") in new stack
    -- Executing ResetCDR("Zap/1-1", "w") in new stack
    -- Executing NoCDR("Zap/1-1", "") in new stack
    -- Executing GotoIf("Zap/1-1", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing GotoIf("Zap/1-1", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing Wait("Zap/1-1", "5") in new stack
    -- Channel 0/1, span 1 got hangup request
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Zap/1-1' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Zap/1-1' in macro 'outisbusy'
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Zap/1-1'
    -- Hungup 'Zap/1-1'