Asterisk 13 Queue And DND Phones

Home » Asterisk Users » Asterisk 13 Queue And DND Phones
Asterisk Users 2 Comments

Hi,

I’ve noticed that when I set a phone on DND (phone-side DND, meaning it rejects calls with a busy status, SIP 486 response code I believe) the queue keeps on trying the phone over and over again.

This creates issues in terms of CDR entries – in a scenario where there is only one phone on DND, and a delay between attempts of 1 second, the queue will attempt to ring the single phone every second, creating one CDR entry per second. It also creates one event per second in the queue_log file.

Is there any strategy to avoid this? I’m trying to avoid autopause=yes
(because them the employee needs to take action when turned DND off – I
want the simple act of turning DND off to mean the phone starts ringing again).

– Can I have an autoUNpause after x seconds?

– Can the queue detect that the phone is returning response code
486, and not ring it for either x second or until the next call?

– Can the CDR engine/queue_log engine be told to not log more than one RINGNOANSWER status? Having one helps, as it tells us the agent was on DND at the time, but having hundreds does not help anyone.

Specifically this is with Polycom phones, but I don’t think it makes a difference.

Thank you for taking the time to help me,

Mike

2 thoughts on - Asterisk 13 Queue And DND Phones

  • Hi. I will try to give you an idea:

    You can remap de ‘Do not disturb’ key to do some actions.

    (Best examples I’ve found so far:
    http://community.polycom.com/t5/VoIP/FAQ-Using-Enhanced-Feature-Keys-EFK-macros-to-change-key/td-p/5705
    )

    I once tried to remap de DND on a Polycom IP 550 to something like:

    key.SPIP550.9.function.prim=”^PauseExten$Tinvite$FDoNotDisturb$”

    That would place a call to extension “PauseExten” and also sets the phone on DND.

    The extension ‘PauseExten’ has the dialplan logic to Pause/Unpause the phone. And this executes everytime you press de DND key.

    This “works” but it is not the best solution.

    Hope it helps. Sorry for my bad english.

    2017-05-17 13:22 GMT+01:00 Mike :

  • ——=_NextPart_001_0C8D_01D2CEED.F9FAF430
    Content-Type: text/plain;
    charset=”UTF-8″
    Content-Transfer-Encoding: quoted-printable

    This makes sense, thank you, although this is applicable to Polycom phones only (I was hoping for a more universal solution, as current phones are not an indicator of phones we may get in the future)

    Mike

    From: asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Héctor Royo Sent: May 17, 2017 08:55
    To: Asterisk Users Mailing List – Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 13 queue and DND phones

    Hi. I will try to give you an idea:

    You can remap de ‘Do not disturb’ key to do some actions.

    (Best examples I’ve found so far:
    http://community.polycom.com/t5/VoIP/FAQ-Using-Enhanced-Feature-Keys-EFK-macros-to-change-key/td-p/5705)

    I once tried to remap de DND on a Polycom IP 550 to something like:

    key.SPIP550.9.function.prim=”^PauseExten$Tinvite$FDoNotDisturb$”

    That would place a call to extension “PauseExten” and also sets the phone on DND.

    The extension ‘PauseExten’ has the dialplan logic to Pause/Unpause the phone. And this executes everytime you press de DND key.

    This “works” but it is not the best solution.

    Hope it helps. Sorry for my bad english.

    2017-05-17 13:22 GMT+01:00 Mike :

    Hi,

    I’ve noticed that when I set a phone on DND (phone-side DND, meaning it rejects calls with a busy status, SIP 486 response code I believe) the queue keeps on trying the phone over and over again.

    This creates issues in terms of CDR entries – in a scenario where there is only one phone on DND, and a delay between attempts of 1 second, the queue will attempt to ring the single phone every second, creating one CDR entry per second. It also creates one event per second in the queue_log file.

    Is there any strategy to avoid this? I’m trying to avoid autopause=yes
    (because them the employee needs to take action when turned DND off – I
    want the simple act of turning DND off to mean the phone starts ringing again).

    – Can I have an autoUNpause after x seconds?

    – Can the queue detect that the phone is returning response code
    486, and not ring it for either x second or until the next call?

    – Can the CDR engine/queue_log engine be told to not log more than one RINGNOANSWER status? Having one helps, as it tells us the agent was on DND at the time, but having hundreds does not help anyone.

    Specifically this is with Polycom phones, but I don’t think it makes a difference.

    Thank you for taking the time to help me,

    Mike