Walter Willis wrote:

i am install asterisk in gentoo linux, #emerge zaptel
#emerge asterisk

#modprobe zaptel
#modprobe wcfxo
#asterisk -vvvvvvvc


localhost ~ # asterisk -vvvvvvvc
 == Parsing '/etc/asterisk/asterisk.conf': Found
 == Parsing '/etc/asterisk/extconfig.conf': Found
Asterisk 1.0.8, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <[EMAIL PROTECTED]>
=========================================================================
 == 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
 == Registered application 'MusicOnHold'
 == Registered application 'WaitMusicOnHold'
 == Registered application 'SetMusicOnHold'
[res_adsi.so] => (ADSI Resource)
 == Parsing '/etc/asterisk/adsi.conf': Found
[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_crypto.so] => (Cryptographic Digital Signatures)
   -- Loaded PUBLIC key 'iaxtel'
   -- Loaded PUBLIC key 'freeworlddialup'
[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_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
[res_agi.so] => (Asterisk Gateway Interface (AGI))
 == Registered application 'DeadAGI'
 == Registered application 'EAGI'
 == Registered application 'AGI'
[chan_sip.so] => (Session Initiation Protocol (SIP))
 == Parsing '/etc/asterisk/sip.conf': Found
   -- SIP Seeding '1234' at [EMAIL PROTECTED]:5080 for 1800
 == SIP Listening on 0.0.0.0:5080
 == Using TOS bits 0
 == Registered channel type 'SIP' (Session Initiation Protocol (SIP))
 == Registered application 'SIPDtmfMode'
[chan_modem_bestdata.so] => (BestData (Conexant V.90 Chipset)
VoiceModem Driver)
[chan_modem_i4l.so] => (ISDN4Linux Emulated Modem Driver)
[chan_agent.so] => (Agent Proxy Channel)
 == Registered channel type 'Agent' (Call Agent Proxy Channel)
 == Registered application 'AgentLogin'
 == Registered application 'AgentCallbackLogin'
 == Registered application 'AgentMonitorOutgoing'
 == Parsing '/etc/asterisk/agents.conf': Found
[skipping chan_mgcp.so]
[chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
 == Manager registered action IAXpeers
 == Parsing '/etc/asterisk/iax.conf': Found
 == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2))
 == Using TOS bits 16
 == IAX Ready and Listening on 0.0.0.0 port 4569
 == Loaded firmware 'iaxy.bin'
 == Parsing '/etc/asterisk/iaxprov.conf': Found
   -- Loaded provisioning template 'default'
[chan_local.so] => (Local Proxy Channel)
 == Registered channel type 'Local' (Local Proxy Channel Driver)
[skipping chan_skinny.so]
[skipping chan_oss.so]
[chan_phone.so] => (Linux Telephony API Support)
 == Parsing '/etc/asterisk/phone.conf': Found
 == Registered channel type 'Phone' (Standard Linux Telephony API Driver)
[chan_zap.so] => (Zapata Telephony)
 == Parsing '/etc/asterisk/zapata.conf': Found
Aug 18 15:08:22 WARNING[9165]: chan_zap.c:778 zt_open: Unable to
specify channel 1: No such device or address
Aug 18 15:08:22 ERROR[9165]: chan_zap.c:6239 mkintf: Unable to open
channel 1: No such device or address
here = 0, tmp->channel = 1, channel = 1
Aug 18 15:08:22 ERROR[9165]: chan_zap.c:9191 setup_zap: Unable to
register channel '1'
Aug 18 15:08:22 WARNING[9165]: loader.c:345 ast_load_resource:
chan_zap.so: load_module failed, returning -1
 == Unregistered channel type 'Tor'
 == Unregistered channel type 'Zap'
Aug 18 15:08:22 WARNING[9165]: loader.c:440 load_modules: Loading
module chan_zap.so failed!
Warning, flexible rate not heavily tested!
localhost ~ # Ouch ... error while writing audio data: : Broken pipe



i am probe:
#modprobe zaptel
#modprobe wcfxo
#ztfcg -vv
#asterisk -vvvvvvvc
and work

hot fix problem???

cofiguration machine:
gentoo linux 2005.1
256 MB ram
hard disk 3Gb
modem clone x100p
prosessor pentium II
no card sound

did you run ztcfg? Look at the init.d/zaptel script. I usually use /etc/init.d/zaptel start. Also, post your zaptel.conf this doesn't work.

Cheers,
Kevin
--
[email protected] mailing list

Reply via email to