error while writing audio data: : Broken pipe

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

error while writing audio data: : Broken pipe

Postby sharad » Sat Aug 12, 2006 7:59 am

HI
i got this error when run asterisk

root@phone:/# asterisk -vvvvvvvvvvvvgc
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Asterisk 1.2.9.1, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
== Parsing '/etc/asterisk/logger.conf': Found
Asterisk Event Logger Started /var/log/asterisk/event_log
== Parsing '/etc/asterisk/dnsmgr.conf': Found
Asterisk Dynamic Loader loading preload modules:
== Parsing '/etc/asterisk/modules.conf': Found
== 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
Asterisk Management interface listening on port 5038
== Parsing '/etc/asterisk/cdr.conf': Found
Aug 12 18:23:59 NOTICE[502]: cdr.c:1191 do_reload: CDR simple logging enabled.
== 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'
[ExecIfTime]
== Registered application 'ExecIfTime'
[Hangup]
== Registered application 'Hangup'
[NoOp]
== Registered application 'NoOp'
[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'
[Set]
== Registered application 'Set'
[SetVar]
== Registered application 'SetVar'
[ImportVar]
== Registered application 'ImportVar'
[Wait]
== Registered application 'Wait'
[WaitExten]
== Registered application 'WaitExten'
Asterisk Dynamic Loader Starting:
== Parsing '/etc/asterisk/modules.conf': Found
[res_musiconhold.so] => (Music On Hold Resource)
== Registered application 'MusicOnHold'
== Registered application 'WaitMusicOnHold'
== Registered application 'SetMusicOnHold'
== Registered application 'StartMusicOnHold'
== Registered application 'StopMusicOnHold'
== Parsing '/etc/asterisk/musiconhold.conf': Found
[res_indications.so] => (Indications Configuration)
== Parsing '/etc/asterisk/indications.conf': Found
-- Registered indication country 'at'
-- Registered indication country 'au'
-- Registered indication country 'br'
-- Registered indication country 'be'
-- Registered indication country 'ch'
-- Registered indication country 'cl'
-- Registered indication country 'cn'
-- Registered indication country 'cz'
-- Registered indication country 'de'
-- Registered indication country 'dk'
-- Registered indication country 'ee'
-- Registered indication country 'es'
-- Registered indication country 'fi'
-- Registered indication country 'fr'
-- Registered indication country 'gr'
-- Registered indication country 'hu'
-- Registered indication country 'it'
-- Registered indication country 'lt'
-- Registered indication country 'mx'
-- Registered indication country 'nl'
-- Registered indication country 'no'
-- Registered indication country 'nz'
-- Registered indication country 'pl'
-- Registered indication country 'pt'
-- Registered indication country 'ru'
-- Registered indication country 'se'
-- Registered indication country 'sg'
-- Registered indication country 'uk'
-- Registered indication country 'us'
-- Registered indication country 'us-o'
-- Registered indication country 'tw'
-- Registered indication country 'za'
-- 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_adsi.so] => (ADSI Resource)
== Parsing '/etc/asterisk/adsi.conf': Found
[res_agi.so] => (Asterisk Gateway Interface (AGI))
== Registered application 'DeadAGI'
== Registered application 'EAGI'
== Registered application 'AGI'
[res_features.so] => (Call Features 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'
[pbx_config.so] => (Text Extension Configuration)
== Parsing '/etc/asterisk/extensions.conf': Found
Aug 12 18:23:59 WARNING[502]: config.c:525 process_text_line: No '=' (equal sign) in line 43 of extensions.conf
Aug 12 18:23:59 WARNING[502]: config.c:495 process_text_line: Unknown directive '##' at line 105 of extensions.conf
Aug 12 18:23:59 WARNING[502]: config.c:495 process_text_line: Unknown directive '##' at line 110 of extensions.conf
Aug 12 18:23:59 WARNING[502]: config.c:495 process_text_line: Unknown directive '##' at line 115 of extensions.conf
Aug 12 18:23:59 WARNING[502]: config.c:495 process_text_line: Unknown directive '##' at line 116 of extensions.conf
Aug 12 18:23:59 WARNING[502]: config.c:495 process_text_line: Unknown directive '##' at line 117 of extensions.conf
Aug 12 18:23:59 WARNING[502]: config.c:495 process_text_line: Unknown directive '##' at line 120 of extensions.conf
== Setting global variable 'CONSOLE' to 'Console/dsp'
== Setting global variable 'TRUNK' to 'Zap/g1'
== Setting global variable 'TRUNKX' to 'Zap/g2'
== Setting global variable 'TRUNKIAX' to 'IAX2/ASTtest1:test@10.10.10.16:4569'
-- Registered extension context 'default'
-- Added extension '8600' priority 1 to default
-- Added extension '8601' priority 1 to default
-- Added extension '102' priority 1 to default
-- Added extension '102' priority 2 to default
-- Added extension '102' priority 3 to default
-- Added extension '2000' priority 1 to default
-- Added extension '2000' priority 2 to default
-- Added extension '2001' priority 1 to default
-- Added extension '2001' priority 2 to default
Aug 12 18:23:59 WARNING[502]: pbx.c:4796 ast_add_extension2: Unable to register extension '2001', priority 1 in 'default', already in use
Aug 12 18:23:59 WARNING[502]: pbx_config.c:1744 pbx_load_module: Unable to register extension at line 28
Aug 12 18:23:59 WARNING[502]: pbx.c:4796 ast_add_extension2: Unable to register extension '2001', priority 2 in 'default', already in use
Aug 12 18:23:59 WARNING[502]: pbx_config.c:1744 pbx_load_module: Unable to register extension at line 29
-- Added extension '301' priority 1 to default
-- Added extension '301' priority 2 to default
-- Added extension '_**3429' priority 1 to default
-- Added extension '_**3429' priority 2 to default
-- Added extension '_**3429' priority 3 to default
-- Added extension '_**3429' priority 4 to default
-- Added extension '_*NXXNXXXXXX*3429' priority 1 to default
-- Added extension '_*NXXNXXXXXX*3429' priority 2 to default
-- Added extension '_*NXXNXXXXXX*3429' priority 3 to default
-- Added extension '_*NXXNXXXXXX*3429' priority 4 to default
-- Added extension '_901144XXXXXXXXXX' priority 1 to default
-- Added extension '_901144XXXXXXXXXX' priority 2 to default
-- Added extension '_901161XXXXXXXXX' priority 1 to default
-- Added extension '_901161XXXXXXXXX' priority 2 to default
-- Added extension '_91800NXXXXXX' priority 1 to default
-- Added extension '_91800NXXXXXX' priority 2 to default
-- Added extension '_91888NXXXXXX' priority 1 to default
-- Added extension '_91888NXXXXXX' priority 2 to default
-- Added extension '_91877NXXXXXX' priority 1 to default
-- Added extension '_91877NXXXXXX' priority 2 to default
-- Added extension '_91866NXXXXXX' priority 1 to default
-- Added extension '_91866NXXXXXX' priority 2 to default
-- Added extension '_9727NXXXXXX' priority 1 to default
-- Added extension '_9727NXXXXXX' priority 2 to default
-- Added extension '_9813NXXXXXX' priority 1 to default
-- Added extension '_9813NXXXXXX' priority 2 to default
-- Added extension '_91NXXNXXXXXX' priority 1 to default
-- Added extension '_91NXXNXXXXXX' priority 2 to default
-- Added extension '_9NXXXXXX' priority 1 to default
-- Added extension '_9NXXXXXX' priority 2 to default
-- Added extension '8159' priority 1 to default
-- Added extension '8159' priority 2 to default
-- Added extension '#' priority 1 to default
-- Added extension '#' priority 2 to default
-- Added extension 't' priority 1 to default
-- Added extension 'i' priority 1 to default
-- Added extension '8500' priority 1 to default
-- Added extension '8500' priority 2 to default
-- Added extension '_54XXX' priority 1 to default
-- Added extension '_55XXX' priority 1 to default
-- Added extension '_56XXX' priority 1 to default
Aug 12 18:23:59 WARNING[502]: pbx.c:4796 ast_add_extension2: Unable to register extension '_91NXXNXXXXXX', priority 1 in 'default', already in use
Aug 12 18:23:59 WARNING[502]: pbx_config.c:1744 pbx_load_module: Unable to register extension at line 106
Aug 12 18:23:59 WARNING[502]: pbx.c:4796 ast_add_extension2: Unable to register extension '_91NXXNXXXXXX', priority 2 in 'default', already in use
Aug 12 18:23:59 WARNING[502]: pbx_config.c:1744 pbx_load_module: Unable to register extension at line 107
-- Added extension '_91NXXNXXXXXX' priority 3 to default
Aug 12 18:23:59 WARNING[502]: pbx.c:4796 ast_add_extension2: Unable to register extension '_91NXXNXXXXXX', priority 1 in 'default', already in use
Aug 12 18:23:59 WARNING[502]: pbx_config.c:1744 pbx_load_module: Unable to register extension at line 111
Aug 12 18:23:59 WARNING[502]: pbx.c:4796 ast_add_extension2: Unable to register extension '_91NXXNXXXXXX', priority 2 in 'default', already in use
Aug 12 18:23:59 WARNING[502]: pbx_config.c:1744 pbx_load_module: Unable to register extension at line 112
Aug 12 18:23:59 WARNING[502]: pbx.c:4796 ast_add_extension2: Unable to register extension '_91NXXNXXXXXX', priority 3 in 'default', already in use
Aug 12 18:23:59 WARNING[502]: pbx_config.c:1744 pbx_load_module: Unable to register extension at line 113
-- Added extension '_010*010*010*016*8600XXX' priority 1 to default
-- Added extension '_010*010*010*016*8600XXX' priority 2 to default
-- Added extension '_010*010*010*015*8600XXX' priority 1 to default
-- Added extension '_010*010*010*015*8600XXX' priority 2 to default
-- Registered extension context 'dundi-e164-canonical'
-- Registered extension context 'dundi-e164-customers'
-- Registered extension context 'dundi-e164-via-pstn'
-- Registered extension context 'dundi-e164-local'
-- Including context 'dundi-e164-canonical' in context 'dundi-e164-local'
-- Including context 'dundi-e164-customers' in context 'dundi-e164-local'
-- Including context 'dundi-e164-via-pstn' in context 'dundi-e164-local'
-- Registered extension context 'dundi-e164-switch'
-- Including switch 'DUNDi/e164' in context 'dundi-e164-switch'
-- Registered extension context 'dundi-e164-lookup'
-- Including context 'dundi-e164-local' in context 'dundi-e164-lookup'
-- Including context 'dundi-e164-switch' in context 'dundi-e164-lookup'
-- Registered extension context 'macro-dundi-e164'
-- Added extension 's' priority 1 to macro-dundi-e164
-- Including context 'dundi-e164-lookup' in context 'macro-dundi-e164'
-- 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
-- Registered extension context 'trunktollfree'
-- Added extension '_91800NXXXXXX' priority 1 to trunktollfree
-- Added extension '_91888NXXXXXX' priority 1 to trunktollfree
-- Added extension '_91877NXXXXXX' priority 1 to trunktollfree
-- Added extension '_91866NXXXXXX' priority 1 to trunktollfree
-- Registered extension context 'international'
-- Including context 'longdistance' in context 'international'
-- 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-stdexten
-- Added extension 's-NOANSWER' priority 2 to macro-stdexten
-- 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 'macro-stdPrivacyexten'
-- Added extension 's' priority 1 to macro-stdPrivacyexten
-- Added extension 's' priority 2 to macro-stdPrivacyexten
-- Added extension 's-NOANSWER' priority 1 to macro-stdPrivacyexten
-- Added extension 's-NOANSWER' priority 2 to macro-stdPrivacyexten
-- Added extension 's-BUSY' priority 1 to macro-stdPrivacyexten
-- Added extension 's-BUSY' priority 2 to macro-stdPrivacyexten
-- Added extension 's-DONTCALL' priority 1 to macro-stdPrivacyexten
-- Added extension 's-TORTURE' priority 1 to macro-stdPrivacyexten
-- Added extension '_s-.' priority 1 to macro-stdPrivacyexten
-- Added extension 'a' priority 1 to macro-stdPrivacyexten
-- 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 's' priority 7 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
Aug 12 18:23:59 WARNING[502]: pbx.c:3656 ast_context_create: Tried to register context 'default', already in use
[pbx_spool.so] => (Outgoing Spool Support)
[pbx_dundi.so] => (Distributed Universal Number Discovery (DUNDi))
== Parsing '/etc/asterisk/dundi.conf': Found
== Using TOS bits 0
Warning, flexibel rate not heavily tested!
== DUNDi Ready and Listening on 0.0.0.0 port 4520
== Registered application 'DUNDiLookup'
== Registered custom function DUNDILOOKUP
[pbx_loopback.so] => (Loopback Switch)
[pbx_realtime.so] => (Realtime Switch)
[pbx_ael.so] => (Asterisk Extension Language Compiler)
-- Registered extension context 'macro-std-exten-ael'
-- Added extension 's' priority 1 to macro-std-exten-ael
-- Added extension 's' priority 2 to macro-std-exten-ael
-- Added extension 's' priority 3 to macro-std-exten-ael
-- Added extension 's' priority 4 to macro-std-exten-ael
-- Added extension 's' priority 5 to macro-std-exten-ael
-- Added extension 'sw-4-BUSY' priority 1 to macro-std-exten-ael
-- Added extension 'sw-4-BUSY' priority 2 to macro-std-exten-ael
-- Added extension '_sw-4-.' priority 1 to macro-std-exten-ael
-- Added extension 'a' priority 1 to macro-std-exten-ael
-- Added extension 'a' priority 2 to macro-std-exten-ael
-- Registered extension context 'ael-demo'
-- Added extension 's' priority 1 to ael-demo
-- Added extension 's' priority 2 to ael-demo
-- Added extension 's' priority 3 to ael-demo
-- Added extension 's' priority 4 to ael-demo
-- Added extension 's' priority 5 to ael-demo
-- Added extension 's' priority 6 to ael-demo
-- Added extension 's' priority 8 to ael-demo
-- Added extension 's' priority 9 to ael-demo
-- Added extension 's' priority 10 to ael-demo
-- Added extension 's' priority 11 to ael-demo
-- Added extension 's' priority 12 to ael-demo
-- Added extension 's' priority 7 to ael-demo
-- Added extension '2' priority 1 to ael-demo
-- Added extension '2' priority 2 to ael-demo
-- Added extension '3' priority 1 to ael-demo
-- Added extension '3' priority 2 to ael-demo
-- Added extension '500' priority 1 to ael-demo
-- Added extension '500' priority 2 to ael-demo
-- Added extension '500' priority 3 to ael-demo
-- Added extension '500' priority 4 to ael-demo
-- Added extension '600' priority 1 to ael-demo
-- Added extension '600' priority 2 to ael-demo
-- Added extension '600' priority 3 to ael-demo
-- Added extension '600' priority 4 to ael-demo
-- Added extension '_1234' priority 1 to ael-demo
-- Added extension '#' priority 1 to ael-demo
-- Added extension '#' priority 2 to ael-demo
-- Added extension 't' priority 1 to ael-demo
-- Added extension 'i' priority 1 to ael-demo
[pbx_functions.so] => (Builtin dialplan functions)
== Registered custom function MD5
== Registered custom function CHECK_MD5
== Registered custom function MATH
== Registered custom function GROUP_COUNT
== Registered custom function GROUP_MATCH_COUNT
== Registered custom function GROUP
== Registered custom function GROUP_LIST
== Registered custom function FIELDQTY
== Registered custom function REGEX
== Registered custom function LEN
== Registered custom function STRFTIME
== Registered custom function EVAL
== Registered custom function CDR
== Registered custom function ISNULL
== Registered custom function SET
== Registered custom function EXISTS
== Registered custom function IF
== Registered custom function IFTIME
== Registered custom function ENV
== Registered custom function DB
== Registered custom function DB_EXISTS
== Registered custom function TIMEOUT
== Registered custom function LANGUAGE
== Registered custom function MUSICCLASS
[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
== Parsing '/etc/asterisk/sip_notify.conf': Found
== Registered channel type 'SIP' (Session Initiation Protocol (SIP))
== Registered application 'SIPDtmfMode'
== Registered application 'SIPAddHeader'
== Registered application 'SIPGetHeader'
== Registered custom function SIP_HEADER
== Registered custom function SIPPEER
== Registered custom function SIPCHANINFO
== Registered custom function CHECKSIPDOMAIN
== Manager registered action SIPpeers
== Manager registered action SIPshowpeer
[chan_agent.so] => (Agent Proxy Channel)
== Registered channel type 'Agent' (Call Agent Proxy Channel)
== Registered application 'AgentLogin'
== Registered application 'AgentCallbackLogin'
== Registered application 'AgentMonitorOutgoing'
== Manager registered action Agents
== Manager registered action AgentLogoff
== Manager registered action AgentCallbackLogin
== Parsing '/etc/asterisk/agents.conf': Found
[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))
[chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
== Registered custom function IAXPEER
== Registered application 'IAX2Provision'
== Manager registered action IAXpeers
== Manager registered action IAXnetstats
== Parsing '/etc/asterisk/iax.conf': Found
== Using TOS bits 16
== Binding IAX2 to default address 0.0.0.0:4569
-- doing lookup for '216.207.245.47'
== Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2))
== IAX Ready and Listening
== 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)
[chan_skinny.so] => (Skinny Client Control Protocol (Skinny))
== Parsing '/etc/asterisk/skinny.conf': Found
== Skinny listening on 0.0.0.0:2000
== Registered channel type 'Skinny' (Skinny Client Control Protocol (Skinny))
[chan_features.so] => (Feature Proxy Channel)
== Registered channel type 'Feature' (Feature Proxy Channel Driver)
[chan_oss.so] => (OSS Console Channel Driver)
== Parsing '/etc/asterisk/oss.conf': Found
== Registered channel type 'Console' (OSS Console Channel Driver)
[chan_phone.so] => (Linux Telephony API Support)
== Parsing '/etc/asterisk/phone.conf': Found
== Registered channel type 'Phone' (Standard Linux Telephony API Driver)
[skipping chan_alsa.so]
[chan_zap.so] => (Zapata Telephony w/PRI)
== Parsing '/etc/asterisk/zapata.conf': Found
Aug 12 18:23:59 WARNING[502]: chan_zap.c:923 zt_open: Unable to specify channel 1: No such device or address
Aug 12 18:23:59 ERROR[502]: chan_zap.c:6883 mkintf: Unable to open channel 1: No such device or address
here = 0, tmp->channel = 1, channel = 1
Aug 12 18:23:59 ERROR[502]: chan_zap.c:10319 setup_zap: Unable to register channel '1-2'
Aug 12 18:23:59 WARNING[502]: loader.c:414 __load_resource: chan_zap.so: load_module failed, returning -1
Aug 12 18:23:59 WARNING[502]: loader.c:554 load_modules: Loading module chan_zap.so failed!
root@phone:/# Ouch ... error while writing audio data: : Broken pipe

please help

ps- i am using slackware10.2 with kernal 2.4.31
i had install all softwares of phase 3 of scratch_install
sharad
 
Posts: 36
Joined: Fri Jul 21, 2006 7:47 am

Postby mflorell » Sat Aug 12, 2006 8:07 am

What kind of zaptel timer are you using?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby sharad » Sat Aug 12, 2006 8:15 am

Hi
I am using digium x100p card .



thanks for fast reply
Last edited by sharad on Mon Aug 14, 2006 6:01 am, edited 1 time in total.
sharad
 
Posts: 36
Joined: Fri Jul 21, 2006 7:47 am

Postby mflorell » Sat Aug 12, 2006 9:12 pm

loading zaptel failed so there is something wrong with it. did you modprobe zaptel without errors?

What is the output of zttool?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby sharad » Mon Aug 14, 2006 1:47 am

hi
i reinstall zaptel and configured it
when i run ztcfg -vvvvvv
it shows one error...........what this!

root@phone:~# ztcfg -vvvvvv

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

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: E & M (Default) (Slaves: 01)
Channel 02: E & M (Default) (Slaves: 02)
Channel 03: E & M (Default) (Slaves: 03)
Channel 04: E & M (Default) (Slaves: 04)
Channel 05: E & M (Default) (Slaves: 05)
Channel 06: E & M (Default) (Slaves: 06)
Channel 07: E & M (Default) (Slaves: 07)
Channel 08: E & M (Default) (Slaves: 08)
Channel 09: E & M (Default) (Slaves: 09)
Channel 10: E & M (Default) (Slaves: 10)
Channel 11: E & M (Default) (Slaves: 11)
Channel 12: E & M (Default) (Slaves: 12)
Channel 13: E & M (Default) (Slaves: 13)
Channel 14: E & M (Default) (Slaves: 14)
Channel 15: E & M (Default) (Slaves: 15)
Channel 16: E & M (Default) (Slaves: 16)
Channel 17: E & M (Default) (Slaves: 17)
Channel 18: E & M (Default) (Slaves: 18)
Channel 19: E & M (Default) (Slaves: 19)
Channel 20: E & M (Default) (Slaves: 20)
Channel 21: E & M (Default) (Slaves: 21)
Channel 22: E & M (Default) (Slaves: 22)
Channel 23: E & M (Default) (Slaves: 23)
Channel 24: E & M (Default) (Slaves: 24)

24 channels configured.

ZT_SPANCONFIG failed on span 1: Invalid argument (22)

and output of zttool

root@phone:~# zttool
-bash: zttool: command not found

Also,I have NO error while runnnig
modprobe zaptel
modprobe wcfxo

any help
regards
sharad
sharad
 
Posts: 36
Joined: Fri Jul 21, 2006 7:47 am

Postby mflorell » Mon Aug 14, 2006 6:05 am

You cannot configure 24 channels with an X100P card, it is only capable of running a single channel. As for zttool you need to "make zttool" in order to use it.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby sharad » Mon Aug 14, 2006 6:54 am

hi
i rt make zttool
it shows error
root@asterisk:/usr/src/asterisk/zaptel-1.2.7# make zttool
cc -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPT
EL_CONFIG=\"/etc/zaptel.conf\" -c -o zttool.o zttool.c
zttool.c:40:18: newt.h: No such file or directory
zttool.c:135: error: syntax error before "spans"
zttool.c: In function `add_cards':
zttool.c:141: error: `spans' undeclared (first use in this function)
zttool.c:141: error: (Each undeclared identifier is reported only once
zttool.c:141: error: for each function it appears in.)
zttool.c:142: warning: implicit declaration of function `newtListboxGetCurrent'
zttool.c:142: warning: assignment makes pointer from integer without a cast
zttool.c:143: warning: implicit declaration of function `newtListboxClear'
zttool.c:148: warning: implicit declaration of function `newtListboxAppendEntry
'
zttool.c:152: warning: implicit declaration of function `newtListboxSetCurrentB
yKey'
zttool.c: At top level:
zttool.c:156: error: syntax error before "c"
zttool.c: In function `sel_callback':
zttool.c:161: error: `cbdata' undeclared (first use in this function)
zttool.c:161: error: `c' undeclared (first use in this function)
zttool.c:171: warning: implicit declaration of function `newtPopHelpLine'
zttool.c:172: warning: implicit declaration of function `newtPushHelpLine'
zttool.c: At top level:
zttool.c:175: error: syntax error before "newtComponent"
zttool.c: In function `show_bits':
zttool.c:202: error: `span' undeclared (first use in this function)
zttool.c:271: warning: implicit declaration of function `newtTextboxSetText'
zttool.c:271: error: `bitbox' undeclared (first use in this function)
zttool.c:273: error: `inuse' undeclared (first use in this function)
zttool.c:277: error: `levels' undeclared (first use in this function)
zttool.c:279: error: `bpvcount' undeclared (first use in this function)
zttool.c:281: error: `irqmisses' undeclared (first use in this function)
zttool.c:282: error: `alarms' undeclared (first use in this function)
zttool.c:287: error: `syncsrc' undeclared (first use in this function)
zttool.c: In function `do_loop':
zttool.c:294: error: `newtComponent' undeclared (first use in this function)
zttool.c:294: error: syntax error before "form"
zttool.c:299: error: storage size of `es' isn't known
zttool.c:301: warning: implicit declaration of function `newtOpenWindow'
zttool.c:303: error: `form' undeclared (first use in this function)
zttool.c:303: warning: implicit declaration of function `newtForm'
zttool.c:313: error: `label' undeclared (first use in this function)
zttool.c:313: warning: implicit declaration of function `newtLabel'
zttool.c:314: warning: implicit declaration of function `newtFormAddComponent'
zttool.c:317: warning: implicit declaration of function `newtFormSetTimer'
zttool.c:318: warning: implicit declaration of function `newtFormRun'
zttool.c:320: warning: implicit declaration of function `newtFormDestroy'
zttool.c:321: warning: implicit declaration of function `newtPopWindow'
zttool.c:299: warning: unused variable `es'
zttool.c: At top level:
zttool.c:325: error: syntax error before "spans"
zttool.c:325: warning: type defaults to `int' in declaration of `spans'
zttool.c:325: error: `spans' used prior to declaration
zttool.c:325: warning: data definition has no type or storage class
zttool.c: In function `show_span':
zttool.c:328: error: `newtComponent' undeclared (first use in this function)
zttool.c:328: error: syntax error before "form"
zttool.c:344: error: storage size of `es' isn't known
zttool.c:351: warning: assignment makes pointer from integer without a cast
zttool.c:361: error: `back' undeclared (first use in this function)
zttool.c:361: warning: implicit declaration of function `newtButton'
zttool.c:362: error: `loop' undeclared (first use in this function)
zttool.c:363: error: `form' undeclared (first use in this function)
zttool.c:365: warning: implicit declaration of function `newtFormAddComponents'
zttool.c:374: error: `bitbox' undeclared (first use in this function)
zttool.c:374: warning: implicit declaration of function `newtTextbox'
zttool.c:377: error: `label' undeclared (first use in this function)
zttool.c:383: warning: implicit declaration of function `newtFormAddHotKey'
zttool.c:383: error: `NEWT_KEY_F10' undeclared (first use in this function)
zttool.c:414: error: `inuse' undeclared (first use in this function)
zttool.c:420: error: `levels' undeclared (first use in this function)
zttool.c:426: error: `bpvcount' undeclared (first use in this function)
zttool.c:432: error: `irqmisses' undeclared (first use in this function)
zttool.c:438: error: `syncsrc' undeclared (first use in this function)
zttool.c:444: error: `alarms' undeclared (first use in this function)
zttool.c:453: error: `NEWT_EXIT_TIMER' undeclared (first use in this function)
zttool.c:455: error: `NEWT_EXIT_COMPONENT' undeclared (first use in this functi
on)
zttool.c:465: error: `NEWT_EXIT_HOTKEY' undeclared (first use in this function)
zttool.c:344: warning: unused variable `es'
zttool.c: In function `show_spans':
zttool.c:489: error: `newtComponent' undeclared (first use in this function)
zttool.c:489: error: syntax error before "form"
zttool.c:495: error: storage size of `es' isn't known
zttool.c:498: error: `quit' undeclared (first use in this function)
zttool.c:499: error: `sel' undeclared (first use in this function)
zttool.c:501: warning: implicit declaration of function `newtListbox'
zttool.c:501: error: `NEWT_FLAG_SCROLL' undeclared (first use in this function)
zttool.c:502: warning: implicit declaration of function `newtListboxSetWidth'
zttool.c:504: error: `label' undeclared (first use in this function)
zttool.c:506: warning: implicit declaration of function `newtCenteredWindow'
zttool.c:507: error: `form' undeclared (first use in this function)
zttool.c:513: warning: implicit declaration of function `newtComponentAddCallba ck'
zttool.c:515: error: `NEWT_KEY_F1' undeclared (first use in this function)
zttool.c:516: error: `NEWT_KEY_F10' undeclared (first use in this function)
zttool.c:523: error: `NEWT_EXIT_TIMER' undeclared (first use in this function)
zttool.c:526: error: `NEWT_EXIT_COMPONENT' undeclared (first use in this functi on)
zttool.c:535: error: `NEWT_EXIT_HOTKEY' undeclared (first use in this function)
zttool.c:495: warning: unused variable `es'
zttool.c: In function `main':
zttool.c:564: warning: implicit declaration of function `newtInit'
zttool.c:565: warning: implicit declaration of function `newtCls'
zttool.c:567: warning: implicit declaration of function `newtDrawRootText'
zttool.c:571: warning: implicit declaration of function `newtFinished'
make: *** [zttool.o] Error 1

thanks in advance
sharad
 
Posts: 36
Joined: Fri Jul 21, 2006 7:47 am

Postby sharad » Mon Aug 14, 2006 7:25 am

Hi

Now my asterisk is running

output of ztcfg -vvvv

root@asterisk:/# ztcfg -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

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


Channel map:

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

1 channels configured.


Asterisk is running and shows CLI> prompt

Thanks


But what to do with zttool error!!!!!!!!
sharad
 
Posts: 36
Joined: Fri Jul 21, 2006 7:47 am

Postby mflorell » Mon Aug 14, 2006 10:25 am

you have to "make zttool" in order to run zttool.

If you are getting errors when you make zttool usually that means that you do not have newt installed:

download here:
http://www.freedomphones.net/files/newt-0.51.6.tar.gz
gunzip; ./configure; make; make install
ln -s /usr/lib/libnewt.so.0.51.6 /usr/lib/libnewt.so.0.51
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 62 guests