FOP2 beta configured with [USER/<extension>] settings in button config.
Trixbox setup in device and user mode. All our devices are setup as adhoc so users can login to any phone, but each phone also has a default user which it will revert to if you logout.
The problem i'm seeing is that a user who is not logged into any physical devices, but who is the default for device shows as logged in. I'm assuming this is because the device they are a default user for shows in the /AMPUSER/856/device tag:
/AMPUSER/856/cidname : Martin Noble
/AMPUSER/856/cidnum : 856
/AMPUSER/856/device : 856
/AMPUSER/856/followme/ddial : DIRECT
/AMPUSER/856/followme/grpconf : DISABLED
/AMPUSER/856/followme/grplist : 856-855
/AMPUSER/856/followme/grptime : 20
/AMPUSER/856/followme/prering : 0
/AMPUSER/856/language :
/AMPUSER/856/noanswer :
/AMPUSER/856/outboundcid :
/AMPUSER/856/password : 0000
/AMPUSER/856/recording : out=Adhoc|in=Adhoc
/AMPUSER/856/ringtimer : 0
/AMPUSER/856/voicemail : novm
Is there any way for FOP2 to determine that device 856 is not connected and also not logged in a this user, so therefore should not show as logged in.
This is an issue because we use softphones and have them setup as devices with a default user so the user does not have to login to their softphone - when its connected calls to them will go to their softphone too.
This would also cover the case where a physical device is powered off before being logged out.
Martin Noble