thx Tony, but DeadAGI doesn&#39;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 &amp; 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> &lt;<a href="mailto:tony@softins.clara.co.uk">tony@softins.clara.co.uk</a>&gt; 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 &lt;<a href="mailto:727040580705140433m5f2d51f2pe7fe3b01effd2de@mail.gmail.com">727040580705140433m5f2d51f2pe7fe3b01effd2de@mail.gmail.com</a>&gt;,<br>Michael Kamleitner &lt;<a href="mailto:michael.kamleitner@gmail.com">
michael.kamleitner@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; I&#39;m looking for a way to execute commands in my dialplan specifically when a<br>&gt; caller has hung up. my curretn dialplan looks like this:<br>&gt;<br>&gt; exten =&gt; s,1,Answer
<br>&gt; exten =&gt; s,n(restart),BackGround(intro)<br>&gt; exten =&gt; s,n,Read(Enter,4,4)<br>&gt; exten =&gt; s,n,Voicemail(${Enter},u)<br>&gt; exten =&gt; s,n,agi(process.php|${Enter})<br>&gt; exten =&gt; #,1,Playback(thanks)
<br>&gt; exten =&gt; #,n,Hangup<br>&gt;<br>&gt; it lets a user record a message to a chosen voicebox, when the user finishes<br>&gt; his message my pressing &quot;#&quot;, the script process.php is executed via AGI<br>&gt; everything fine. however, when the user finishes recording by simply hanging
<br>&gt; up, asterisk isn&#39;t executing the AGI-command any more. what I&#39;m looking for<br>&gt; is some kind of &quot;on hangup&quot;-hook to catch this use-case...<br>&gt;<br>&gt; any help appreciated, thx!<br><br>Try something like:
<br><br>exten =&gt; 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>&nbsp;&nbsp; <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>