<p dir="ltr">Yolu may use the esl to verify if call initiator is still logged.</p>
<div class="gmail_quote">On Jun 11, 2015 07:22, "René Weiss" <<a href="mailto:rw@panorgan.ch">rw@panorgan.ch</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
I have setup an outbound conference which ends automaticly if the<br>
initiator leaves thanks to the "endconf" flag.<br>
<br>
Now I got an new requirement:<br>
<br>
The called participants shold not automaticly join the conference,<br>
but instead the system should first play an audio file like "this is a<br>
conference call, press 9 to enter", and only after pressing "9" they<br>
should be added to the conference.<br>
<br>
I solved this (mostly) with "execute_on_answer" and a lua script:<br>
<br>
---<br>
repeat<br>
digits = session:playAndGetDigits(1, 1, 3, 3000, "#", "audio.wav",<br>
"", "[9]")<br>
until digits == "9"<br>
---<br>
<br>
The only problem is now that when the initiator hangs up while this<br>
script is running the call/conference doesn't end.<br>
<br>
In my tests the call continued like nothing happend, and after pressing<br>
"9" the participant was still redirect to the conference where he was<br>
now the only member.<br>
<br>
Any ideas how to solve this?<br>
<br>
Thanks.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div>