Matt Riddell
2005-Jan-18 15:43 UTC
[Asterisk-Users] Newbie question: Can't start up asterisk
beonice wrote:> "Ouch ... error while writing audio data: : Broken > pipe"What are the messages before this? -- Cheers, Matt Riddell _______________________________________________ sineapps.com/news.php (Daily Asterisk News - html) sineapps.com/rssfeed.php (Daily Asterisk News - rss)
Folks, I've just successfully set up Asterisk (as part of the Asterisk Management Portal installation). When I say "successfully", I mean that I have gone through all the steps detailed for the installation of AMP and not hit any snags there. I can connect to my asterisk server via ssh and can also connect via Http to the portal to change settings in AMP. Now I'm trying to start up Asterisk itself. When I type in "/usr/sbin/asterisk -vvvvcp", it does a bunch of stuff, then exits with the message "Ouch ... error while writing audio data: : Broken pipe">From a Google search, this doesn't seem to be anythingobvious. Can anyone walk me through this? I'd really like to get asterisk running. My environment: White Box Enterprise Linux, a VoicePulse Connect! DID, no telephony cards. I've tried to edit the system to use the ztdummy, but am not sure it successfully registered that change. Any and all help would be much appreciated! Thanks! BeOnIce __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. promotions.yahoo.com/new_mail
Here is the entire output until it dies: -------------------- [root@localhost asterisk]# /usr/sbin/asterisk -vvvvcp Set to realtime thread == Parsing '/etc/asterisk/asterisk.conf': Found == Parsing '/etc/asterisk/extconfig.conf': Not found (No such file or directory) Asterisk CVS-v1-0-12/12/04-15:58:29, Copyright (C) 1999-2004 Digium. Written by Mark Spencer <markster@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 MailboxStatus == Manager registered action Command == Manager registered action ExtensionState == Manager registered action AbsoluteTimeout == Manager registered action MailboxCount == Manager registered action ListCommands == Parsing '/etc/asterisk/manager.conf': Found Asterisk Management interface listening on port 5038 == 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 Junk at the beginning 49443303 Warning, flexibel rate not heavily tested! == Registered application 'MusicOnHold' == Registered application 'WaitMusicOnHold' == Registered application 'SetMusicOnHold' [res_adsi.so] => (ADSI Resource) == Parsing '/etc/asterisk/adsi.conf': Not found (No such file or directory) [res_features.so] => (Call Parking Resource) == Parsing '/etc/asterisk/features.conf': Not found (No such file or directory) == Parsing '/etc/asterisk/parking.conf': Found -- Registered extension context 'default' -- Added extension '700' priority 1 to default == Registered application 'ParkedCall' == Registered application 'Park' == Manager registered action ParkedCalls [res_crypto.so] => (Cryptographic Digital Signatures) -- Loaded PUBLIC key 'iaxtel' -- Loaded PUBLIC key 'freeworlddialup' -- Loaded PUBLIC key 'voicepulse01' [res_indications.so] => (Indications Configuration) == Parsing '/etc/asterisk/indications.conf': Found -- 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' -- 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 == Parsing '/etc/asterisk/sip_nat.conf': Not found (No such file or directory) == Parsing '/etc/asterisk/sip_additional.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 '/etc/asterisk/agents.conf': Found [chan_mgcp.so] => (Media Gateway Control Protocol (MGCP)) == Parsing '/etc/asterisk/mgcp.conf': Not found (No such file or directory) == Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP)) [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': Not found (No such file or directory) [chan_local.so] => (Local Proxy Channel) == Registered channel type 'Local' (Local Proxy Channel Driver) [chan_skinny.so] => (Skinny Client Control Protocol (Skinny)) == Parsing '/etc/asterisk/skinny.conf': Not found (No such file or directory) == Registered channel type 'Skinny' (Skinny Client Control Protocol (Skinny)) [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 == Unregistered channel type 'Tor' == Unregistered channel type 'Zap' Ouch ... error while writing audio data: : Broken pipe [root@localhost asterisk]# __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. info.mail.yahoo.com/mail_250