Raúl Gómez C.
2008-Jan-02 20:11 UTC
[asterisk-users] Missing "zap" command in Asterisk 1.4.16
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??? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080103/19946e4e/attachment.htm
Tzafrir Cohen
2008-Jan-02 20:35 UTC
[asterisk-users] Missing "zap" command in Asterisk 1.4.16
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
Jared Smith
2008-Jan-02 20:39 UTC
[asterisk-users] Missing "zap" command in Asterisk 1.4.16
On Thu, 2008-01-03 at 15:41 +0000, Ra?l G?mez C. wrote:> 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'".This usually happens when chan_zap.so won't load. The number one cause for this is a zapata.conf configuration problem. Here's a quick run-down on things to check: 1) Stop Asterisk 2) Run 'cat /proc/zaptel/*' and make sure the spans are in the order you want them in 3) Run 'ztcfg -vvv' and make sure the channel numbers and signaling look good. 4) Once you've got the zaptel side working, then go into zapata.conf and make sure the channel numbers and signaling are correct. 5) Start Asterisk 6) If you still have no zap commands, turn up the debug and verbosity levels and then unload and reload the module: CLI> core set verbose 9 CLI> core set debug 9 CLI> module unload chan_zap.so CLI> module load chan_zap.so Give that a whirl and let me know if that helps at all... -- Jared Smith Community Relations Manager Digium, Inc.
Tomás Laureano Peralta Tormey
2008-Jan-02 20:41 UTC
[asterisk-users] Missing "zap" command in Asterisk 1.4.16
Have you tried to run the command "core show channeltypes"? If you don't see an entry for Zap, it's possible that the channel chan_zap failed to load for some reason. If this is the case, you should try to analize the asterisk log to see why the channel refused to load. It could be a configuration problem, for example. Best regards, Tom?s. On Jan 2, 2008 6:11 PM, Ra?l G?mez C. <raulgomez at cantv.net> 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??? > > 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080102/5058e605/attachment.htm
Brett Crapser
2008-Jan-02 20:51 UTC
[asterisk-users] Missing "zap" command in Asterisk 1.4.16
Sure that isn't supposed to be 'zap show status' or 'zap show channels' I don't have a Sangoma card but... Brett On Thu, 3 Jan 2008, [UTF-8] 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??? > > Thanks in advance!!
Raúl Gómez C.
2008-Jan-02 21:09 UTC
[asterisk-users] Missing "zap" command in Asterisk 1.4.16
Well, problem solved, I've just recompiled Asterisk and now the "zap" command is working fine. Again, thank you all for your responses... -- Raul Linux Counter #156439 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080103/9007aeca/attachment.htm