Device State Of A Realtime Queue Member

Home » Asterisk Users » Device State Of A Realtime Queue Member
Asterisk Users 3 Comments

I’m trying to find if a realtime queue member is paused or not from  the dialplan.

For a “paused”, “not in use” phone, DEVICE_STATE returns “not in use” only. Is there a function that will tell if the phone is paused or not (other than querying the database directly)?
You could use

UPDATE

Use:  ‘queue show’ or ‘asterisk console commands’
Ish

 

3 thoughts on - Device State Of A Realtime Queue Member

  • You can use system() to do this from the dialplan

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt Hamilton
    Sent: Wednesday, April 18, 2012 11:42 AM

    Thanks Ishfaq, I need something from within the dialplan though.

  • I’ll give that a try. Seems like there is no dialplan function for that yet. I guess querying the database via func_odbc is another option.

    Thanks.

    You can use system() to do this from the dialplan From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt Hamilton
    Sent: Wednesday, April 18, 2012 11:42 AM