[Freeswitch-users] Binding Digits in JavaScript for conference features mute fails.

covici at ccs.covici.com covici at ccs.covici.com
Wed Feb 5 23:58:40 MSK 2014


This is  not the correct way to invoke an api command in the dialplan --
you need something like application="set" data="variable=${conference(
...)}  because this is an api command not a dialplan app.  Check the
wiki for further information.

John Schaeffer <john at eventbuilder.com> wrote:

> I am trying to invoke "mute all non_moderators" from the XML dialplan.  Within the extension and condition matched I try:
> 
> <action application= "conference" data="${conference_name} mute non_moderators>
> 
> This causes the channel audio to completely shut off.  I have to redial to clear the error.   Invoking from the CLI works without issue.
> 
> cli>conference 09876543 mute non_moderator
> 
> I am binding in a Javascript the access code(*1) to do the feature:
> session.execute("bind_digit_action","dsp_features,*1,exec:execute_extension,MUTE_ALL XML public")
> 
> Is this muting the wrong leg of the call?
> 
> 
> 
> 
> John Schaeffer
> Telecommunications Engineer
> 503-727-9903(w)971-212-9431(c)
> 
> [EB logo_no tagline_med]
> 
> 
> ----------------------------------------------------
> Alternatives:
> 
> ----------------------------------------------------
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> 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

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com



Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list