Setup is trixbox 2.8.0.4 in device and user mode.
fop2 displays the correct status for the users when started, but does not then reflect changes when users login or logout.
Any ideas? I think I have just missed something somewhere, but I can't seem to find it.
TIA,
Slator
Comments
You must have the "all" permission in /etc/asterisk/manager.conf read and write lines for the fop user. Last time I tried, ,in trixbox, the user events (permission "user") are not honored unless you enable the "all" permissions. This does not happen in other distros or plain asterisk. For some feature you need to enable userevents, including user and device mode.
Best regards,
If I restart fop2 server it displays the status correctly, but I need it to report the user events as they happen.
Regards,
Slator
AGI Script Executing Application: (UserEvent) Options: (UserDeviceAdded|Data: 1601,7014)
> user_login_out.agi,logout,7014: insert_user: Setting FollowMe DEVSTATES for device 7014
> user_login_out.agi,logout,7014: get_followme_state: user 1601 got state returning INVALID
> user_login_out.agi,logout,7014: insert_user: Setting DND DEVSTATES for device 7014
> user_login_out.agi,logout,7014: get_dnd_state: user 1601 got state returning NOT_INUSE
> user_login_out.agi,logout,7014: get_voicemail_context: user: 1601
127.0.0.1 <- Event: UserEvent
127.0.0.1 <- Privilege: hud,all
127.0.0.1 <- UserEvent: DBPut
127.0.0.1 <- Family: DEVICE
127.0.0.1 <- Key: 7014/user
127.0.0.1 <- Value: 010
127.0.0.1 <- Server: 0
127.0.0.1 <- Event: AGIExec
127.0.0.1 <- Privilege: call,all
127.0.0.1 <- SubEvent: End
127.0.0.1 <- Channel: SIP/7014-00000090
127.0.0.1 <- CommandId: 1649682460
127.0.0.1 <- Command: DATABASE PUT "DEVICE" "7014/user" "1010"
127.0.0.1 <- ResultCode: 200
127.0.0.1 <- Result: Success
127.0.0.1 <- Server: 0
It now detects logins correctly, but not logouts. I think this is a Trixbox issue, as the presence monitoring lights on my phone display the same behaviour.
Slator