Wiley E. Siler
2004-Oct-05 03:31 UTC
[Asterisk-Users] problems withX100P-Nochanneltyperegisteredfor'Zap'
For reference... http://www.voip-info.org/wiki-Asterisk+zap+channels Not sure it is relevant but go ahead and remove the spacing on the channel line so it will read.... channel=>1 Here is the original incoming context you showed. [incoming] exten => s,1,Answer ; Answer the line exten => s,2,Playback,demo-thanks ;for playing a file The Playback looks malformed based upon the wiki (http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20Playback) Use this instead.... exten => s,2,Playback(demo-thanks) ;for playing a file Stop * from the CLI and then restart using the following... asterisk <press enter> astersik -vvvr <press enter> Now issue the ZAP SHOW CHANNELS command again. If your ztcfg -vv gave you channels, they should be working. The order you compiled everything in is important too... http://www.automated.it/guidetoasterisk.htm#_Toc49248761 -----Original Message----- From: khoonking [mailto:khoonkingsg@yahoo.com.sg] Sent: Tuesday, October 05, 2004 3:12 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] problems withX100P-Nochanneltyperegisteredfor'Zap' [channels] switchtype=national echocancel=yes echocancelwhenbridged=yes signalling=fxs_ks context=incoming channel => 1 ;X100P -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Wiley E. Siler Sent: Tuesday, October 05, 2004 5:50 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] problems with X100P-Nochanneltyperegisteredfor'Zap' You should see something like this.... (I have 8 channels) tuxpbx*CLI> zap show channels Chan Extension Context Language MusicOnHold pseudo incoming en 1 incoming en 2 incoming en 3 incoming en 4 incoming en 5 incoming en 6 incoming en 7 incoming en 8 incoming en tuxpbx*CLI> What is the full contents of your zapata.conf? W -----Original Message----- From: khoonking [mailto:khoonkingsg@yahoo.com.sg] Sent: Tuesday, October 05, 2004 2:32 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] problems with X100P -Nochanneltyperegisteredfor'Zap'>If you run ZAP SHOW CHANNELS from the CLI what do you see?No such command Best Regards Meng Kim -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Wiley E. Siler Sent: Tuesday, October 05, 2004 5:13 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] problems with X100P - Nochanneltyperegisteredfor'Zap' This may seem obvious or silly but have you tried using a different phone cord? A bad phone cord played havoc on a colleague of mine during initial config. Fro what you show as your output from ztcfg, you should have one channel configured successfully then. Your example shows you have the channel set to one so no problem there. If you run ZAP SHOW CHANNELS from the CLI what do you see? W -----Original Message----- From: khoonking [mailto:khoonkingsg@yahoo.com.sg] Sent: Tuesday, October 05, 2004 1:53 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] problems with X100P - Nochanneltyperegisteredfor 'Zap' Hi, This is what I have when I run ztcfg [root]# modprobe zaptel [root]# modprobe wcfxo [root]# ztcfg -vv Zaptel Configuration ===================== Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) 1 channels configured.>Basically you need to look through the startup messages till you come >up with the proper error message concerning why it isn't accepting the >zap definition.I don't see any error message when I run asterisk -vvvvgc. Ussually, it will print parsing of extensions.conf, sip.conf and etc. Does it parse the file zapata.conf? -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Steven Critchfield Sent: Tuesday, October 05, 2004 3:39 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] problems with X100P - Nochanneltyperegistered for 'Zap' On Tue, 2004-10-05 at 02:15, khoonking wrote:> Hi, > > I have confirmed that there is no space between "=>" but still the > same problem. > > > zapatel.conf > > =======================> > [channels] > > signalling=fxs_ks > > context=incoming > channel => 1 ;X100P > > >[incoming] > >;exten => s,1,Echo ;for testing the connection > >exten => s,1,Answer ; Answer the line > >exten => s,2,Playback,demo-thanks ;for playing a file > > > [default] > > exten => 6200,1,Dial(SIP/6200,20) > > exten => 6203,1,Dial(SIP/6203,20) > > exten => _X.,1,Dial,Zap/1/${EXTEN} > > When I call from an analog phone to the X100P ext, Asterisk CLI screen> does not print anything.if asterisk doesn't know about the port yet, it can't detect the signal nor answer the line. Basically you need to look through the startup messages till you come up with the proper error message concerning why it isn't accepting the zap definition. -- Steven Critchfield <critch@basesys.com> _______________________________________________ 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 _______________________________________________ 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 The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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
khoonking
2004-Oct-05 19:22 UTC
[Asterisk-Users] problemswithX100P-Nochanneltyperegisteredfor'Zap'
Hi all, Finally managed to get it working. The problem is the order of compilation. My asterisk has been running for a while without the hardware card. So I just compile the zaptel source code and it is causing the problems. The order of compilation should be 1. compile zaptel 2. compile asterisk. Thanks for all the help. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Wiley E. Siler Sent: Tuesday, October 05, 2004 6:31 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] problemswithX100P-Nochanneltyperegisteredfor'Zap' For reference... http://www.voip-info.org/wiki-Asterisk+zap+channels Not sure it is relevant but go ahead and remove the spacing on the channel line so it will read.... channel=>1 Here is the original incoming context you showed. [incoming] exten => s,1,Answer ; Answer the line exten => s,2,Playback,demo-thanks ;for playing a file The Playback looks malformed based upon the wiki (http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20Playback) Use this instead.... exten => s,2,Playback(demo-thanks) ;for playing a file Stop * from the CLI and then restart using the following... asterisk <press enter> astersik -vvvr <press enter> Now issue the ZAP SHOW CHANNELS command again. If your ztcfg -vv gave you channels, they should be working. The order you compiled everything in is important too... http://www.automated.it/guidetoasterisk.htm#_Toc49248761 -----Original Message----- From: khoonking [mailto:khoonkingsg@yahoo.com.sg] Sent: Tuesday, October 05, 2004 3:12 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] problems withX100P-Nochanneltyperegisteredfor'Zap' [channels] switchtype=national echocancel=yes echocancelwhenbridged=yes signalling=fxs_ks context=incoming channel => 1 ;X100P -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Wiley E. Siler Sent: Tuesday, October 05, 2004 5:50 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] problems with X100P-Nochanneltyperegisteredfor'Zap' You should see something like this.... (I have 8 channels) tuxpbx*CLI> zap show channels Chan Extension Context Language MusicOnHold pseudo incoming en 1 incoming en 2 incoming en 3 incoming en 4 incoming en 5 incoming en 6 incoming en 7 incoming en 8 incoming en tuxpbx*CLI> What is the full contents of your zapata.conf? W -----Original Message----- From: khoonking [mailto:khoonkingsg@yahoo.com.sg] Sent: Tuesday, October 05, 2004 2:32 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] problems with X100P -Nochanneltyperegisteredfor'Zap'>If you run ZAP SHOW CHANNELS from the CLI what do you see?No such command Best Regards Meng Kim -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Wiley E. Siler Sent: Tuesday, October 05, 2004 5:13 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] problems with X100P - Nochanneltyperegisteredfor'Zap' This may seem obvious or silly but have you tried using a different phone cord? A bad phone cord played havoc on a colleague of mine during initial config. Fro what you show as your output from ztcfg, you should have one channel configured successfully then. Your example shows you have the channel set to one so no problem there. If you run ZAP SHOW CHANNELS from the CLI what do you see? W -----Original Message----- From: khoonking [mailto:khoonkingsg@yahoo.com.sg] Sent: Tuesday, October 05, 2004 1:53 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] problems with X100P - Nochanneltyperegisteredfor 'Zap' Hi, This is what I have when I run ztcfg [root]# modprobe zaptel [root]# modprobe wcfxo [root]# ztcfg -vv Zaptel Configuration ===================== Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) 1 channels configured.>Basically you need to look through the startup messages till you come >up with the proper error message concerning why it isn't accepting the >zap definition.I don't see any error message when I run asterisk -vvvvgc. Ussually, it will print parsing of extensions.conf, sip.conf and etc. Does it parse the file zapata.conf? -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Steven Critchfield Sent: Tuesday, October 05, 2004 3:39 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] problems with X100P - Nochanneltyperegistered for 'Zap' On Tue, 2004-10-05 at 02:15, khoonking wrote:> Hi, > > I have confirmed that there is no space between "=>" but still the > same problem. > > > zapatel.conf > > =======================> > [channels] > > signalling=fxs_ks > > context=incoming > channel => 1 ;X100P > > >[incoming] > >;exten => s,1,Echo ;for testing the connection > >exten => s,1,Answer ; Answer the line > >exten => s,2,Playback,demo-thanks ;for playing a file > > > [default] > > exten => 6200,1,Dial(SIP/6200,20) > > exten => 6203,1,Dial(SIP/6203,20) > > exten => _X.,1,Dial,Zap/1/${EXTEN} > > When I call from an analog phone to the X100P ext, Asterisk CLI screen> does not print anything.if asterisk doesn't know about the port yet, it can't detect the signal nor answer the line. Basically you need to look through the startup messages till you come up with the proper error message concerning why it isn't accepting the zap definition. -- Steven Critchfield <critch@basesys.com> _______________________________________________ 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 _______________________________________________ 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 The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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