Citeren Dave Wilson <[EMAIL PROTECTED]>:
> > 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.
Wouldn't it be cool if you could take the call back, into the IVR script after
the remote party hangs up ?
Might be usefull for callcenters where agents want to allow customers to re-
enter the IVR wherever they left off. Ofcourse one might hack it by
transferring the user back into the IVR one way or another, but it is a hack.
Taking the call back after the Dial statement seems more elegant to me ?
--
Met vriendelijke groet,
Florian Overkamp
ObSimRef BV
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users