Souza
October 12, 2006, 6:11am
1
I am a newbie and have just got a TDM2400P and am trying to install it on a Trixbox 1.2.0. Can someone help me out on the steps i should carry to install it and be able to use it both for fxs and fxo modules. I have installed the card onto the PCI slot. When i run “zap show channels” its showing:
Chan Extension Context Language MusicOnHold
pseudo from-zaptel en
Does that mean it has been installed? I have one FXS and one FXO modules on the card.
Any help will be appreciated.
you have 4 choices …
TrixBox comes with a shell script to auto-detect cards and set them up. have you run this ? think it’s genzaptelconf.sh (??) … check the documentation.
configure it manually yourself, using the documentation that Digium provide on their website, or the info at voip-info.org/
ask Digium via support@digium.com
ask someone here to do it for you.
if tempted to use 3 and 4 i would hope that you would have had a go yourself first, unless you want to pay for support.
Souza
October 12, 2006, 9:47am
3
Hi Baconbuttie,
The command “genzaptelconf” brings me the below output.
STOPPING ASTERISK
STOPPING FOP SERVER
Generating '/etc/zaptel.conf’
Generating '/etc/asterisk/zapata-auto.conf’
Unloading zaptel hardware drivers:
Unloading ztdummy: [ OK ]
Unloading wcfxs: ERROR: Module wcfxs does not exist in /proc/modules
[FAILED]
Unloading wctdm: [ OK ]
Unloading wcfxo: [ OK ]
Unloading wcte11xp: [ OK ]
Unloading wct1xxp: [ OK ]
Unloading wct4xxp: [ OK ]
Unloading tor2: [ OK ]
Removing zaptel module: ERROR: Module zaptel is in use by wctdm24xxp
[FAILED]
Loading zaptel framework: [ OK ]
Waiting for zap to come online: [ OK ]
Loading zaptel hardware modules:
Loading tor2: [ OK ]
Loading wct4xxp: [ OK ]
Loading wct1xxp: [ OK ]
Loading wcte11xp: [ OK ]
Loading wcfxo: [ OK ]
Loading wctdm: [ OK ]
Loading wcfxs: FATAL: Module wcfxs not found.
[FAILED]
Loading ztdummy: [ OK ]
Running ztcfg: [ OK ]
SETTING FILE PERMISSIONS
Permissions OK
STARTING ASTERISK
Set to realtime thread
Running as group 'asterisk’
Running as user 'asterisk’
Asterisk 1.2.11 svn rev 40948, Copyright © 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘show license’ for details.
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk Dynamic Loader loading preload modules:
Asterisk Management interface listening on port 5038
Asterisk PBX Core Initializing
Registering builtin applications:
[AbsoluteTimeout]
[Answer]
[BackGround]
[Busy]
[Congestion]
[DigitTimeout]
[Goto]
[GotoIf]
[GotoIfTime]
[ExecIfTime]
[Hangup]
[NoOp]
[Progress]
[ResetCDR]
[ResponseTimeout]
[Ringing]
[SayNumber]
[SayDigits]
[SayAlpha]
[SayPhonetic]
[SetAccount]
[SetAMAFlags]
[SetGlobalVar]
[SetLanguage]
[Set]
[SetVar]
[ImportVar]
[Wait]
[WaitExten]
Asterisk Dynamic Loader Starting:
[format_wav.so] => (Microsoft WAV format (8000hz Signed Linear))
[format_pcm.so] => (Raw uLaw 8khz Audio support (PCM))
[format_au.so] => (Sun Microsystems AU format (signed linear))
[format_mp3.so] => (MP3 format [Any rate but 8000hz mono optimal])
[res_musiconhold.so] => (Music On Hold Resource)
[res_agi.so] => (Asterisk Gateway Interface (AGI))
[res_adsi.so] => (ADSI Resource)
[res_monitor.so] => (Call Monitoring Resource)
[res_config_mysql.so] => (MySQL RealTime Configuration Driver)
MySQL RealTime driver loaded.
[res_features.so] => (Call Features Resource)
[res_indications.so] => (Indications Configuration)
[res_config_odbc.so] => (ODBC Configuration)
res_config_odbc loaded.
[res_crypto.so] => (Cryptographic Digital Signatures)
[res_odbc.so] => (ODBC Resource)
[pbx_config.so] => (Text Extension Configuration)
[pbx_functions.so] => (Builtin dialplan functions)
[pbx_dundi.so] => (Distributed Universal Number Discovery (DUNDi))
[pbx_ael.so] => (Asterisk Extension Language Compiler)
[pbx_realtime.so] => (Realtime Switch)
[pbx_loopback.so] => (Loopback Switch)
[pbx_spool.so] => (Outgoing Spool Support)
[chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
[chan_agent.so] => (Agent Proxy Channel)
[chan_zap.so] => (Zapata Telephony w/PRI)
– Unregistered channel 1
– Unregistered channel 2
– Unregistered channel 3
– Unregistered channel 4
– Unregistered channel 5
– Unregistered channel 6
– Unregistered channel 7
– Unregistered channel 8
Asterisk died with code 1.
Automatically restarting Asterisk.
Set to realtime thread
Running as group 'asterisk’
Running as user 'asterisk’
Asterisk 1.2.11 svn rev 40948, Copyright © 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘show license’ for details.
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk Dynamic Loader loading preload modules:
Asterisk Management interface listening on port 5038
Asterisk PBX Core Initializing
Registering builtin applications:
[AbsoluteTimeout]
[Answer]
[BackGround]
[Busy]
[Congestion]
[DigitTimeout]
[Goto]
[GotoIf]
[GotoIfTime]
[ExecIfTime]
[Hangup]
[NoOp]
[Progress]
[ResetCDR]
[ResponseTimeout]
[Ringing]
[SayNumber]
[SayDigits]
[SayAlpha]
[SayPhonetic]
[SetAccount]
[SetAMAFlags]
[SetGlobalVar]
[SetLanguage]
[Set]
[SetVar]
[ImportVar]
[Wait]
[WaitExten]
Asterisk Dynamic Loader Starting:
[format_wav.so] => (Microsoft WAV format (8000hz Signed Linear))
[format_pcm.so] => (Raw uLaw 8khz Audio support (PCM))
[format_au.so] => (Sun Microsystems AU format (signed linear))
[format_mp3.so] => (MP3 format [Any rate but 8000hz mono optimal])
[res_musiconhold.so] => (Music On Hold Resource)
[res_agi.so] => (Asterisk Gateway Interface (AGI))
[res_adsi.so] => (ADSI Resource)
[res_monitor.so] => (Call Monitoring Resource)
[res_config_mysql.so] => (MySQL RealTime Configuration Driver)
MySQL RealTime driver loaded.
[res_features.so] => (Call Features Resource)
[res_indications.so] => (Indications Configuration)
[res_config_odbc.so] => (ODBC Configuration)
res_config_odbc loaded.
[res_crypto.so] => (Cryptographic Digital Signatures)
[res_odbc.so] => (ODBC Resource)
[pbx_config.so] => (Text Extension Configuration)
[pbx_functions.so] => (Builtin dialplan functions)
[pbx_dundi.so] => (Distributed Universal Number Discovery (DUNDi))
[pbx_ael.so] => (Asterisk Extension Language Compiler)
[pbx_realtime.so] => (Realtime Switch)
[pbx_loopback.so] => (Loopback Switch)
[pbx_spool.so] => (Outgoing Spool Support)
[chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
[chan_agent.so] => (Agent Proxy Channel)
[chan_zap.so] => (Zapata Telephony w/PRI)
– Unregistered channel 1
– Unregistered channel 2
– Unregistered channel 3
– Unregistered channel 4
– Unregistered channel 5
– Unregistered channel 6
– Unregistered channel 7
– Unregistered channel 8
Asterisk died with code 1.
Automatically restarting Asterisk.
mpg123: no process killed
Asterisk could not start!
Use ‘tail /var/log/asterisk/full’ to find out why.
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist??
And tail /var/log/asterisk/full gives me:
Oct 12 09:30:11 WARNING[4386] loader.c: chan_zap.so: load_module failed, returning -1
Oct 12 09:30:11 VERBOSE[4386] logger.c: – Unregistered channel 1
Oct 12 09:30:11 VERBOSE[4386] logger.c: – Unregistered channel 2
Oct 12 09:30:11 VERBOSE[4386] logger.c: – Unregistered channel 3
Oct 12 09:30:11 VERBOSE[4386] logger.c: – Unregistered channel 4
Oct 12 09:30:11 VERBOSE[4386] logger.c: – Unregistered channel 5
Oct 12 09:30:11 VERBOSE[4386] logger.c: – Unregistered channel 6
Oct 12 09:30:11 VERBOSE[4386] logger.c: – Unregistered channel 7
Oct 12 09:30:11 VERBOSE[4386] logger.c: – Unregistered channel 8
Oct 12 09:30:11 WARNING[4386] loader.c: Loading module chan_zap.so failed!
How can i work that out. I have also sent one to support@digium.com
did you read the TrixBox documentation regarding the genzaptel script ?? (is there any ???)
even the A@H handbook that’s hosted on the wiki looks a bit lightweight regarding the TDM2400.
i will also say, post the bits from the full log that give you details of the error. and your zap configs (i dread saying that when TB is involved !)
angler
October 13, 2006, 11:00pm
5
Doesn’t look like the Trixbox script loaded the tdm24xxp module.