[asterisk-users] AGI Problem
Sam Govind
govoiper at gmail.com
Sat Sep 24 07:34:52 CDT 2011
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.
On Sat, Sep 24, 2011 at 3:21 PM, Mehmet Avcioglu <mehmet at activecom.net>wrote:
>
> On Sep 23, 2011, at 8:01 PM, Mehmet Avcioglu wrote:
> > I have an AGI script that occasionally disappears without completing its
> action and asterisk logs the following.
> >
> > <Local/0123456 at context-f46e;1>AGI Script script.php completed,
> returning 4
> > Spawn extension (context, 0123456, 2) exited non-zero on
> 'Local/0123456 at context-f46e;1'
>
>
> 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.
>
> exten => h,1,AGI(script.php,${ANSWEREDTIME},,,)
> exten => h,n,NoOp(${AGISTATUS})
>
> Executing [h at context:1] AGI("Local/0123456 at context-4b79;1",
> "script.php,13,,,") in new stack
> <Local/0123456 at context-4b79;1>AGI Script script.php completed, returning 4
> Spawn extension (context, h, 1) exited non-zero on
> 'Local/0123456 at context-4b79;1'
>
> --
> Mehmet
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110924/b8712277/attachment.htm>
More information about the asterisk-users
mailing list