[Freeswitch-users] permissions for tmute

Ítalo Rossi italo at freeswitch.org
Thu Nov 17 01:31:17 MSK 2016


Change your dialplan to:

<action application="conference" data="$1-${domain_name}@video-mcu-stereo
++flags{*moderator*}"/>

On Wed, Nov 16, 2016 at 4: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>
> >
> > 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
> > 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
>
> _________________________________________________________________________
> 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
>



-- 
Ítalo Rossi
italo at freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161116/e1587dfd/attachment-0001.html 


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