[Asterisk-bsd] Startup fails for some reason (FreeBSD 6.0) ...

Kiffin Gish kiffin.gish at planet.nl
Thu Dec 29 10:23:16 CST 2005


I have just installed Asterisk w/ TDM11B developers kit and for some
reason cannot get it started.

Can someone help me?

Here is some info:

# ztcfg -vv
Keyword: [fxoks], Value: [1]
Keyword: [fxsks], Value: [4]
Keyword: [defaultzone], Value: [us]
Keyword: [loadzone], Value: [us]

Zaptel Configuration
======================


Channel map:

Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

2 channels configured.

# asterisk -vvvgc
  == Parsing '/usr/local/etc/asterisk/asterisk.conf': Found
  == Parsing '/usr/local/etc/asterisk/extconfig.conf': Found
Asterisk 1.0.8-BRIstuffed-0.2.0-RC8h, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster at digium.com>
=========================================================================
  == Parsing '/usr/local/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 DBget
  == Manager registered action DBput
  == Manager registered action DBdel
  == Manager registered action ListCommands
  == Parsing '/usr/local/etc/asterisk/manager.conf': Found
  == Parsing '/usr/local/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 '/usr/local/etc/asterisk/modules.conf': Found
 [chan_modem.so] => (Generic Voice Modem Driver)
  == Parsing '/usr/local/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 '/usr/local/etc/asterisk/musiconhold.conf': Found
  == Registered application 'MusicOnHold'
  == Registered application 'WaitMusicOnHold'
  == Registered application 'SetMusicOnHold'
 [res_adsi.so] => (ADSI Resource)
  == Parsing '/usr/local/etc/asterisk/adsi.conf': Found
 [res_features.so] => (Call Parking Resource)
  == Parsing '/usr/local/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
  == Registered application 'HoldedCall'
  == Registered application 'AutoanswerLogin'
  == Registered application 'Autoanswer'
 [res_crypto.so] => (Cryptographic Digital Signatures)
    -- Loaded PUBLIC key 'iaxtel'
    -- Loaded PUBLIC key 'freeworlddialup'
 [res_indications.so] => (Indications Configuration)
  == Parsing '/usr/local/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'
 [res_watchdog.so] => (Watchdog Resource)
  == Parsing '/usr/local/etc/asterisk/watchdog.conf': Found
 [chan_sip.so] => (Session Initiation Protocol (SIP))
  == Parsing '/usr/local/etc/asterisk/sip.conf': Found
  == SIP Listening on 0.0.0.0:5060
  == 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 '/usr/local/etc/asterisk/agents.conf': Found
 [chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
  == Parsing '/usr/local/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))
 [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
Warning, flexibel rate not heavily tested!
  == Manager registered action IAXpeers
  == Parsing '/usr/local/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 '/usr/local/etc/asterisk/iaxprov.conf': Found
    -- Loaded provisioning template 'default'
 [chan_local.so] => (Local Proxy Channel)
  == Registered channel type 'Local' (Local Proxy Channel Driver)
 [chan_skinny.so] => (Skinny Client Control Protocol (Skinny))
  == Parsing '/usr/local/etc/asterisk/skinny.conf': Found
Dec 29 17:18:54 WARNING[12292]: chan_skinny.c:2587 reload_config: Unable
to get 
our IP address, Skinny disabled
  == Registered channel type 'Skinny' (Skinny Client Control Protocol
(Skinny))
 [chan_oss.so] => (OSS Console Channel Driver)
  == Parsing '/usr/local/etc/asterisk/oss.conf': Found
Dec 29 17:18:54 WARNING[12292]: chan_oss.c:1180 store_config: found
category [ge
neral]
Dec 29 17:18:54 WARNING[12292]: chan_oss.c:440 setformat: Unable to
re-open DSP 
device: No such file or directory
  == Device general not detected
  == Turn off OSS support by adding 'noload=chan_oss.so'
in /etc/asterisk/module
s.conf
Dec 29 17:18:54 WARNING[12292]: chan_oss.c:825 find_desc: find_desc
could not fi
nd <dsp>
Dec 29 17:18:54 NOTICE[12292]: chan_oss.c:1266 load_module: Device dsp
not found
Dec 29 17:18:54 WARNING[12292]: loader.c:345 ast_load_resource:
chan_oss.so: loa
d_module failed, returning -1
Dec 29 17:18:54 WARNING[12292]: loader.c:440 load_modules: Loading
module chan_o
ss.so failed!
Ouch ... error while writing audio data: : Broken pipe


-- 
Kiffin Gish <kiffin.gish at planet.nl>



More information about the Asterisk-BSD mailing list