[Asterisk-Users] agi exit problem

Dave Wilson dave at autosdirect2u.com
Tue Oct 7 10:39:11 MST 2003


>
> Hello
>
> Is it possible to make an agi script keep going after a Dial
> is exectued?
>
> Example:
>
> use Asterisk::AGI;
> $AGI = new Asterisk::AGI;
> $AGI->verbose("--> Hello");
> $AGI->exec('Dial',"IAX2/whatever"); <---- when this call ends
> the agi script
> ends.
> $AGI->verbose("--> Hello again");   <--- it never gets to here :(
> $AGI->hangup();
> exit(0);
>

Not sure if it's possible to keep the script running after Dial but perhaps
you could explain what you're attempting to achieve and there may be a
workaround.

Dave





More information about the asterisk-users mailing list