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