[Freeswitch-users] permissions for tmute

Jamie McClelland jm at mayfirst.org
Mon Nov 28 19:35:00 MSK 2016


Thanks everyone for your help with this problem.

Just to close the loop...

My  mistake was passing in a garbage value for eventChannel when calling
vertoHandle.rpcClient.call("verto.broadcast"). Understandably,
freeswitch gave me a permission denied. When I set that value to the
proper moderator channel it started working.

jamie



On Wed Nov 16, Michael Jerris wrote:
> all you should need to do that i can think of:
> 
>  <action application="set" data="conference_member_flags=moderator"/>
> 
> 
> > On Nov 16, 2016, at 2:01 PM, Jamie McClelland <jm at mayfirst.org> wrote:
> > 
> > Thanks Brian and Michael for pointing me to the moderator flag.
> > 
> > However, I'm not having luck with it.
> > 
> > In my web app, everyone logs into via verto using the same username.
> > 
> > I've configured freeswitch to assign one of them the moderator flag (I
> > can confirm using fs_cli that the given conference member has the flag
> > set).
> > 
> > However, when that member tries to mute another member via verto I'm
> > still getting permission denied. 
> > 
> > Is it because all members are logging in as the same user (as defined in
> > the directory)? 
> > 
> > Or, if this really should be working I can test so more to make sure I'm
> > not making any other mistakes.
> > 
> > I'm having a hard time figuring out what permissions belong to a logged
> > in verto user and which permissions belong to a given member of a given
> > conference.
> > 
> > thanks,
> > jamie
> > 
> > 
> > On Wed Nov 16, Michael Jerris wrote:
> >> https://freeswitch.org/confluence/display/FREESWITCH/mod_conference <https://freeswitch.org/confluence/display/FREESWITCH/mod_conference><https://freeswitch.org/confluence/display/FREESWITCH/mod_conference <https://freeswitch.org/confluence/display/FREESWITCH/mod_conference>>
> >> 
> >> member flag moderator?
> >> 
> >>> On Nov 16, 2016, at 10:54 AM, Jamie McClelland <jm at mayfirst.org> wrote:
> >>> 
> >>> Hi all - Thanks to the devs for the excellent verto code!
> >>> 
> >>> After a year in use, I'm planning to improve my verto web app by
> >>> allowing administrators to mute or kick *other* participants from the
> >>> call.
> >>> 
> >>> I'm following these instructions:
> >>> 
> >>> https://evoluxbr.github.io/verto-docs/tut/sending-conference-commands.html
> >>> 
> >>> Thankfully, when I tried it as a regular logged in user that has the proper
> >>> permissions to join the conference, I received a permission denied message.
> >>> 
> >>> Now I'd like to login as a user with the proper permissions to mute another
> >>> conference participant, but I'm not sure how to set those permissions.
> >>> 
> >>> The regular conference participant has the following:
> >>> 
> >>>     <param name="verto-context" value="public"/>
> >>>     <param name="verto-dialplan" value="XML"/>
> >>>     <param name="jsonrpc-allowed-methods" value="verto"/>
> >>>     <param name="jsonrpc-allowed-event-channels" value="conference"/>
> >>> 
> >>> What would I add/change for a user that has permission to mute or kick another
> >>> conference participant?
> >>> 
> >>> thanks!
> >>> 
> >>> jamie
> >> 
> > 
> >> _________________________________________________________________________
> >> Professional FreeSWITCH Consulting Services: 
> >> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> >> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> >> 
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org <http://www.freeswitch.org/>
> >> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> >> http://www.cluecon.com <http://www.cluecon.com/>
> >> 
> >> FreeSWITCH-users mailing list
> >> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> >> http://www.freeswitch.org <http://www.freeswitch.org/>
> > 
> > 
> > -- 
> > May First/People Link
> > Growing networks to build a just world
> > http://www.mayfirst.org <http://www.mayfirst.org/>
> > https://support.mayfirst.org <https://support.mayfirst.org/>
> > 
> > OpenPGP Key: http://current.workingdirectory.net/pages/identity/ <http://current.workingdirectory.net/pages/identity/> 
> > xmpp: jamie at mayfirst.org <mailto:jamie at mayfirst.org>
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services: 
> > consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> > http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> > 
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org <http://www.freeswitch.org/>
> > http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> > http://www.cluecon.com <http://www.cluecon.com/>
> > 
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> > http://www.freeswitch.org <http://www.freeswitch.org/>

> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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


-- 
May First/People Link
Growing networks to build a just world
http://www.mayfirst.org
https://support.mayfirst.org

OpenPGP Key: http://current.workingdirectory.net/pages/identity/ 
xmpp: jamie at mayfirst.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161128/fa3af53c/attachment.bin 


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