<p>I&#39;ll sure look at the &#39;g&#39; option tomorrow when back at work, as I am using it on a production system.</p>
<p>MeetMe is a good way to accomplish this, I&#39;ve done it several times though a little tricky, but works great.</p>
<p>Another idea could be to use option M^ and send the call to a macro and write a macro to handle the call after it is hung up.</p>
<p>There is also an option &#39;b&#39; which opens up an agi script. I once used it but gave up because if I remember correctly it ran the agi in parallel with the dial command.<br></p>
<p>Zeeshan A Zakaria</p>
<p>--<br>
<a href="http://www.ilovetovoip.com">www.ilovetovoip.com</a></p>
<p><blockquote type="cite">On 2010-06-22 1:08 PM, &quot;Philipp von Klitzing&quot; &lt;<a href="mailto:klitzing@pool.informatik.rwth-aachen.de">klitzing@pool.informatik.rwth-aachen.de</a>&gt; wrote:<br><br>Hi!<br>
<p><font color="#500050"><br>&gt; Can anyone think of a way to play IVR after conversation initiated by<br>&gt; Dial() terminates?<br></font></p>You will most probably have to prevent the hangup to happen in the first<br>

place:<br>
<br>
You could, for example, join the two callers by the help of a dynamic<br>
MeetMe room, and then take action when the other parties leaves, i.e.<br>
kick the remaining user out of the room and continue in the dialplan.<br>
<br>
Here&#39;s an example for &quot;Voicemail live&quot; that uses such a technique:<br>
<a href="http://www.voip-info.org/wiki/view/Asterisk+tips+voicemail+live" target="_blank">http://www.voip-info.org/wiki/view/Asterisk+tips+voicemail+live</a><br>
<br>
Another way *might* be to involve a local channel for the calling party<br>
with the /n option to prevent it from optimizing themselves away: For<br>
example: The caller&#39;s SIP channel hangs up, but the local channel that it<br>
is connected with then continues in the dialplan? Not sure if there is a<br>
way to make this work - could be that you need to twist things badly so<br>
that also the caller is in fact a callee to the local channel...<br>
<br>
Finally: Put a SIP proxy in between that catches the hangup and then<br>
takes action like a redirect (transfer).<br>
<br>
Philipp<br>
<font color="#888888"><br>
<br>
--<br>
</font><p><font color="#500050">_____________________________________________________________________<br>-- Bandwidth and Colocation Pr...</font></p></blockquote></p>