Anyway to control the LEDs on the Aastra 55i six top buttons? Maybe through Asterisk?

Home » Asterisk Users » Anyway to control the LEDs on the Aastra 55i six top buttons? Maybe through Asterisk?
Asterisk Users 10 Comments

Hi Everyone,

We use the top buttons on Aastra 55i to login and logout from Queues. This
is the order:

Button 1 = Login to English Queue
Button 2 = Login to Spanish Queue
Button 3 = Logout of English/Spanish Queues

There are indicator LEDs on each of these buttons. Is there anyway we can
send a SIP request or some other communication to get the Aastra 6755i phone
to keep the LED for login set to ON if agent is logged in and to put it to
off when agent logs out?

Thanks,
Bruce

10 thoughts on - Anyway to control the LEDs on the Aastra 55i six top buttons? Maybe through Asterisk?

  • _____

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Bruce B
    Sent: Wednesday, October 20, 2010 3:02 PM
    top buttons? Maybe through Asterisk?

    Hi Everyone,

    We use the top buttons on Aastra 55i to login and logout from Queues. This
    is the order:

    Button 1 = Login to English Queue

    Button 2 = Login to Spanish Queue

    Button 3 = Logout of English/Spanish Queues

    There are indicator LEDs on each of these buttons. Is there anyway we can
    send a SIP request or some other communication to get the Aastra 6755i phone
    to keep the LED for login set to ON if agent is logged in and to put it to
    off when agent logs out?

    Thanks,

    Bruce

    Don’t know anything about Aastra phones, but this would be a BLF trick.

  • Hello,

    you can’t utilice the same butons to know the state of the agent but you can configure the LEDs in the opposite position (4,5,6)

    in the dialplan just before the command to login to the queue put this line (for english queue):

    exten => yourextension,n,Set(DEVSTATE(Custom:agenten)=INUSE)

    for spanish queue

    exten => yourextension,n,Set(DEVSTATE(Custom:agentes)=INUSE)

    in the dialplan part relative to agent logoff (english)

    exten => yourextension,n,Set(DEVSTATE(Custom:agenten)=NOT_INUSE)

    spanish

    exten => yourextension,n,Set(DEVSTATE(Custom:agentes)=NOT_INUSE)

    then on the Aastra 6755i web page (on the Programmable Keys menu):

    key type value line
    4 BLF agenten global
    5 BLF agentes global

    Now each time the agent login to english queue the 4 key LED switch to red. The same with key 5 LED

    Please try and give us a feedback

    Regards

    – Bakko

  • Amazing. Thank you very much.

    Unfortunately, the phone type is 53i and not the 55i as I mistakenly noted.
    It has only 6 buttons on the left side. Is there a workaround for this?

    Thanks again.

    -Bruce

  • Hi,

    you can use 4 for login/logoff (english and spanish) and two for online/offline

    The procedure is the same.

    Regards

    – Bakko

  • Bakko,

    Do you mean that I should use buttons 1, 2, and 3 for login, login, and
    logout and buttons 4, 5, 6 for login-LED, login-LED, and logout-LED?

    I have tried that as well but I wasn’t able to get it. I see in CLI that
    DEVSTAT gets set to USE and INUSE like you wrote but the phone doesn’t turn
    on the LED that I assigned to Global, agenten, and BLF. However, this is not
    the best way probably because I am using those buttons for Caller List, DND
    and Transfer.

    P.S. Can’t the buttons be use for BLF and speed-dial at the same time? so
    the LED turns ON on the same button?

    Thanks,

  • Hi Bruce,

    can you show agent login/logoff diaplan?

    Maybe there is a solution but i have to know how yours agents login/logoff.

    Regards

    – Bakko

  • Here is the login for English:

    ;English-temp LOGIN
    exten => 800,1,Answer()
    exten => 800,n,AddQueueMember(500|Local/${CALLERID(num)}@from-internal/n)
    exten => 800,n,Set(DEVSTATE(Custom:agenten)=INUSE)
    exten => 800,n,Playback(agent-loginok)
    exten => 800,n,Hangup()

    ;English Logout
    ;All Queues Logout
    exten => 802,1,Answer
    exten => 802,n,RemoveQueueMember(500|Local/${CALLERID(num)}@from-internal/n)
    exten => 802,n,RemoveQueueMember(499|Local/${CALLERID(num)}@from-internal/n)
    exten => 802,n,Playback(agent-loggedoff)
    exten => 802,n,Hangup

    The logout logs both English and Spanish (which is just like English for
    Login.

    Thanks,
    Bruce

  • Thanks for the input. By this configuartion you mean by the way I do Add and
    Remove member from the Queue?
    Can you please explain by what sort of configuration (what to use instead of
    Add and Remove queue member) would get this working.

    I guess I am looking for speedial/BLF on the same key ?!!!

    Thanks again

  • I tried to follow your instructions with Asterisk and Aastra 6757i, but there is no led swichting on, but instead I get the ‘message’ “agent ?” on the telephone’s display.

    /etc/asterisk/extensions.conf:
    (…)
    Set(DEVICE_STATE(Custom:agent)=INUSE);

    Aastra:
    Softkeys and XML | 4 – BLF – empty – agent – global – Idle (unecheck) – Connected (unchecked) – Incoming (unchecked) – Outgoing (unchecked) – Busy (unchecked)

    Do you have any hints for me what I missed?