[Asterisk-Users] TDM400P Issues

Stig Andersson stig at ymex.se
Tue Apr 13 01:39:53 MST 2004


Just a note regarding this issue.

I'm using RH9, two X100p and one TDM400
Loading them in this order:
zaptel
wcfxo
wcfxs

zapata.conf like this:
----------------
fxsks=1                                                                                                                             
fxsks=2                                                                                                                             
;--
fxoks=3                                                                                                                             
fxoks=4                                                                                                                             
fxoks=5                                                                                                                             
fxoks=6        

zaptel.conf like this:
----------------
signalling=fxs_ks                                                                                                                   
channel=1                                                                                                                           
channel=2                                                                                                                           
signalling=fxo_ks                                                                                                                   
channel=3                                                                                                                           
channel=4                                                                                                                           
channel=5                                                                                                                           
channel=6          

This is a fully working config. BUT, note that I will get same complains as
you - during loading of modules. My solution for this was to remove 
the following from /etc/modules.conf

post-install tor2 /sbin/ztcfg                                                                                                      
post-install wcfxo /sbin/ztcfg                                                                                                     
post-install wct1xxp /sbin/ztcfg                                                                                                   
post-install wct4xxp /sbin/ztcfg                                                                                                   
post-install wcfxs /sbin/ztcfg                                                                                                     
post-install wcfxsusb /sbin/ztcfg                                                                                                  
post-install torisa /sbin/ztcfg     

and instead running /sbin/ztcfg after modules was loaded.
It seems as this "ztcfg" gets confused when running 
after each module as it is done when part part of post-install.

Maybe helps...

/Stig


At 17:14 2004-04-13 +1000, you wrote:
>> This looks wrong.  What is the full output of ztcfg -vvv?
>
>Zaptel Configuration
>======================
>
>
>Channel map:
>
>Channel 01: FXS Kewlstart (Default) (Slaves: 01)
>Channel 02: FXO Kewlstart (Default) (Slaves: 02)
>Channel 03: FXO Kewlstart (Default) (Slaves: 03)
>Channel 04: FXS Kewlstart (Default) (Slaves: 04)
>
>4 channels configured.
>
>> I'd be surprised if this worked as expected once you got * started...
>
>Well now that I just tried * it doesn't work...
>
>--snip--
>  [chan_zap.so] => (Zapata Telephony w/PRI)
>   == Parsing '/etc/asterisk/zapata.conf': Found
>     -- Registered channel 1, FXS Kewlstart signalling
>Apr 13 17:13:42 WARNING[16384]: chan_zap.c:665 zt_open: Unable to 
>specify channel 4: No such device
>Apr 13 17:13:42 ERROR[16384]: chan_zap.c:5319 mkintf: Unable to open 
>channel 4: No such device
>here = 0, tmp->channel = 4, channel = 4
>Apr 13 17:13:42 ERROR[16384]: chan_zap.c:7355 setup_zap: Unable to 
>register channel '4'
>Apr 13 17:13:42 WARNING[16384]: loader.c:313 ast_load_resource: 
>chan_zap.so: load_module failed, returning -1
>   == Unregistered channel type 'Tor'
>   == Unregistered channel type 'Zap'
>     -- Unregistered channel 1
>     -- Unregistered channel 2
>Apr 13 17:13:42 WARNING[16384]: loader.c:408 load_modules: Loading 
>module chan_zap.so failed!
>--snip--
>
>> Out of curiosity, what's the arrangement of the cards in the slots?  Is
>> the TDM card between the two X100Ps?
>
>The TDM is above the two X100P's, before it was below them.
>
>-- 
>jeremy bogan    [ jeremy at segpub.com.au ]
>segment publishing - design.develop.host
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at 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
> 
-------------------------------------------------------------------------------------
N Y H E T E R! 
- Internetaccess (Modem/ISDN64+128 via Ymex - utan abonnemangskostnad!!!
  ONLINE-registrering på www.ymex.se
- Uppringd SMTP, slut på Telias monopol, nu kan även Ymex erbjuda!
- Surf24 - en billig bredbandstjänst från Ymex för kunder i Härnösand/Älandsbro.
-------------------------------------------------------------------------------------
Get your emailed Web-forms into a database of your choice!!!
  Checkout DBFORM V1.0, see details at http://www.ymex.se
UucpGate V1.3a - The No:1 UUCP gateway for allmost any Email server!
New release! Mailcoach V2.27 - The business E-mail solution. http://www.mailcoach.com/   
-------------------------------------------------------------------------------------
Ymex AB| Alvägen 7 | 871 52 Härnösand | Sweden | http://www.ymex.se/



More information about the asterisk-users mailing list