Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
raulgomez at cantv.net
Guest





PostPosted: Wed Jan 02, 2008 3:11 pm    Post subject: [asterisk-users] Missing "zap" command in Asterisk Reply with quote

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
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Wed Jan 02, 2008 3:35 pm    Post subject: [asterisk-users] Missing "zap" command in Asterisk Reply with quote

On Thu, Jan 03, 2008 at 03:41:52PM +1930, Ra?l G?mez C. wrote:
Quote:
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/*

Quote:

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

Quote:
_______________________________________________
--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
Back to top
jsmith at digium.com
Guest





PostPosted: Wed Jan 02, 2008 3:39 pm    Post subject: [asterisk-users] Missing "zap" command in Asterisk Reply with quote

On Thu, 2008-01-03 at 15:41 +0000, Ra?l G?mez C. wrote:
Quote:
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.
Back to top
asterisk at tescogroup...
Guest





PostPosted: Thu Jan 03, 2008 9:28 am    Post subject: [asterisk-users] Missing "zap" command in Asterisk Reply with quote

Maybe it was all compiled out of order.
I believe that Zaptel has to be compiled AND installed before compiling asterisk to compile the zap channel.

--
--
Steven

http://www.connectech.org/

"Ra?l G?mez C." <raulgomez at cantv.net> wrote in message news:684b0a740801021309w604b6f23k7a592903be2e1798 at mail.gmail.com...
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


------------------------------------------------------------------------------


_______________________________________________
--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/20080103/51f80e7f/attachment.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services