Shanavaz E A
2009-Sep-02 06:27 UTC
[asterisk-users] Prevent Agent Login from a second extension
Hi friends, Is there any way to prevent an Agent from logging in from a second extension if he is already logged on from an extension. Right now, the scenario is if he login from a second extension, asterisk will automatically log him off from first extension. What I need is that asterisk should tell him that he is already logged on from an extension and should prevent him from logging in again from another extn. The problem with existing scenario is that, I am not getting CDR record for the automatic log out event. I need this for evaluation purposes. I am using asterisk 1.2.30. I have 1.4 also but that also is having the same behavior. Thanks in advance for any help. Regards Shanavaz. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090902/ef62f493/attachment.htm
Lee, John (Sydney)
2009-Sep-02 06:39 UTC
[asterisk-users] Prevent Agent Login from a second extension
I think you have to write your own agent login and logout so that you will not have this problem. ________________________________________ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Shanavaz E A Sent: Wednesday, 2 September 2009 4:27 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Prevent Agent Login from a second extension Hi friends, Is there any way to prevent an Agent from logging in from a second extension if he is already logged on from an extension. Right now, the scenario is if he login from a second extension, asterisk will automatically log him off from first extension. What I need is that asterisk should tell him that he is already logged on from an extension and should prevent him from logging in again from another extn. The problem with existing scenario is that, I am not getting CDR record for the automatic log out event. I need this for evaluation purposes. I am using asterisk 1.2.30. I have 1.4 also but that also is having the same behavior. Thanks in advance for any help. Regards Shanavaz.
Andrew Thomas
2009-Sep-07 09:45 UTC
[asterisk-users] Prevent Agent Login from a second extension
The only way around the 'auto-logout' problem I found was to call a script when agents login. This script checks to see if they are already logged in or not - then, if they are, it does whatever I want (I manually log them off the other phone first - you could play a message instead). HTH Andy ? -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Shanavaz E A Sent: 02 September 2009 07:27 To: asterisk-users at lists.digium.com Subject: [asterisk-users] Prevent Agent Login from a second extension Hi friends, Is there any way to prevent an Agent from logging in from a second extension if he is already logged on from an extension. Right now, the scenario is if he login from a second extension, asterisk will automatically log him off from first extension. What I need is that asterisk should tell him that he is already logged on from an extension and should prevent him from logging in again from another extn. The problem with existing scenario is that, I am not getting CDR record for the automatic log out event. I need this for evaluation purposes. I am using asterisk 1.2.30. I have 1.4 also but that also is having the same behavior. Thanks in advance for any help. Regards Shanavaz.