is there a way to know whe a conference doesn't exist anymore from the dialplan ? like after this line <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=true"/> <action application="conference" data="conf_name}@default+${conf_pin}"/> i'd like to know if there are members yet in the conference <action application="set" data="myVar=${conference(conf_name list)}"/> it works if the user send a dtmf key lke # (from conference default control keys) but if the user hangup as normal so the dialplan doesn't continue after the conference XML line. Any idea ? Thanks
Your best bet would be to launch a lua or perl script and do the checking there, then route based upon what you find. -MC On Mon, Jan 17, 2011 at 9:46 PM, Madovsky <infos@madovsky.org> wrote:
is there a way to know whe a conference doesn't exist anymore from the dialplan ?
like after this line
<action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=true"/> <action application="conference" data="conf_name}@default+${conf_pin}"/<conf_name%7D@default+$%7Bconf_pin%7D%22/>
i'd like to know if there are members yet in the conference
<action application="set" data="myVar=${conference(conf_name list)}"/>
it works if the user send a dtmf key lke # (from conference default control keys) but if the user hangup as normal so the dialplan doesn't continue after the conference XML line.
Any idea ?
Thanks
_______________________________________________ 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
yes, I found also <action application="set" data="session_in_hangup_hook=true"/> <action application="set" data="api_hangup_hook=system /usr/local/bin/php /usr/local/freeswitch/scripts/php/myPhpScript.php 'blablah' 'bililibli'"/> and in my php script I do what needed Thx ----- Original Message ----- From: Michael Collins To: FreeSWITCH Users Help Sent: Tuesday, January 18, 2011 7:02 PM Subject: Re: [Freeswitch-users] user hangup in a conference Your best bet would be to launch a lua or perl script and do the checking there, then route based upon what you find. -MC On Mon, Jan 17, 2011 at 9:46 PM, Madovsky <infos@madovsky.org> wrote: is there a way to know whe a conference doesn't exist anymore from the dialplan ? like after this line <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="continue_on_fail=true"/> <action application="conference" data="conf_name}@default+${conf_pin}"/> i'd like to know if there are members yet in the conference <action application="set" data="myVar=${conference(conf_name list)}"/> it works if the user send a dtmf key lke # (from conference default control keys) but if the user hangup as normal so the dialplan doesn't continue after the conference XML line. Any idea ? Thanks _______________________________________________ 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 ------------------------------------------------------------------------------ _______________________________________________ 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
participants (2)
-
Madovsky
-
Michael Collins