Hi All,
I have a routine that I found myself "forcing Logout" users all the time. Sometimes it is at 4 o'clock in the morning and sometimes it is 10 to 20 users within an hour.
I have a question:
I would like to be able to FORCE LOGOUT an agent that was NOT on Pause and sees the following message on the screen:
Agent ($agentname) is currently in use or improper logout. Contact Administrator.
I have tried to call an API using this (i.e. $agentname is arye) I used this:
10.0.0.1/agc/api.php?source=test&user=admin&pass=admin&agent_user=arye&function=logout&value=LOGOUT
Where 10.0.0.1 is the address of the ViciDial Server. and admin:admin are the credentials of the admin user.
It DID NOT worked at all.
I could NOT force logout the agent (arye). To me it looks like this API call meant to logout users that in Pause and NOT in "red" situation (that needs Admin to FORCE the logout).
I would be happy if I could write down an HTML page that I can leave it open and click the users when needed.
API call or JavaScript() that I can use to FORCE the logout of a user - would be great.
An HTML (JS/PHP etc..) that I can do Submit buttons would be also a solution that I would be happy to implement.
Any one had a solution for that?
Is there an API that I can use with Force??
That would be a great help
Thanks.
Arye