<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hey Guys,<br><br>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 ? <br><br>extension.conf <br><br>exten => 7770,1,agi(allpage.agi)<br>exten => 7770,2,meetme(7770,dq)<br>exten => 7770,3,playback(beep)<br>exten => 7770,4,hangup<br><br><br>following is agi debug....<br><br> -- Executing [7770@from-sip:1] AGI("SIP/7657-00000015", "allpage.agi") in new stack<br> -- Launched AGI Script /var/lib/asterisk/agi-bin/allpage.agi<br><SIP/7657-00000015>AGI Tx >> agi_request: allpage.agi<br><SIP/7657-00000015>AGI Tx >> agi_channel: SIP/7657-00000015<br><SIP/7657-00000015>AGI Tx >> agi_language: en<br><SIP/7657-00000015>AGI Tx >> agi_type: SIP<br><SIP/7657-00000015>AGI Tx >> agi_uniqueid: 1299876046.29<br><SIP/7657-00000015>AGI Tx >> agi_version: 1.8.2.3<br><SIP/7657-00000015>AGI Tx >> agi_callerid: 7657<br><SIP/7657-00000015>AGI Tx >> agi_calleridname: iPhone<br><SIP/7657-00000015>AGI Tx >> agi_callingpres: 0<br><SIP/7657-00000015>AGI Tx >> agi_callingani2: 0<br><SIP/7657-00000015>AGI Tx >> agi_callington: 0<br><SIP/7657-00000015>AGI Tx >> agi_callingtns: 0<br><SIP/7657-00000015>AGI Tx >> agi_dnid: 7770<br><SIP/7657-00000015>AGI Tx >> agi_rdnis: unknown<br><SIP/7657-00000015>AGI Tx >> agi_context: from-sip<br><SIP/7657-00000015>AGI Tx >> agi_extension: 7770<br><SIP/7657-00000015>AGI Tx >> agi_priority: 1<br><SIP/7657-00000015>AGI Tx >> agi_enhanced: 0.0<br><SIP/7657-00000015>AGI Tx >> agi_accountcode:<br><SIP/7657-00000015>AGI Tx >> agi_threadid: -1345438864<br><SIP/7657-00000015>AGI Tx >><br> -- Remote UNIX connection<br> -- Remote UNIX connection disconnected<br> -- Remote UNIX connection<br> -- Remote UNIX connection disconnected<br><SIP/7657-00000015>AGI Rx << VERBOSE "Found extension (None) in use." 1<br> allpage.agi: Found extension (None) in use.<br><SIP/7657-00000015>AGI Tx >> 200 result=1<br><SIP/7657-00000015>AGI Rx << VERBOSE "Found extension 7657 in use." 1<br> allpage.agi: Found extension 7657 in use.<br><SIP/7657-00000015>AGI Tx >> 200 result=1<br>[Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() returned error: Broken pipe<br><SIP/7657-00000015>AGI Rx << VERBOSE "Adding extension 7527 to call list" 1<br> allpage.agi: Adding extension 7527 to call list<br><SIP/7657-00000015>AGI Tx >> 200 result=1<br>[Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() returned error: Broken pipe<br><SIP/7657-00000015>AGI Rx << VERBOSE "Adding extension 7623 to call list" 1<br> allpage.agi: Adding extension 7623 to call list<br><SIP/7657-00000015>AGI Tx >> 200 result=1<br>[Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() returned error: Broken pipe<br><SIP/7657-00000015>AGI Rx << VERBOSE "NOT Adding extension 7657 to call list" 2<br> == allpage.agi: NOT Adding extension 7657 to call list<br><SIP/7657-00000015>AGI Tx >> 200 result=1<br>[Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() returned error: Broken pipe<br><SIP/7657-00000015>AGI Rx << VERBOSE "Doing 7527" 0<br>allpage.agi: Doing 7527<br><SIP/7657-00000015>AGI Tx >> 200 result=1<br>[Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() returned error: Broken pipe<br> -- <SIP/7657-00000015>AGI Script allpage.agi completed, returning 0<br> -- Executing [7770@from-sip:2] MeetMe("SIP/7657-00000015", "7770,dq") in new stack<br> -- Created MeetMe conference 1023 for conference '7770'<br> -- Hungup 'DAHDI/pseudo-729745277'<br> == Spawn extension (from-sip, 7770, 2) exited non-zero on 'SIP/7657-00000015'<br><br>                                            </body>
</html>