Julian Lyndon-Smith
2009-Jul-02 16:33 UTC
[asterisk-users] Grandstream 2010 and blinky lights
I am using 1.4, and have the above device, and it worked really well with monitoring 18 "hints" aka devices. Now, I've moved us to a hotdesking paradigm where the user is the "extension" not the device. IOW if I dial 1234, I will get user 1234 (who happens to log on to device ABC today, and DEF tomorrow). Can I make the GXP monitor user 1234, not extension 1234 ? Julian ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
The quick answer is 'no'. It is not currently possible to monitor 'hints' for Agents - as an Agent never actually dials out (the device does). Even exten => 1234,hint,Agent/1234 won't work - as the 'core show hints' will show the agent as 'notinuse' when they can be. There are ways around it (I used a mixture of php and mysql) - but even these are not ideal (especially if you have a large dial plan). Clue : exten 1234,hint,SIP/ABC works - you just need to change the ABC bit every time an agent logs in our out. This then gives you the lovely job of lighting any MWI lamps for that user as well. Oh the joys of Asterisk and hotdesking! HTH Andrew Thomas Technical Services Manager DataVox Ltd Saddleworth Business Centre Huddersfield Road Delph, Oldham OL3 5DF -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Julian Lyndon-Smith Sent: 02 July 2009 17:34 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Grandstream 2010 and blinky lights I am using 1.4, and have the above device, and it worked really well with monitoring 18 "hints" aka devices. Now, I've moved us to a hotdesking paradigm where the user is the "extension" not the device. IOW if I dial 1234, I will get user 1234 (who happens to log on to device ABC today, and DEF tomorrow). Can I make the GXP monitor user 1234, not extension 1234 ? Julian ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
That's exactly the way I do it as well :D -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Julian Lyndon-Smith Sent: 06 July 2009 11:16 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Grandstream 2010 and blinky lights Thanks for the info. We've managed to achieve or goal using 1.4 and a few hacks. 1) When the agent logs in / logs out, we rewrite the part of the dialplan for the hints and reload the dialplan 10 seconds after the *last* login / logout 2) For the MWI, we give each phone a "fake" voicemail (let's say _0001_). When an agent logs in, we link /var/spool/asterisk/voicemail/_0001_ to /var/spool/asterisk/voicemail/[mailbox] (where [mailbox] is the mailbox of the agent) and when they log out, we remove /var/spool/asterisk/voicemail/_0001_ This seems to work - the MWI lights up / off depending on the new vm within a couple of seconds 3) When checking for voicemail, each phone is configured to dial 0000 - the dialplan then checks the callerid (set by #1) and gets the mailbox for the agent. As I said, a bit of a hack, but it works for me ;) I know that this won't work for 1.6, but we are coming up with an alternative plan using Minivm Julian Andrew Thomas wrote:> The quick answer is 'no'. > > It is not currently possible to monitor 'hints' for Agents - as anAgent> never actually dials out (the device does). > > Even exten => 1234,hint,Agent/1234 won't work - as the 'core showhints'> will show the agent as 'notinuse' when they can be. > > There are ways around it (I used a mixture of php and mysql) - buteven> these are not ideal (especially if you have a large dial plan). > > Clue : exten 1234,hint,SIP/ABC works - you just need to change the ABC > bit every time an agent logs in our out. > > This then gives you the lovely job of lighting any MWI lamps for that > user as well. Oh the joys of Asterisk and hotdesking! > > HTH > > Andrew Thomas > Technical Services Manager > DataVox Ltd > Saddleworth Business Centre > Huddersfield Road > Delph, Oldham > OL3 5DF > > > > -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Julian > Lyndon-Smith > Sent: 02 July 2009 17:34 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [asterisk-users] Grandstream 2010 and blinky lights > > I am using 1.4, and have the above device, and it worked really well > with monitoring 18 "hints" aka devices. > > Now, I've moved us to a hotdesking paradigm where the user is the > "extension" not the device. IOW if I dial 1234, I will get user 1234 > (who happens to log on to device ABC today, and DEF tomorrow). > > Can I make the GXP monitor user 1234, not extension 1234 ? > > Julian > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Because DEVSTATE is for custom hints - and have you tried to set one every time a phone rings/is answered? This was thought about - but the logic in the dialplan would be a nightmare. Anyway, doing it the way I do it works for me (and others) as my dialplan contains nothing but 'include' and 'switch' statements now (so it reloads fast). Thanks for the reply though :) -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt Riddell Sent: 08 July 2009 09:59 To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: asterisk at dotr.com Subject: Re: [asterisk-users] Grandstream 2010 and blinky lights On 8/7/09 8:52 PM, Andrew Thomas wrote:> That's exactly the way I do it as well :D > > > > > -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Julian > Lyndon-Smith > Sent: 06 July 2009 11:16 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Grandstream 2010 and blinky lights > > Thanks for the info. We've managed to achieve or goal using 1.4 and a > few hacks.Why don't you just use func_devstate which was backported to 1.4? That way you can just set a DB variable on login/logout. -- Cheers, Matt Riddell Director _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems) _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users