[Asterisk-Users] wildcard/FXO config
David Williams
Dave.Williams at Sun.COM
Thu Aug 11 21:20:41 MST 2005
Trying to config the latest Asterisk/zaptel with an Digium Wildcard and a
single X100m FXO interface connected to a POTS analog line.
Build and install of both work ok - I'm using Suse 8 on a dual Pentium box. I load
the driver with "modprobe wctdm" and the LED on the wildcard lights up. Then I start
Asterisk with "asterisk -vvvgc" and asterisk fails to start.
The messages look pretty good till the last few lines..
.
.
.
Aug 11 08:29:42 WARNING[6888]: chan_zap.c:9651 setup_zap: Ignoring
switchtype
Aug 11 08:29:42 WARNING[6888]: chan_zap.c:778 zt_open: Unable to specify
channel 1: No such device or address
Aug 11 08:29:42 ERROR[6888]: chan_zap.c:6239 mkintf: Unable to open
channel 1: No such device or address
here = 0, tmp->channel = 1, channel = 1
Aug 11 08:29:42 ERROR[6888]: chan_zap.c:9191 setup_zap: Unable to
register channel '1'
Aug 11 08:29:42 WARNING[6888]: loader.c:345 ast_load_resource:
chan_zap.so: load_module failed, returning -1
== Unregistered channel type 'Tor'
== Unregistered channel type 'Zap'
Aug 11 08:29:42 WARNING[6888]: loader.c:440 load_modules: Loading module
chan_zap.so failed!
Any idea how I messed up the config files?
--Dave
Here's the entire verbose output:
# asterisk -vvvgc
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Asterisk 1.0.9, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster at digium.com>
=========================================================================
== Parsing '/etc/asterisk/logger.conf': Found
Asterisk Event Logger Started /var/log/asterisk/event_log
== Manager registered action Ping
== Manager registered action Events
== Manager registered action Logoff
== Manager registered action Hangup
== Manager registered action Status
== Manager registered action Setvar
== Manager registered action Getvar
== Manager registered action Redirect
== Manager registered action Originate
== Manager registered action Command
== Manager registered action ExtensionState
== Manager registered action AbsoluteTimeout
== Manager registered action MailboxStatus
== Manager registered action MailboxCount
== Manager registered action ListCommands
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/rtp.conf': Found
== RTP Allocating from port range 10000 -> 20000
Asterisk PBX Core Initializing
Registering builtin applications:
[AbsoluteTimeout]
== Registered application 'AbsoluteTimeout'
[Answer]
== Registered application 'Answer'
[BackGround]
== Registered application 'BackGround'
[Busy]
== Registered application 'Busy'
[Congestion]
== Registered application 'Congestion'
[DigitTimeout]
== Registered application 'DigitTimeout'
[Goto]
== Registered application 'Goto'
[GotoIf]
== Registered application 'GotoIf'
[GotoIfTime]
== Registered application 'GotoIfTime'
[Hangup]
== Registered application 'Hangup'
[NoOp]
== Registered application 'NoOp'
[Prefix]
== Registered application 'Prefix'
[Progress]
== Registered application 'Progress'
[ResetCDR]
== Registered application 'ResetCDR'
[ResponseTimeout]
== Registered application 'ResponseTimeout'
[Ringing]
== Registered application 'Ringing'
[SayNumber]
== Registered application 'SayNumber'
[SayDigits]
== Registered application 'SayDigits'
[SayAlpha]
== Registered application 'SayAlpha'
[SayPhonetic]
== Registered application 'SayPhonetic'
[SetAccount]
== Registered application 'SetAccount'
[SetAMAFlags]
== Registered application 'SetAMAFlags'
[SetGlobalVar]
== Registered application 'SetGlobalVar'
[SetLanguage]
== Registered application 'SetLanguage'
[SetVar]
== Registered application 'SetVar'
[StripMSD]
== Registered application 'StripMSD'
[Suffix]
== Registered application 'Suffix'
[Wait]
== Registered application 'Wait'
[WaitExten]
== Registered application 'WaitExten'
Asterisk Dynamic Loader Starting:
== Parsing '/etc/asterisk/modules.conf': Found
[chan_modem.so] => (Generic Voice Modem Driver)
== Parsing '/etc/asterisk/modem.conf': Found
== Loading modem driver chan_modem_aopen.so => (A/Open (Rockwell
Chipset) ITU-2 VoiceModem Driver)
== Registered channel type 'Modem' (Generic Voice Modem Channel Driver)
[res_musiconhold.so] => (Music On Hold Resource)
== Parsing '/etc/asterisk/musiconhold.conf': Found
Aug 11 08:29:42 WARNING[6888]: res_musiconhold.c:565 moh_register:
Unable to open pseudo channel for timing... Sound may be choppy.
== Registered application 'MusicOnHold'
== Registered application 'WaitMusicOnHold'
== Registered application 'SetMusicOnHold'
[res_indications.so] => (Indications Configuration)
== Parsing '/etc/asterisk/indications.conf': Found
-- Registered indication country 'cl'
-- Registered indication country 'tw'
-- Registered indication country 'us'
-- Registered indication country 'au'
-- Registered indication country 'fr'
-- Registered indication country 'de'
-- Registered indication country 'nl'
-- Registered indication country 'uk'
-- Registered indication country 'fi'
-- Registered indication country 'no'
-- Registered indication country 'br'
-- Registered indication country 'za'
-- Registered indication country 'it'
-- Registered indication country 'us-o'
-- Registered indication country 'gr'
-- Registered indication country 'ru'
-- Registered indication country 'nz'
-- Registered indication country 'sg'
-- Registered indication country 'hu'
-- Registered indication country 'lt'
-- Registered indication country 'pl'
-- Registered indication country 'pt'
-- Registered indication country 'ee'
-- Registered indication country 'mx'
-- Registered indication country 'se'
-- Setting default indication country to 'us'
== Registered application 'Playtones'
== Registered application 'StopPlaytones'
[res_features.so] => (Call Parking Resource)
== Parsing '/etc/asterisk/features.conf': Found
-- Registered extension context 'parkedcalls'
-- Added extension '700' priority 1 to parkedcalls
== Registered application 'ParkedCall'
== Registered application 'Park'
== Manager registered action ParkedCalls
[res_agi.so] => (Asterisk Gateway Interface (AGI))
== Registered application 'DeadAGI'
== Registered application 'EAGI'
== Registered application 'AGI'
[res_crypto.so] => (Cryptographic Digital Signatures)
-- Loaded PUBLIC key 'iaxtel'
-- Loaded PUBLIC key 'freeworlddialup'
[res_adsi.so] => (ADSI Resource)
== Parsing '/etc/asterisk/adsi.conf': Found
[res_monitor.so] => (Call Monitoring Resource)
== Registered application 'Monitor'
== Registered application 'StopMonitor'
== Registered application 'ChangeMonitor'
== Manager registered action Monitor
== Manager registered action StopMonitor
== Manager registered action ChangeMonitor
[app_sms.so] => (SMS/PSTN handler)
== Registered application 'SMS'
[app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox has
messages in a given folder.[)
== Registered application 'HasVoicemail'
== Registered application 'HasNewVoicemail'
[format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM))
== Registered file format wav49, extension(s) WAV|wav49
[app_url.so] => (Send URL Applications)
== Registered application 'SendURL'
[chan_modem_i4l.so] => (ISDN4Linux Emulated Modem Driver)
[app_test.so] => (Interface Test Application)
== Registered application 'TestClient'
== Registered application 'TestServer'
[chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
== Parsing '/etc/asterisk/mgcp.conf': Found
== MGCP Listening on 0.0.0.0:2727
== Using TOS bits 0
== Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP))
[app_eval.so] => (Reevaluates strings)
== Registered application 'Eval'
[chan_zap.so] => (Zapata Telephony)
== Parsing '/etc/asterisk/zapata.conf': Found
Aug 11 08:29:42 WARNING[6888]: chan_zap.c:9651 setup_zap: Ignoring
switchtype
Aug 11 08:29:42 WARNING[6888]: chan_zap.c:778 zt_open: Unable to specify
channel 1: No such device or address
Aug 11 08:29:42 ERROR[6888]: chan_zap.c:6239 mkintf: Unable to open
channel 1: No such device or address
here = 0, tmp->channel = 1, channel = 1
Aug 11 08:29:42 ERROR[6888]: chan_zap.c:9191 setup_zap: Unable to
register channel '1'
Aug 11 08:29:42 WARNING[6888]: loader.c:345 ast_load_resource:
chan_zap.so: load_module failed, returning -1
== Unregistered channel type 'Tor'
== Unregistered channel type 'Zap'
Aug 11 08:29:42 WARNING[6888]: loader.c:440 load_modules: Loading module
chan_zap.so failed!
--
Dave Williams
Solutions Architect
Sun Microsystems, Inc.
Dallas, TX
w-(972)934-6367
m-(214)563-8619
More information about the asterisk-users
mailing list