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

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.


From: [email protected]
To: [email protected]
Date: Wed, 18 Apr 2012 12:10:55 -0500
Subject: Re: [asterisk-users] device state of a realtime queue member

You can use system() to do this from the dialplan From: 
[email protected] 
[mailto:[email protected]] On Behalf Of Matt Hamilton
Sent: Wednesday, April 18, 2012 11:42 AM
To: [email protected]
Subject: Re: [asterisk-users] device state of a realtime queue member Thanks 
Ishfaq, I need something from within the dialplan though. 


> From: [email protected]
> To: [email protected]
> Date: Wed, 18 Apr 2012 10:06:38 +0100
> Subject: Re: [asterisk-users] device state of a realtime queue member
> 
> On Tue, 2012-04-17 at 11:53 -0400, Matt Hamilton wrote:
> > 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)?
> > 
> > Thanks,
> > Matt
> > 
> Hi
> 
> You could use 
> queue show
> or
> queue show <queue name>
> asterisk console commands
> 
> Ish 
> -- 
> Ishfaq Malik
> Software Developer
> PackNet Ltd
> 
> Office: 0161 660 3062
> 
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
> 
> 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to