Should we consider it ignorable or you are still interested in resolving ! Best of Luck in any case !<br><br><div class="gmail_quote">On Sat, Sep 24, 2011 at 6:16 PM, Mehmet Avcioglu <span dir="ltr"><<a href="mailto:mehmet@activecom.net">mehmet@activecom.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div><br></div><div>Out of about 18000 instances this problem occurred 48 times yesterday. So it has been pretty much impossible for me to replicate it under test conditions.</div>
<div><br></div><div>Thanks</div><div><br></div><font color="#888888"><div>--</div><div>Mehmet</div></font><div><div></div><div class="h5"><br><div><div>On Sep 24, 2011, at 4:00 PM, Sam Govind wrote:</div><br><blockquote type="cite">
Thats wicked !! hmmm stop your asterisk (if u can afford) and run it like "asterisk -cvvvvvg" and then make a call.. see whats your AGI doing in there !!<br><br><div class="gmail_quote">On Sat, Sep 24, 2011 at 5:43 PM, Mehmet Avcioglu <span dir="ltr"><<a href="mailto:mehmet@activecom.net" target="_blank">mehmet@activecom.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Thanks for the response.</div><div><br></div><div>Asterisk logs the execution of the AGI and script completed messages within the same second, so less than a second. </div>
<div><br></div><font color="#888888"><div>--</div><div>Mehmet</div></font><div><br><div><div>On Sep 24, 2011, at 3:34 PM, Sam Govind wrote:</div><br><blockquote type="cite">How much time your AGI is taking? Check if it is completing its task and not killed by asterisk. I guess we've 6~7 seconds before asterisk kills all call channel and related tasks.<br>
<br><div class="gmail_quote">On Sat, Sep 24, 2011 at 3:21 PM, Mehmet Avcioglu <span dir="ltr"><<a href="mailto:mehmet@activecom.net" target="_blank">mehmet@activecom.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex"><div><br>
On Sep 23, 2011, at 8:01 PM, Mehmet Avcioglu wrote:<br>
> I have an AGI script that occasionally disappears without completing its action and asterisk logs the following.<br>
><br>
> <Local/0123456@context-f46e;1>AGI Script script.php completed, returning 4<br>
> Spawn extension (context, 0123456, 2) exited non-zero on 'Local/0123456@context-f46e;1'<br>
<br>
</div>I also changed the dialplan and added a line to print AGISTATUS, but when this "returning 4" happens, asterisk stops there and doesn't execute any further dialplan actions, so I don't even see AGISTATUS value.<br>
<br>
exten => h,1,AGI(script.php,${ANSWEREDTIME},,,)<br>
exten => h,n,NoOp(${AGISTATUS})<br>
<br>
Executing [h@context:1] AGI("Local/0123456@context-4b79;1", "script.php,13,,,") in new stack<br>
<Local/0123456@context-4b79;1>AGI Script script.php completed, returning 4<br>
Spawn extension (context, h, 1) exited non-zero on 'Local/0123456@context-4b79;1'</blockquote></div></blockquote></div></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>
--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote>
</div><br></div></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>