[asterisk-users] device state of a realtime queue member

Danny Nicholas danny at debsinc.com
Wed Apr 18 12:10:55 CDT 2012


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

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt Hamilton
Sent: Wednesday, April 18, 2012 11:42 AM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] device state of a realtime queue member

 

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




> From: ish at pack-net.co.uk
> To: asterisk-users at lists.digium.com
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120418/803a5ae4/attachment.htm>


More information about the asterisk-users mailing list