[Asterisk-Dev] Ouch ... error while writing audio data: : Broken pipe

Hermann Wecke hermann at wecke.com
Wed Feb 25 19:28:26 MST 2004


I just got an error and I'm not sure if it was my fault.

I was playing around with my * and tried to know what will happen if the
extension was in use when an outside caller tries to access that
extension.

This is the rule:

exten => 0,1,BackGround(transfer)
exten => 0,2,Dial(Skinny/1018 at hermann7960,10,tr)
exten => 0,3,BackGround(im-sorry)
exten => 0,4,BackGround(nbdy-avail-to-take-call)
exten => 0,5,BackGround(or)
exten => 0,6,BackGround(is-curntly-unavail)
exten => 0,7,BackGround(please-try-again)
exten => 0,8,BackGround(later)
exten => 0,9,Wait,1
exten => 0,10,Ringing
exten => 0,11,Goto(s,7)

(s,7 is the start of my IVR)

also happens with this rule:

exten => 1018,1,BackGround(transfer)
exten => 1018,2,Dial(Skinny/1018 at hermann7960,25,tr)
exten => 1018,3,VoiceMail,u1018
exten => 1018,102,VoiceMail,b1018
exten => 1018,103,Hangup

The * dies ONLY if the extension 1018 is calling someone (originating a
call but the other phone is only ringing, not talking). The problem does
not happen when 1018 is ringing, and another caller tries also 1018.

Extension 1018 (aka 0) is a Cisco 7960 running Skinny/SCCP. * was rebuilt
last Monday night, from CVS.

===========

And this is the last seconds of my box:

    -- Starting simple switch on 'Zap/1-1'
    -- Starting simple switch on '1018 at hermann7960'
Feb 26 02:07:00 ERROR[1242848048]: callerid.c:192 callerid_feed: fsk_serie made mylen < 0 (-4)
Feb 26 02:07:00 WARNING[1242848048]: chan_zap.c:4635 ss_thread: CallerID feed failed: Success
Feb 26 02:07:00 WARNING[1242848048]: chan_zap.c:4677 ss_thread: CallerID returned with error on channel 'Zap/1-1'
    -- Executing Wait("Zap/1-1", "1") in new stack
    -- Executing Answer("Zap/1-1", "") in new stack
    -- Executing DigitTimeout("Zap/1-1", "5") in new stack
    -- Set Digit Timeout to 5
    -- Executing ResponseTimeout("Zap/1-1", "10") in new stack
    -- Set Response Timeout to 10
    -- Executing Ringing("Zap/1-1", "") in new stack
    -- Executing Wait("Zap/1-1", "2") in new stack
    -- Executing BackGround("Zap/1-1", "for-quality-purposes") in new stack
    -- Playing 'for-quality-purposes' (language 'en')
  == CDR updated on Zap/1-1
    -- Executing BackGround("Zap/1-1", "transfer") in new stack
    -- Playing 'transfer' (language 'en')
    -- Executing Dial("Zap/1-1", "Skinny/1018 at hermann7960|10|tr") in new stack
Found device: hermann7960
    -- skinny_request(1018 at hermann7960)
    -- Skinny cw: 0, dnd: 0, so: 1, sno: 0
    -- skinny_call(Skinny/1018 at hermann7960-1)
    -- Called 1018 at hermann7960
    -- Skinny/1018 at hermann7960-1 is ringing
Recieved Open Recieve Channel Ack
Segmentation fault (core dumped)
Ouch ... error while writing audio data: : Broken pipe
Ouch ... error while writing audio data: : Broken pipe
Ouch ... error while writing audio data: : Broken pipe
Ouch ... error while writing audio data: : Broken pipe



More information about the asterisk-dev mailing list