Mazhar Hussain
2005-Jul-20 04:22 UTC
[Asterisk-Users] Problem while configuring two TDM400P cards
Hi to all, I have been using Wildcard TDM400P with four fxs modules and it was working fine now I have added another Wildcard TDM400P with four fxs modules . So there are total 8 ports for 8 hard phones. I have modified following configurations In /etc/zaptel.conf loadzone=us defaultzone=us fxoks=1-8 in /etc/asterisk/zapata.conf context=headoffice signalling = fxo_ks callerid="HeadOffice" channel => 1-4 ;channel => 1-8 /sbin/modprobe wcfxs works fine ans show eight modules mapped. But when I run /sbin/ztcfg ?vvv I get following error ZT_CHANCONFIG failed on channel 5 Is there error in configuration I also have checked Diguim card separately it works This I found in /var/log/asterisk/messages Jul 20 11:57:04 WARNING[1144]: Unable to specify channel 5: Device or resource busy Jul 20 11:57:04 ERROR[1144]: Unable to open channel 5: Device or resource busy here = 0, tmp->channel = 5, channel = 5 Jul 20 11:57:04 ERROR[1144]: Unable to register channel '1-8' Jul 20 11:57:04 WARNING[1144]: chan_zap.so: load_module failed, returning -1 Jul 20 11:57:04 WARNING[1144]: Loading module chan_zap.so failed! I will be very tanksfull to for this help. As I always get my query solved from here. Regards, Mazhar Nettechltd.com
Tzafrir Cohen
2005-Jul-20 04:37 UTC
[Asterisk-Users] Problem while configuring two TDM400P cards
On Wed, Jul 20, 2005 at 04:22:01AM -0700, Mazhar Hussain wrote:> Hi to all, > > > I have been using Wildcard TDM400P with four fxs modules and it was > working fine now I have added another Wildcard TDM400P with four fxs > modules . So there are total 8 ports for 8 hard phones. > > I have modified following configurations > > In /etc/zaptel.conf > loadzone=us > defaultzone=us > fxoks=1-8 > > in > > /etc/asterisk/zapata.conf > context=headoffice > signalling = fxo_ks > callerid="HeadOffice" > channel => 1-4 > ;channel => 1-8 > > /sbin/modprobe wcfxs > works fine ans show eight modules mapped. > > But when I run > /sbin/ztcfg ?vvv > I get following error > > ZT_CHANCONFIG failed on channel 5 > Is there error in configuration I also have checked Diguim card > separately it works > > This I found in /var/log/asterisk/messages > > > > > Jul 20 11:57:04 WARNING[1144]: Unable to specify channel 5: Device or > resource busy > Jul 20 11:57:04 ERROR[1144]: Unable to open channel 5: Device or resource busy > here = 0, tmp->channel = 5, channel = 5Any chance there's a problem with the second card? grep . /proc/zap/* # just in case: ls -l /dev/zap/5 And naturally: what kernel? What version of Asterisk? What distribution? -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend
Watkins, Bradley
2005-Jul-20 05:24 UTC
[Asterisk-Users] Problem while configuring two TDM400P cards
What revision of card is the new one? It sounds like you have one of the new Rev I cards and you aren't running either 1.0.9 or CVS HEAD. Either of these will solve your problem if I am correct. Regards, - Brad -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Mazhar Hussain Sent: Wednesday, July 20, 2005 7:22 AM To: asterisk-users@lists.digium.com Cc: asterisk-users-request@lists.digium.com Subject: [Asterisk-Users] Problem while configuring two TDM400P cards Hi to all, I have been using Wildcard TDM400P with four fxs modules and it was working fine now I have added another Wildcard TDM400P with four fxs modules . So there are total 8 ports for 8 hard phones. I have modified following configurations In /etc/zaptel.conf loadzone=us defaultzone=us fxoks=1-8 in /etc/asterisk/zapata.conf context=headoffice signalling = fxo_ks callerid="HeadOffice" channel => 1-4 ;channel => 1-8 /sbin/modprobe wcfxs works fine ans show eight modules mapped. But when I run /sbin/ztcfg -vvv I get following error ZT_CHANCONFIG failed on channel 5 Is there error in configuration I also have checked Diguim card separately it works This I found in /var/log/asterisk/messages Jul 20 11:57:04 WARNING[1144]: Unable to specify channel 5: Device or resource busy Jul 20 11:57:04 ERROR[1144]: Unable to open channel 5: Device or resource busy here = 0, tmp->channel = 5, channel = 5 Jul 20 11:57:04 ERROR[1144]: Unable to register channel '1-8' Jul 20 11:57:04 WARNING[1144]: chan_zap.so: load_module failed, returning -1 Jul 20 11:57:04 WARNING[1144]: Loading module chan_zap.so failed! I will be very tanksfull to for this help. As I always get my query solved from here. Regards, Mazhar Nettechltd.com The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.