[Asterisk-Users] Problem while configuring two TDM400P cards

Tzafrir Cohen tzafrir at cohens.org.il
Wed Jul 20 04:37:08 MST 2005


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 = 5

Any 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 at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend



More information about the asterisk-users mailing list