[asterisk-users] Re: dialplan: execute on hangup

Tony Mountifield tony at softins.clara.co.uk
Mon May 14 14:47:40 MST 2007


In article <727040580705140540y216c4a48l78073b4d97ca79b1 at mail.gmail.com>,
Michael Kamleitner <michael.kamleitner at gmail.com> wrote:
> 
> thx Tony, but DeadAGI doesn't seem to fit my needs... the way I understand
> its functioniality (
> http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+DeadAGI), DeadAGI
> is ensureing that an executed AGI-script is finished, even if the caller
> hung up _during_ execution.

This is true, but DeadAGI will also work when the channel is already hung up.

> in my case, I need to execute the AGI-script _after_ the user hung up & the
> voicemail is recorded.

That's exactly what DeadAGI is for. I use DeadAGI extensively within the 'h'
extension to do post-call processing for my applications.

> another ideas: is there away to tell the Voicemail-command to execute an
> AGI-script when recording is finsihed?

Not without modifying the source code.

Cheers
Tony

-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org


More information about the asterisk-users mailing list