[Freeswitch-users] Binding Digits in JavaScript for conference features mute fails.
John Schaeffer
john at eventbuilder.com
Thu Feb 6 00:56:54 MSK 2014
Very Cool!!!
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of covici at ccs.covici.com
Sent: Wednesday, February 05, 2014 12:59 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Binding Digits in JavaScript for conference features mute fails.
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_exte
> nsion,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-use
> rs
> 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
_________________________________________________________________________
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
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list