[Asterisk-Users] Zap channel configuration problem
Alexis F.
a.fecourt at labplug.com
Mon Jul 25 06:44:07 MST 2005
Hi,
I would like to use a digum card to call an external number through my
PSTN. I think that I have a problem in the configuration. Asterisk
returns me app_dial.c:764 dial_exec: Unable to create channel of type 'Zap'
I use Fedora core 3.
I installed libpri, zaptel and asterisk.
I plugged my line on the FXS module (green part).
I make modprobe zaptel && modprobe wctdm without error return.
Configuration files :
/etc/zaptel.conf
fxsks=1
loadzone = it
defaultzone=it
/etc/asterisk/zapata.conf
[channels]
language=en
context=from-sip
signalling=fxs_ks
/etc/asterisk/extensions.conf
TRUNK=Zap/g2
TRUNKMSD=1
DIALOUTANALOG=Zap/1
[from-sip]
exten => _9.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _9.,2,Congestion
exten => _0.,1,Dial(${DIALOUTANALOG}/${EXTEN})
exten => _0.,2,Congestion
Anyway, if I dial a number adding 9 or 0, Asterisk returns
-- Executing Dial("SIP/203-3cad", "Zap/1/03208518561") in new stack
Jul 25 15:35:06 NOTICE[2971]: app_dial.c:764 dial_exec: Unable to create
channel of type 'Zap'
== Everyone is busy/congested at this time
-- Executing Congestion("SIP/203-3cad", "") in new stack
== Spawn extension (from-sip, 03208518561, 2) exited non-zero on
'SIP/203-3cad'
Jul 25 15:35:06 ERROR[2971]: cdr_csv.c:222 csv_log: Unable to re-open
master file /var/log/asterisk//cdr-csv//Master.csv : No such file or
directory
Please help me.
Alexis F.
More information about the asterisk-users
mailing list