[Asterisk-Users] Newbie question: Can't start up asterisk

beonice beonice at yahoo.com
Tue Jan 18 16:52:11 MST 2005


--- Colin Anderson <ColinA at landmarkmasterbuilder.com>
wrote:

> >Ouch ... error while writing audio data: : Broken
> pipe
> 
> Did you run "make samples" from /usr/src/asterisk?

Hmm. I thought I had, but I've attempted this Asterisk
installation so many times that I seem to have skipped
it on this incarnation. I just did the "make samples",
and now I get this output (note that it still dies
with the same message, but now there is more
context!):
------------
Set to realtime thread
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Asterisk CVS-v1-0-12/12/04-15:58:29, 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 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
  == 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 Mo
dem Driver)
  == Parsing '/etc/asterisk/modem.conf': Found
  == Loading modem driver chan_modem_aopen.so =>
(A/Ope
n (Rockwell Chipset) ITU-2 VoiceModem Driver)
  == Registered channel type 'Modem' (Generic Voice
Modem Chan
nel Driver)
 [res_musiconhold.so] => (Music On Ho
ld 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 R
esource)
  == 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 Di
gital 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 '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'
    -- 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 In
terface (AGI))
  == Registered application 'DeadAGI'
  == Registered application 'EAGI'
  == Registered application 'AGI'
 [chan_sip.so] => (Session Initiation
 Protocol (SIP))
  == Parsing '/etc/asterisk/sip.conf': Found
  == SIP Listening on 0.0.0.0:5060
  == Using TOS bits 0
  == Registered channel type 'SIP' (Session Initiation
Protoco
l (SIP))
  == Registered application 'SIPDtmfMode'
 [chan_modem_bestdata.so] => (BestDat
a (Conexant V.90 Chipset) VoiceModem Driver)
 [chan_modem_i4l.so] => (ISDN4Linux E
mulated Modem Driver)
 [chan_agent.so] => (Agent Proxy Chan
nel)
  == Registered channel type 'Agent' (Call Agent Proxy
Channel
)
  == Registered application 'AgentLogin'
  == Registered application 'AgentCallbackLogin
'
  == Registered application 'AgentMonitorOutgoing
7;40m'
  == Parsing '/etc/asterisk/agents.conf': Found
 [chan_mgcp.so] => (Media Gateway Con
trol 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 Pro
tocol (MGCP))
 [chan_iax2.so] => (Inter Asterisk eX
change (Ver 2))
  == Manager registered action IAXpeers
  == Parsing '/etc/asterisk/iax.conf': Found
  == Registered channel type 'IAX2' (Inter Asterisk
eXchange D
river (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 Chan
nel)
 == Registered channel type 'Local' (Local Proxy
Channel Driv
er)
 [chan_skinny.so] => (Skinny Client C
ontrol Protocol (Skinny))
  == Parsing '/etc/asterisk/skinny.conf': Found
Jan 18 15:46:05 WARNING[7952]: chan_skinny.c
:2584 reload_config: Unable to get our IP ad
dress, Skinny disabled
  == Registered channel type 'Skinny' (Skinny Client
Control P
rotocol (Skinny))
 [chan_oss.so] => (OSS Console Channe
l Driver)
  == Console is full duplex
Jan 18 15:46:05 WARNING[7952]: chan_oss.c:
357 setformat: Requested 8000 Hz, got 48000 Hz
 -- sound may be choppy
  == Registered channel type 'Console' (OSS Console
Channel Dr
iver)
  == Parsing '/etc/asterisk/oss.conf': Found
Jan 18 15:46:05 WARNING[7952]: chan_oss.c:
239 sound_thread: Read error on sound device:
Resource temporarily unavailable
 [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
Jan 18 15:46:05 WARNING[7952]: chan_zap.c:
9599 setup_zap: Ignoring switchtype
    -- Automatically generated pseudo channel
  == Registered channel type 'Zap' (Zapata Telephony
Driver)
  == Registered channel type 'Tor' (Zapata Telephony
Driver)
  == Registered application 'CallingPres'
  == Manager registered action ZapTransfer
  == Manager registered action ZapHangup
  == Manager registered action ZapDialOffhook
  == Manager registered action ZapDNDon
  == Manager registered action ZapDNDoff
  == Manager registered action ZapShowChannels
 [pbx_config.so] => (Text Extension C
onfiguration)
  == Parsing '/etc/asterisk/extensions.conf': Found
    -- Setting global variable 'CONSOLE' to
'Console/dsp'
    -- Setting global variable 'IAXINFO' to 'guest'
    -- Setting global variable 'TRUNK' to 'Zap/g2'
    -- Setting global variable 'TRUNKMSD' to '1'
    -- Registered extension context 'iaxtel700'
    -- Added extension '_91700XXXXXXX' priority 1 to
iaxtel700
    -- Registered extension context 'iaxprovider'
    -- Registered extension context 'trunkint'
    -- Added extension '_9011.' priority 1 to trunkint
    -- Added extension '_9011.' priority 2 to trunkint
    -- Registered extension context 'trunkld'
    -- Added extension '_91NXXNXXXXXX' priority 1 to
trunkld
    -- Added extension '_91NXXNXXXXXX' priority 2 to
trunkld
    -- Registered extension context 'trunklocal'
    -- Added extension '_9NXXXXXX' priority 1 to
trunklocal
    -- Added extension '_9NXXXXXX' priority 2 to
trunklocal
    -- Registered extension context 'trunktollfree'
    -- Added extension '_91800NXXXXXX' priority 1 to
trunktoll
free
    -- Added extension '_91800NXXXXXX' priority 2 to
trunktoll
free
    -- Added extension '_91888NXXXXXX' priority 1 to
trunktoll
free
    -- Added extension '_91888NXXXXXX' priority 2 to
trunktoll
free
    -- Added extension '_91877NXXXXXX' priority 1 to
trunktoll
free
    -- Added extension '_91877NXXXXXX' priority 2 to
trunktoll
free
    -- Added extension '_91866NXXXXXX' priority 1 to
trunktoll
free
    -- Added extension '_91866NXXXXXX' priority 2 to
trunktoll
free
    -- Registered extension context 'international'
    -- Including context 'longdistance' in context
'internatio
nal'
    -- Including context 'trunkint' in context
'international'
    -- Registered extension context 'longdistance'
    -- Including context 'local' in context
'longdistance'
    -- Including context 'trunkld' in context
'longdistance'
    -- Registered extension context 'local'
    -- Including context 'default' in context 'local'
    -- Including context 'parkedcalls' in context
'local'
    -- Including context 'trunklocal' in context
'local'
    -- Including context 'iaxtel700' in context
'local'
    -- Including context 'trunktollfree' in context
'local'
    -- Including context 'iaxprovider' in context
'local'
    -- Registered extension context 'macro-stdexten'
    -- Added extension 's' priority 1 to
macro-stdexten
    -- Added extension 's' priority 2 to
macro-stdexten
    -- Added extension 's-NOANSWER' priority 1 to
macro-stdext
en
    -- Added extension 's-NOANSWER' priority 2 to
macro-stdext
en
    -- Added extension 's-BUSY' priority 1 to
macro-stdexten
    -- Added extension 's-BUSY' priority 2 to
macro-stdexten
    -- Added extension '_s-.' priority 1 to
macro-stdexten
    -- Added extension 'a' priority 1 to
macro-stdexten
    -- Registered extension context 'demo'
    -- Added extension 's' priority 1 to demo
    -- Added extension 's' priority 2 to demo
    -- Added extension 's' priority 3 to demo
    -- Added extension 's' priority 4 to demo
    -- Added extension 's' priority 5 to demo
    -- Added extension 's' priority 6 to demo
   -- Added extension '2' priority 1 to demo
    -- Added extension '2' priority 2 to demo
    -- Added extension '3' priority 1 to demo
    -- Added extension '3' priority 2 to demo
    -- Added extension '1000' priority 1 to demo
    -- Added extension '1234' priority 1 to demo
    -- Added extension '1234' priority 2 to demo
    -- Added extension '1235' priority 1 to demo
    -- Added extension '1236' priority 1 to demo
    -- Added extension '1236' priority 2 to demo
    -- Added extension '#' priority 1 to demo
    -- Added extension '#' priority 2 to demo
    -- Added extension 't' priority 1 to demo
    -- Added extension 'i' priority 1 to demo
    -- Added extension '500' priority 1 to demo
    -- Added extension '500' priority 2 to demo
    -- Added extension '500' priority 3 to demo
    -- Added extension '500' priority 4 to demo
    -- Added extension '600' priority 1 to demo
    -- Added extension '600' priority 2 to demo
    -- Added extension '600' priority 3 to demo
    -- Added extension '600' priority 4 to demo
    -- Added extension '8500' priority 1 to demo
    -- Added extension '8500' priority 2 to demo
    -- Registered extension context 'default'
    -- Including context 'demo' in context 'default'
 [pbx_wilcalu.so] => (Wil Cal U (Auto
 Dialer))
 [pbx_spool.so] => (Outgoing Spool Su
pport)
 [app_dial.so] => (Dialing Applicatio
n)
  == Registered application 'Dial'
 [app_playback.so] => (Trivial Playba
ck Application)
  == Registered application 'Playback'
 [app_voicemail.so] => (Comedian Mail
 (Voicemail System))
  == Registered application 'VoiceMail'
  == Registered application 'VoiceMail2'
  == Registered application 'VoiceMailMain'
  == Registered application 'VoiceMailMain2'
  == Registered application 'MailboxExists'
  == Parsing '/etc/asterisk/voicemail.conf': Found
 [app_directory.so] => (Extension Dir
ectory)
  == Registered application 'Directory'
 [app_mp3.so] => (Silly MP3 Applicati
on)
  == Registered application 'MP3Player'
 [app_system.so] => (Generic System()
 application)
  == Registered application 'TrySystem'
  == Registered application 'System'
 [app_echo.so] => (Simple Echo Applic
ation)
  == Registered application 'Echo'
 [app_record.so] => (Trivial Record A
pplication)
  == Registered application 'Record'
 [app_image.so] => (Image Transmissio
n Application)
  == Registered application 'SendImage'
 [app_url.so] => (Send URL Applicatio
ns)
  == Registered application 'SendURL'
 [app_disa.so] => (DISA (Direct Inwar
d System Access) Application)
  == Registered application 'DISA'
 [app_qcall.so] => (Call from Queue
)
 [app_adsiprog.so] => (Asterisk ADSI
Programming Application)
  == Registered application 'ADSIProg'
 [app_getcpeid.so] => (Get ADSI CPE I
D)
  == Registered application 'GetCPEID'
 [app_milliwatt.so] => (Digital Milli
watt (mu-law) Test Application)
  == Registered application 'Milliwatt'
 [app_zapateller.so] => (Block Telema
rketers with Special Information Tone)
  == Registered application 'Zapateller'
 [app_setcallerid.so] => (Set CallerI
D Application)
  == Registered application 'SetCallerPres'
  == Registered application 'SetCallerID'
 [app_festival.so] => (Simple Festiva
l Interface))
  == Registered application 'Festival'
 [app_queue.so] => (True Call Queuein
g)
  == Registered application 'Queue'
  == Manager registered action Queues
  == Manager registered action QueueStatus
  == Manager registered action QueueAdd
  == Manager registered action QueueRemove
  == Registered application 'AddQueueMember'
  == Registered application 'RemoveQueueMember
'
  == Parsing '/etc/asterisk/queues.conf': Found
 [app_senddtmf.so] => (Send DTMF digi
ts Application)
  == Registered application 'SendDTMF'
 [app_parkandannounce.so] => (Call Pa
rking and Announce Application)
  == Registered application 'ParkAndAnnounce
'
 [app_striplsd.so] => (Strip trailing
 digits)
  == Registered application 'StripLSD'
 [app_setcidname.so] => (Set CallerID
 Name)
  == Registered application 'SetCIDName'
 [app_lookupcidname.so] => (Look up C
allerID Name from local database)
  == Registered application 'LookupCIDName'
 [app_substring.so] => ((Deprecated)
Save substring digits in a given variable)
  == Registered application 'SubString'
 [app_macro.so] => (Extension Macros
)
  == Registered application 'Macro'
 [app_authenticate.so] => (Authentica
tion Application)
  == Registered application 'Authenticate'
 [app_softhangup.so] => (Hangs up the
 requested channel)
  == Registered application 'SoftHangup'
 [app_lookupblacklist.so] => (Look up
 Caller*ID name/number from blacklist database)
  == Registered application 'LookupBlacklist
'
 [app_waitforring.so] => (Waits until
 first ring after time)
  == Registered application 'WaitForRing'
 [app_privacy.so] => (Require phone n
umber to be entered, if no CallerID sent)
  == Registered application 'PrivacyManager'
 [app_db.so] => (Database access func
tions for Asterisk extension logic)
  == Registered application 'DBget'
  == Registered application 'DBput'
  == Registered application 'DBdel'
  == Registered application 'DBdeltree'
 [app_chanisavail.so] => (Check if ch
annel is available)
  == Registered application 'ChanIsAvail'
 [app_enumlookup.so] => (ENUM Lookup
)
  == Registered application 'EnumLookup'
  == Parsing '/etc/asterisk/enum.conf': Found
 [app_transfer.so] => (Transfer
)
  == Registered application 'Transfer'
 [app_setcidnum.so] => (Set CallerID
Number)
  == Registered application 'SetCIDNum'
 [app_cdr.so] => (Make sure asterisk
doesn't save CDR for a certain call)
  == Registered application 'NoCDR'
 [app_hasnewvoicemail.so] => (Indicat
or for whether a voice mailbox has messages in a given
folder.
  == Registered application 'HasVoicemail'
  == Registered application 'HasNewVoicemail
'
 [app_sayunixtime.so] => (Say time
)
  == Registered application 'SayUnixTime'
  == Registered application 'DateTime'
 [app_cut.so] => (Cuts up variables
)
  == Registered application 'Cut'
 [app_read.so] => (Read Variable Appl
ication)
  == Registered application 'Read'
 [app_setcdruserfield.so] => (CDR use
r field apps)
  == Registered application 'SetCDRUserField
'
  == Registered application 'AppendCDRUserField
'
  == Manager registered action SetCDRUserField
 [app_random.so] => (Random goto
)
  == Registered application 'Random'
 [app_ices.so] => (Encode and Stream
via icecast and ices)
  == Registered application 'ICES'
 [app_eval.so] => (Reevaluates string
s)
  == Registered application 'Eval'
 [app_nbscat.so] => (Silly NBS Stream
 Application)
  == Registered application 'NBScat'
 [app_sendtext.so] => (Send Text Appl
ications)
  == Registered application 'SendText'
 [app_exec.so] => (Executes applicati
ons)
  == Registered application 'Exec'
 [app_sms.so] => (SMS/PSTN handler
)
  == Registered application 'SMS'
 [app_groupcount.so] => (Group Manage
ment Routines)
  == Registered application 'GetGroupCount'
  == Registered application 'SetGroup'
  == Registered application 'CheckGroup'
 [app_txtcidname.so] => (TXTCIDName
)
  == Registered application 'TXTCIDName'
  == Parsing '/etc/asterisk/enum.conf': Found
 [app_controlplayback.so] => (Control
 Playback Application)
  == Registered application 'ControlPlayback
'
 [app_talkdetect.so] => (Playback wit
h Talk Detection)
  == Registered application 'BackgroundDetect
m'
 [app_alarmreceiver.so] => (Alarm Rec
eiver for Asterisk)
  == Parsing '/etc/asterisk/alarmreceiver.conf': Found
  == Registered application 'AlarmReceiver'
 [app_userevent.so] => (Custom User E
vent Application)
  == Registered application 'UserEvent'
 [app_verbose.so] => (Send verbose ou
tput)
  == Registered application 'Verbose'
 [app_test.so] => (Interface Test App
lication)
  == Registered application 'TestClient'
  == Registered application 'TestServer'
 [app_forkcdr.so] => (Fork The CDR in
to 2 seperate entities.)
  == Registered application 'ForkCDR'
 [skipping app_intercom.so]
 [app_zapras.so] => (Zap RAS Applicat
ion)
  == Registered application 'ZapRAS'
 [app_meetme.so] => (MeetMe conferenc
e bridge)
  == Registered application 'MeetMeAdmin'
  == Registered application 'MeetMeCount'
  == Registered application 'MeetMe'
 [app_flash.so] => (Flash zap trunk a
pplication)
  == Registered application 'Flash'
 [app_zapbarge.so] => (Barge in on Za
p channel application)
  == Registered application 'ZapBarge'
 [app_zapscan.so] => (Scan Zap channe
ls application)
  == Registered application 'ZapScan'
 [app_rxfax.so]Jan 18 15:46:05 WARN
ING[7952]: loader.c:258 as
t_load_resource: libspandsp.so.0: cannot open shared
object file: No su
ch file or directory
Jan 18 15:46:05 WARNING[7952]: loader.c:
440 load_modules: Loading module app_rxfax.so fa
iled!
Ouch ... error while writing audio data: : Broken pipe



		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 



More information about the asterisk-users mailing list