privacy for hangup action

  1. 13 years ago

    Hi,

    Is there any way to setup privacy for hangup action in a button?

    I've configured a privacy=monitor and works fine for spy action, but the users still can hang up the call for this button.

    thanks a lot!

    --
    Marcus

  2. admin

    13 Oct 2011 Administrator

    to limit hangups you can use "hangupself" instead of hangup so users can only hangup their own calls

    If you want fine grained hangup controls, you can use custom permissions, since FOP 2.22 and up. Using fop2admin for freepbx is the easiest way to create them:

    1. create a group including the buttons you want the action to be allowed
    2. create a permission that includes "hangup" and check the group
    3. assign the newly created permission to some user

    Best regards,

or Sign Up to reply!