Angus Comber
2005-Jun-04 11:57 UTC
[Asterisk-Users] X100P installed OK, after added TDM400P Asterisk would no longer start
Hello
I setup Asterisk@Home with purely VoIP and it worked fine. I then added an
X100P card so I could call out / take inbound calls via PSTN and that went
fine. But I have just added a TDM400P card (specifically a TDM30B) and now
problems.
Here is some of the output. Any ideas on what I should be looking at next?
When I run genzaptelconf -s -d I get lots of erors on screen - bit I can see
now is:
Found a Wildcard TDM: Wildcard TDM400 R Rev H (4 module)
wcfxs
Running ztcfg: ZT_CHANCONFIG failed on channel 1: Invalid argument (22) Did
you forget that FXS interfaces are configured with FXO signalling and that
FXO interfaces use FXS signalling
[FAILED]
STARTING ASTERISK
Asterisk ended with exit status 1
Asterisk died with code 1
Automatically restarting Asterisk
Asterisk ended with exit status 1
Asteirsk died with code 1
Automatically restarting Asterisk
-------------------------
Asterisk could not start!
use tail etc
Output was:
[root@asterisk1 root]# tail /var/log/asterisk/full
Jun 4 14:35:34 VERBOSE[2223]: == Parsing
'/etc/asterisk/zapata_additional.con
f': Jun 4 14:35:34 VERBOSE[2223]: == Parsing
'/etc/asterisk/zapata_additional.conf': Found
Jun 4 14:35:34 VERBOSE[2223]: == Parsing
'/etc/asterisk/zapata-auto.conf': Jun 4 14:35:34 VERBOSE[2223]: ==
Parsing '/etc/asterisk/zapata-auto.conf': Found
Jun 4 14:35:34 WARNING[2223]: Unable to specify channel 1: No such device
or address
Jun 4 14:35:34 ERROR[2223]: Unable to open channel 1: No such device or
address
here = 0, tmp->channel = 1, channel = 1
Jun 4 14:35:34 ERROR[2223]: Unable to register channel '1'
Jun 4 14:35:34 WARNING[2223]: chan_zap.so: load_module failed, returning -1
Jun 4 14:35:34 VERBOSE[2223]: == Unregistered channel type 'Tor'
Jun 4 14:35:34 VERBOSE[2223]: == Unregistered channel type 'Zap'
Jun 4 14:35:34 WARNING[2223]: Loading module chan_zap.so failed!
[root@asterisk1 root]# [root@asterisk1 root]# tail /var/log/asterisk/full
Jun 4 14:35:34 WARNING[2223]: chan_zap.so: load_module failed, returning -1
Jun 4 14:35:34 VERBOSE[2223]: == Unregistered channel type 'Tor'
Jun 4 14:35:34 VERBOSE[2223]: == Unregistered channel type 'Zap'
-bash: [root@asterisk1: command not found
Jun 4 14:35:34 WARNING[2223]: Loading module chan_zap.so failed!
[root@asterisk1 root]# Jun 4 14:35:34 VERBOSE[2223]: == Parsing
'/etc/asterisk/zapata_additional.con> f': Jun 4 14:35:34 VERBOSE[2223]: == Parsing
> '/etc/asterisk/zapata_additional
> .conf': Found
-bash: Jun: command not found
[root@asterisk1 root]# Jun 4 14:35:34 VERBOSE[2223]: == Parsing
'/etc/asterisk/zapata-auto.conf': Ju
-bash: Jun: command not found
[root@asterisk1 root]# n 4 14:35:34 VERBOSE[2223]: == Parsing
'/etc/asterisk/zapata-auto.conf': Foun
-bash: n: command not found
[root@asterisk1 root]# d
-bash: d: command not found
[root@asterisk1 root]# Jun 4 14:35:34 WARNING[2223]: Unable to specify
channel 1: No such device or ad
-bash: Jun: command not found
[root@asterisk1 root]# dress
-bash: dress: command not found
[root@asterisk1 root]# Jun 4 14:35:34 ERROR[2223]: Unable to open channel
1: No such device or address
-bash: Jun: command not found
[root@asterisk1 root]# here = 0, tmp->channel = 1, channel = 1
-bash: here: command not found
[root@asterisk1 root]# Jun 4 14:35:34 ERROR[2223]: Unable to register
channel '1'
-bash: Jun: command not found
[root@asterisk1 root]# Jun 4 14:35:34 WARNING[2223]: chan_zap.so:
load_module failed, returning -1
-bash: Jun: command not found
[root@asterisk1 root]# Jun 4 14:35:34 VERBOSE[2223]: == Unregistered
channel type 'Tor'
-bash: Jun: command not found
[root@asterisk1 root]# Jun 4 14:35:34 VERBOSE[2223]: == Unregistered
channel type 'Zap'
-bash: Jun: command not found
[root@asterisk1 root]# Jun 4 14:35:34 WARNING[2223]: Loading module
chan_zap.so failed!
-bash: Jun: command not found
[root@asterisk1 root]#
Ralf Schlatterbeck
2005-Jun-04 12:30 UTC
[Asterisk-Users] X100P installed OK, after added TDM400P Asterisk would no longer start
On Sat, Jun 04, 2005 at 07:57:36PM +0100, Angus Comber wrote:> But I have just added a TDM400P card (specifically a TDM30B) and now > problems. > > Found a Wildcard TDM: Wildcard TDM400 R Rev H (4 module) > wcfxs > Running ztcfg: ZT_CHANCONFIG failed on channel 1: Invalid argument (22) Did > you forget that FXS interfaces are configured with FXO signalling and that > FXO interfaces use FXS signalling > > [FAILED]You have FXS modules (to attach analogue phones), the driver already tells you, you probably have configured wrong signalling in /etc/zaptel.conf, for an FXS module it should have somthing like: fxoks=1-8 (the numbers depend on how many modules you have, so you should have 1-3 I guess) Ralf -- Ralf Schlatterbeck email: ralf@zoo.priv.at FAX: +43/2243/26465/23
Angus Comber
2005-Jun-04 15:20 UTC
[Asterisk-Users] X100P installed OK, after added TDM400P Asterisk would no longer start
This is what I have: # Span 1: WCTDM/0 "Wildcard TDM400P REV H Board 1" fxoks=1 fxoks=2 fxoks=3 # channel 4, WCTDM, inactive. # Span 2: WCFXO/0 "Wildcard X101P Board 1" fxsks=5 # Global data loadzone = us defaultzone = us Which from your response appears correct. Could it have confused the cards? If I swap them in the config might that work? Angus ----- Original Message ----- From: "Ralf Schlatterbeck" <ralf@zoo.priv.at> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Saturday, June 04, 2005 8:30 PM Subject: Re: [Asterisk-Users] X100P installed OK,after added TDM400P Asterisk would no longer start> On Sat, Jun 04, 2005 at 07:57:36PM +0100, Angus Comber wrote: >> But I have just added a TDM400P card (specifically a TDM30B) and now >> problems. >> >> Found a Wildcard TDM: Wildcard TDM400 R Rev H (4 module) >> wcfxs >> Running ztcfg: ZT_CHANCONFIG failed on channel 1: Invalid argument (22) >> Did >> you forget that FXS interfaces are configured with FXO signalling and >> that >> FXO interfaces use FXS signalling >> >> [FAILED] > > You have FXS modules (to attach analogue phones), the driver already > tells you, you probably have configured wrong signalling in > /etc/zaptel.conf, for an FXS module it should have somthing like: > > fxoks=1-8 > > (the numbers depend on how many modules you have, so you should have 1-3 > I guess) > > Ralf > -- > Ralf Schlatterbeck > email: ralf@zoo.priv.at FAX: +43/2243/26465/23 > > _______________________________________________ > 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 >
Ralf Schlatterbeck
2005-Jun-04 22:22 UTC
[Asterisk-Users] X100P installed OK, after added TDM400P Asterisk would no longer start
On Sat, Jun 04, 2005 at 11:20:47PM +0100, Angus Comber wrote:> This is what I have: > > # Span 1: WCTDM/0 "Wildcard TDM400P REV H Board 1" > fxoks=1 > fxoks=2 > fxoks=3 > # channel 4, WCTDM, inactive. > > # Span 2: WCFXO/0 "Wildcard X101P Board 1" > fxsks=5 > > # Global data > > loadzone = us > defaultzone = us > > > Which from your response appears correct. > > Could it have confused the cards? If I swap them in the config might that > work?Depends on the order you load the drivers I think. So swapping them in the config will probably help, yes. The FXS modules would then be 5-7 and the FXO 1... You really have two boards, one with 3 FXS modules and one with a single FXO module? Ralf -- Ralf Schlatterbeck email: ralf@zoo.priv.at FAX: +43/2243/26465/23
Angus Comber
2005-Jun-05 07:38 UTC
[Asterisk-Users] X100P installed OK, after added TDM400P Asterisk would no longer start
----- Original Message ----- From: "Ralf Schlatterbeck" <ralf@zoo.priv.at> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Sunday, June 05, 2005 6:22 AM Subject: Re: [Asterisk-Users] X100P installed OK,after added TDM400P Asterisk would no longer start> On Sat, Jun 04, 2005 at 11:20:47PM +0100, Angus Comber wrote: >> This is what I have: >> >> # Span 1: WCTDM/0 "Wildcard TDM400P REV H Board 1" >> fxoks=1 >> fxoks=2 >> fxoks=3 >> # channel 4, WCTDM, inactive. >> >> # Span 2: WCFXO/0 "Wildcard X101P Board 1" >> fxsks=5 >> >> # Global data >> >> loadzone = us >> defaultzone = us >> >> >> Which from your response appears correct. >> >> Could it have confused the cards? If I swap them in the config might >> that >> work? > Depends on the order you load the drivers I think. So swapping them in > the config will probably help, yes. The FXS modules would then be 5-7 > and the FXO 1... > > You really have two boards, one with 3 FXS modules and one with a single > FXO module?In the end I just removed the X100P board. I want to buy a four port analog trunk card and use this for real anyway. I suspect however that if I had swapped the cards in the config it might have worked. Angus> > Ralf > -- > Ralf Schlatterbeck > email: ralf@zoo.priv.at FAX: +43/2243/26465/23 > > _______________________________________________ > 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 >