[asterisk-users] Missing "zap" command in Asterisk 1.4.16

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Jan 2 14:35:23 CST 2008


On Thu, Jan 03, 2008 at 03:41:52PM +1930, Raúl Gómez C. wrote:
> Hi list,
> 
> I've just compiled and installed Asterisk 1.4.16 and when I try to run "zap
> show" I get the message  "*No such command 'zap show'*".
> 
> I have a Sangoma Remora A400D with 2 FXS / 10 FXO ports, I've installed the
> latest wanpipe too.
> 
> zaptel-1.4.7.1 was compiled from the wanpipe installation, so I don't know
> what's happening here!!!
> 
> Any ideas???

Either you have not loaded chan_zap in modules.conf (but in this case
you would have probably known about it) or it has failed to load.

In the latter case you should see some messages from it about some
channels it has failed to use.

What is the output of:

  cat /proc/zaptel/*

> 
> Thanks in advance!!
> 
> Note: Below are my zapata.conf and zaptel.conf files
> 
> 
> ############ BEGIN ZAPATA.CONF ########
> ;autogenerated by /usr/local/sbin/config-zaptel  do not hand edit
> ;Zaptel Channels Configurations (zapata.conf)
> ;
> ;For detailed zapata options, view /etc/asterisk/zapata.conf.orig
> 
> [trunkgroups]
> 
> [channels]
> context=default
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> canpark=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> relaxdtmf=yes
> rxgain=0.0
> txgain=0.0
> group=1
> callgroup=1
> pickupgroup=1
> 
> immediate=no
> 
> ;Sangoma A400 [slot:4 bus:16 span:1]
> context=from-internal
> group=1
> signalling = fxo_ks
> channel => 1
> 
> context=from-internal
> group=1
> signalling = fxo_ks
> channel => 2
> 
> context=from-zaptel
> group=0
> signalling = fxs_ks
> channel => 3
> 
> context=from-zaptel
> group=0
> signalling = fxs_ks
> channel => 4
> 
> context=from-zaptel
> group=0
> signalling = fxs_ks
> channel => 5
> 
> context=from-zaptel
> group=0
> signalling = fxs_ks
> channel => 6
> 
> context=from-zaptel
> group=0
> signalling = fxs_ks
> channel => 7
> 
> context=from-zaptel
> group=0
> signalling = fxs_ks
> channel => 8
> 
> context=from-zaptel
> group=0
> signalling = fxs_ks
> channel => 9
> 
> context=from-zaptel
> group=0
> signalling = fxs_ks
> channel => 10
> 
> context=from-zaptel
> group=0
> signalling = fxs_ks
> channel => 11
> 
> context=from-zaptel
> group=0
> signalling = fxs_ks
> channel => 12
> ############# END ZAPATA.CONF ######
> 
> ############# BEGIN ZAPTEL.CONF ######
> # Autogenerated by /usr/local/sbin/sangoma/setup-sangoma -- do not hand edit
> # Zaptel Channels Configurations (zaptel.conf)
> #
> loadzone=us
> defaultzone=us
> 
> #Sangoma A400 [slot:4 bus:16 span:1]
> fxoks=1
> fxoks=2
> fxsks=3
> fxsks=4
> fxsks=5
> fxsks=6
> fxsks=7
> fxsks=8
> fxsks=9
> fxsks=10
> fxsks=11
> fxsks=12
> ############ END ZAPTEL.CONF #######
> 
> -- 
> Raul
> Linux Counter #156439

> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list