[asterisk-users] Asterisk 1.8 AGI error ast_carefulwrite: write() returned error

satish patel satish_lx at hotmail.com
Fri Mar 11 14:35:48 CST 2011


Hey Guys,

We upgrade asterisk from 1.2.x to 1.8.2.3 and my one of agi script doesn't working We have allpage.agi script for paging system on all polycom 501 but after upgrade it broke. Any idea what is this error ? 

extension.conf  

exten => 7770,1,agi(allpage.agi)
exten => 7770,2,meetme(7770,dq)
exten => 7770,3,playback(beep)
exten => 7770,4,hangup


following is agi debug....

    -- Executing [7770 at from-sip:1] AGI("SIP/7657-00000015", "allpage.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/allpage.agi
<SIP/7657-00000015>AGI Tx >> agi_request: allpage.agi
<SIP/7657-00000015>AGI Tx >> agi_channel: SIP/7657-00000015
<SIP/7657-00000015>AGI Tx >> agi_language: en
<SIP/7657-00000015>AGI Tx >> agi_type: SIP
<SIP/7657-00000015>AGI Tx >> agi_uniqueid: 1299876046.29
<SIP/7657-00000015>AGI Tx >> agi_version: 1.8.2.3
<SIP/7657-00000015>AGI Tx >> agi_callerid: 7657
<SIP/7657-00000015>AGI Tx >> agi_calleridname: iPhone
<SIP/7657-00000015>AGI Tx >> agi_callingpres: 0
<SIP/7657-00000015>AGI Tx >> agi_callingani2: 0
<SIP/7657-00000015>AGI Tx >> agi_callington: 0
<SIP/7657-00000015>AGI Tx >> agi_callingtns: 0
<SIP/7657-00000015>AGI Tx >> agi_dnid: 7770
<SIP/7657-00000015>AGI Tx >> agi_rdnis: unknown
<SIP/7657-00000015>AGI Tx >> agi_context: from-sip
<SIP/7657-00000015>AGI Tx >> agi_extension: 7770
<SIP/7657-00000015>AGI Tx >> agi_priority: 1
<SIP/7657-00000015>AGI Tx >> agi_enhanced: 0.0
<SIP/7657-00000015>AGI Tx >> agi_accountcode:
<SIP/7657-00000015>AGI Tx >> agi_threadid: -1345438864
<SIP/7657-00000015>AGI Tx >>
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
<SIP/7657-00000015>AGI Rx << VERBOSE "Found extension (None) in use." 1
 allpage.agi: Found extension (None) in use.
<SIP/7657-00000015>AGI Tx >> 200 result=1
<SIP/7657-00000015>AGI Rx << VERBOSE "Found extension 7657 in use." 1
 allpage.agi: Found extension 7657 in use.
<SIP/7657-00000015>AGI Tx >> 200 result=1
[Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() returned error: Broken pipe
<SIP/7657-00000015>AGI Rx << VERBOSE "Adding extension 7527 to call list" 1
 allpage.agi: Adding extension 7527 to call list
<SIP/7657-00000015>AGI Tx >> 200 result=1
[Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() returned error: Broken pipe
<SIP/7657-00000015>AGI Rx << VERBOSE "Adding extension 7623 to call list" 1
 allpage.agi: Adding extension 7623 to call list
<SIP/7657-00000015>AGI Tx >> 200 result=1
[Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() returned error: Broken pipe
<SIP/7657-00000015>AGI Rx << VERBOSE "NOT Adding extension 7657 to call list" 2
  == allpage.agi: NOT Adding extension 7657 to call list
<SIP/7657-00000015>AGI Tx >> 200 result=1
[Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() returned error: Broken pipe
<SIP/7657-00000015>AGI Rx << VERBOSE "Doing 7527" 0
allpage.agi: Doing 7527
<SIP/7657-00000015>AGI Tx >> 200 result=1
[Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() returned error: Broken pipe
    -- <SIP/7657-00000015>AGI Script allpage.agi completed, returning 0
    -- Executing [7770 at from-sip:2] MeetMe("SIP/7657-00000015", "7770,dq") in new stack
    -- Created MeetMe conference 1023 for conference '7770'
    -- Hungup 'DAHDI/pseudo-729745277'
  == Spawn extension (from-sip, 7770, 2) exited non-zero on 'SIP/7657-00000015'

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110311/9c70b7b5/attachment.htm>


More information about the asterisk-users mailing list