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.
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=1fxoks=1 # ditto for the signalling entry below.> loadzone = it > defaultzone=it > > > /etc/asterisk/zapata.conf > [channels] > language=en > context=from-sip > signalling=fxs_kssignalling=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 > directoryAs 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@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@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend
jerry@voiptower.com
2005-Jul-25 08:35 UTC
[Asterisk-Users] Zap channel configuration problem
Hi Alexis, Quoting "Alexis F." <a.fecourt@labplug.com>:> 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 make modprobe zaptel && modprobe wctdm without error return.Does it report finding the card?> Configuration files : > > /etc/zaptel.conf > fxsks=1 > loadzone = it > defaultzone=it > > > /etc/asterisk/zapata.conf > [channels] > language=en > context=from-sip > signalling=fxs_ksI don't see a channel definition line there. I think it should be something like: channel => 1 but depends on your hardware config. Asterisk definately doesn't know about your zap, and that is why you are getting that error. To be sure, issue a "zap show channels" in the CLI. J.
On Mon, 25 Jul 2005 15:44:07 +0200 "Alexis F." <a.fecourt@labplug.com> 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 am sure someone will correct me if I am worng, but I just looked on Digium's sit to verify, and the Green moduls are FXS modules for connecting analog phone sets. NOT to connect to the PSTN. For the PSTN you would need the FXO module which is red. Hopefully you have not had any incoming calls, as that will blow up the FXS module and make it unusable!!!!> 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/1You configs above regarding signalling would be correct IF you had the FXO module and not the FXS module. <SNIP>