[Freeswitch-users] user hangup in a conference

Madovsky infos at madovsky.org
Wed Jan 19 03:10:57 MSK 2011


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 at 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 at 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 at lists.freeswitch.org
  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
  http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110118/f0b119de/attachment.html 


More information about the FreeSWITCH-users mailing list