You do not have permissions to access this resource
-
Thanks for the answer, yes, I can access fop2manager without problems ... only the recordings and call history don't work! Even the recordings I make directly through FOP2 I can't access them ... I already checked permissions on the / var / spool / asterisk / monitor folder and they are correct ... I checked on mysql that the fop2recordings table has the correct records, but the problem persists ...
-
-
Good Morning! My manager configuration is as follows:
[fop2]
secret = my password
deny = 0.0.0.0 / 0.0.0.0
permit = 127.0.0.1 / 255.255.255.0
read = all
write = all
writetimeout = 1000
eventfilter =! Event: RTCP *
eventfilter =! Event: VarSet
eventfilter =! Event: Cdr
eventfilter =! Event: DTMF
eventfilter =! Event: AGIExec
eventfilter =! Event: ExtensionStatus
eventfilter =! Event: ChannelUpdate
eventfilter =! Event: ChallengeSent
eventfilter =! Event: SuccessfulAuth
eventfilter =! Event: DeviceStateChange
eventfilter =! Event: RequestBadFormat
eventfilter =! Event: MusicOnHoldStart
eventfilter =! Event: MusicOnHoldStop
eventfilter =! Event: NewAccountCode
eventfilter =! Event: DeviceStateChange
eventfilter =! Event: HangupRequest
eventfilter =! Event: SoftHangupRequest
eventfilter =! Event: MusicOnHold
eventfilter =! Event: LocalBridgeHonestly, I no longer know what to test the result of fop2 - test has no flaws ...
[root @ myserver] # / usr / local / fop2 / fop2_server --test
Flash Operator Panel 2 - Valid License (/usr/local/fop2/fop2.lic)
Flash Operator Panel 2 - Featureset: Basic
Flash Operator Panel 2 - Allowed Tenants: 5Connection to manager OK (010300)!
-
-
Dear Nicolas, Good Afternoon!
First, I would like to thank you for your help! After your corrections, I can see the call history and the recordings.
It turns out, I found another incident, I can only see the recordings if I set the user's permission to "all" ... And yet, by choosing the "all" option the user will see ALL recordings and not only the from the group he belongs to! Ex: I created a user with extension 8104, in the permissions of that user put only the extension 8105 and permission to access recordings and call history. When I log in, I can't see the recordings of extension 8105! If I set the user permissions of 8104 to "all", then I can see the recordings correctly, but ALL recordings and not only the recordings of extension 8105! -
I think you are using Permissions incorrectly.
- Do not create any permissions in the permissions TAB
- Edit user 8104 and instead of all, be sure it has callhistory permission set (is a stock, not custom permission). After the change reload FOP2
- Log with 8104 and check call history
You should see call history for 8104 at that point.
The Permissions tab is for limiting actions to specific targets, not all actions are 'targetable'... callhistory is a 'personal' permission, it is not targetable... the ones you can apply to others are hangup/spy/coach or queue actions.
Best regards,
-
So, if I create a user, eg 8104 and in that user's template have a group with extensions 8104 and 8105, still, when logging in with user 8104 I can't see the records / recordings of extension 8105? Will I only be able to view extension 8104 records / recordings? Strange, therefore, if I put in the same template, besides the group with the extensions I put the permission all, I can see everything!
-
FOP2 will let you see your own recordings, and not others, unless you have "all" as permissions.
Call history is different, it should show only your own call details and not others, no matter permissions
Those applications won't follow group permissions, that will only apply to asterisk actions over calls (while these are not asterisk apps, but just small apps to check records on a database, external from asterisk).
Both are small .php files that can be modified to your needs, if you are not happy with the SQL conditions, they can be altered. In any case, you should not rely on them for actual reporting, they are intended more at the 'user' level, to check the list of recent calls mostly.
For actual/serious reporting consider using Asternic CDR reports (http://www.asternic.net/cdrreports). Where you can limit access to any set of extensions, also group by different criteria (account code or user defined groups), etc.
Best regards,
-
-
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login