one user with two permissions and two groups

  1. 13 years ago

    Hi,

    Is there anyway to configure different permissions for different groups?

    I want to create an user that can spy the group "agentes" and can pickup the group "suporte", but it can't spy the group "suporte".

    something like this:
    user=1019:1234:spy:agentes
    user=1019:1234:pickup:suporte

    Any suggestion about how can I get this?

    thanks a lot!

    --
    Marcus

  2. admin

    26 Sep 2011 Administrator

    Yes, you can do that using the latest version.

    In fop2admin for freepbx you can create custom permissions..

    1st create your groups in fop2 groups
    then create a fop2 permission named "pickupsuporte"
    in that permission add the "pickup" permission and check the "supporte" group
    in fop2 users, assign that custom permission to the users you want

    Do the same with the custom spy permission.

    Best regards,

  3. Hi,
    thanks for the info.

    I upgraded to 2.22.

    I don't use freepbx at all. I configure permissions manually.

    Can you show me an example for this configuration?

    I didn't find it in new fop2.cfg file.

    thanks a lot!

    --
    Marcus

  4. admin

    27 Sep 2011 Administrator

    This example is to create a custom permission "pickupsuporte" that allows pikcup only to sip/605,sip/608 and sip/607, Inside fop2.cfg:

    perm=pickupsuporte:pickup:SIP/605,SIP/608,SIP/602,SIP/607

    Then assign that custom permission to a user, together with some regular permissions, again in fop2.cfg:

    user=600:1234:pickupsuporte,hangupself,recordself
  5. Hi,

    I've configured the "perm" statement in my config and work very well.

    thanks for your help.

    --
    Marcus

or Sign Up to reply!