thx Tony, but DeadAGI doesn't seem to fit my needs... the way I understand its functioniality (<a href="http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+DeadAGI">http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+DeadAGI
</a>), DeadAGI is ensureing that an executed AGI-script is finished, even if the caller hung up _during_ execution. <br><br>in my case, I need to execute the AGI-script _after_ the user hung up & the voicemail is recorded.
<br><br>another ideas: is there away to tell the Voicemail-command to execute an AGI-script when recording is finsihed?<br><br><br>michael<br><br><br><div><span class="gmail_quote">On 5/14/07, <b class="gmail_sendername">
Tony Mountifield</b> <<a href="mailto:tony@softins.clara.co.uk">tony@softins.clara.co.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In article <<a href="mailto:727040580705140433m5f2d51f2pe7fe3b01effd2de@mail.gmail.com">727040580705140433m5f2d51f2pe7fe3b01effd2de@mail.gmail.com</a>>,<br>Michael Kamleitner <<a href="mailto:michael.kamleitner@gmail.com">
michael.kamleitner@gmail.com</a>> wrote:<br>><br>> I'm looking for a way to execute commands in my dialplan specifically when a<br>> caller has hung up. my curretn dialplan looks like this:<br>><br>> exten => s,1,Answer
<br>> exten => s,n(restart),BackGround(intro)<br>> exten => s,n,Read(Enter,4,4)<br>> exten => s,n,Voicemail(${Enter},u)<br>> exten => s,n,agi(process.php|${Enter})<br>> exten => #,1,Playback(thanks)
<br>> exten => #,n,Hangup<br>><br>> it lets a user record a message to a chosen voicebox, when the user finishes<br>> his message my pressing "#", the script process.php is executed via AGI<br>> everything fine. however, when the user finishes recording by simply hanging
<br>> up, asterisk isn't executing the AGI-command any more. what I'm looking for<br>> is some kind of "on hangup"-hook to catch this use-case...<br>><br>> any help appreciated, thx!<br><br>Try something like:
<br><br>exten => h,1,DeadAGI(process.php|${Enter})<br><br>Be prepared to experiment a bit!<br><br>Cheers<br>Tony<br>--<br>Tony Mountifield<br>Work: <a href="mailto:tony@softins.co.uk">tony@softins.co.uk</a> - <a href="http://www.softins.co.uk">
http://www.softins.co.uk</a><br>Play: <a href="mailto:tony@mountifield.org">tony@mountifield.org</a> - <a href="http://tony.mountifield.org">http://tony.mountifield.org</a><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Mag. Michael Kamleitner<br>---------------------------------------------------------------------<br><a href="mailto:kamleitner@m-otion.com">
kamleitner@m-otion.com</a><br><a href="https://www.xing.com/profile/Michael_Kamleitner">https://www.xing.com/profile/Michael_Kamleitner</a><br>---------------------------------------------------------------------<br>m-otion GmbH
<br>Favoritenstr 4-6/III, 1040 Wien<br>+43 1 205705 / 21 (Fax 99)<br>---------------------------------------------------------------------<br><a href="http://www.m-otion.com">www.m-otion.com</a>