[Asterisk-Users] Zap channel configuration problem
Tzafrir Cohen
tzafrir at cohens.org.il
Mon Jul 25 07:26:14 MST 2005
On Mon, Jul 25, 2005 at 03:44:07PM +0200, Alexis F. wrote:
> 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
fxoks=1
# ditto for the signalling entry below.
> loadzone = it
> defaultzone=it
>
>
> /etc/asterisk/zapata.conf
> [channels]
> language=en
> context=from-sip
> signalling=fxs_ks
signalling=fxo_ks
channels=>1
>
> /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
As a sanity check:
zap show channels
probably only shows "pseudo" now. You need to see there '1' as well.
>
>
> Please help me.
>
> Alexis F.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Tzafrir Cohen | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
ICQ# 16849755 | | friend
More information about the asterisk-users
mailing list