[Asterisk-Users] agi exit problem

Panny Malialis panny at hotlinks.co.uk
Tue Oct 7 10:37:28 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);


Any help would be appreciated,

Thanks

Panny




More information about the asterisk-users mailing list