Binding Digits in JavaScript for conference features mute fails.
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]
Both john@eventbuilder.com<mailto:john@eventbuilder.com> and johns@eventbuilder.com<mailto:johns@eventbuilder.com> get to me. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of John Schaeffer Sent: Wednesday, February 05, 2014 12:00 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Binding Digits in JavaScript for conference features mute fails. 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]
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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Very Cool!!! -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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-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@ccs.covici.com _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
participants (2)
-
covici@ccs.covici.com
-
John Schaeffer