<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&gt; You can use system() to do this from the dialplan</span><br><br>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. <br><br>Thanks.<br><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: danny@debsinc.com<br>To: asterisk-users@lists.digium.com<br>Date: Wed, 18 Apr 2012 12:10:55 -0500<br>Subject: Re: [asterisk-users] device state of a realtime queue member<br><br><style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxMsoAcetate, .ExternalClass li.ecxMsoAcetate, .ExternalClass div.ecxMsoAcetate
{margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma","sans-serif";}
.ExternalClass span.ecxBalloonTextChar
{font-family:"Tahoma","sans-serif";}
.ExternalClass span.ecxEmailStyle20
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}

--></style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">You can use system() to do this from the dialplan</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Matt Hamilton<br><b>Sent:</b> Wednesday, April 18, 2012 11:42 AM<br><b>To:</b> asterisk-users@lists.digium.com<br><b>Subject:</b> Re: [asterisk-users] device state of a realtime queue member</span></p></div></div><p class="ecxMsoNormal">&nbsp;</p><div><p class="ecxMsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Thanks Ishfaq, I need something from within the dialplan though. <br><br><br></span></p><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">&gt; From: <a href="mailto:ish@pack-net.co.uk">ish@pack-net.co.uk</a><br>&gt; To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>&gt; Date: Wed, 18 Apr 2012 10:06:38 +0100<br>&gt; Subject: Re: [asterisk-users] device state of a realtime queue member<br>&gt; <br>&gt; On Tue, 2012-04-17 at 11:53 -0400, Matt Hamilton wrote:<br>&gt; &gt; I'm trying to find if a realtime queue member is paused or not from<br>&gt; &gt; the dialplan.<br>&gt; &gt; <br>&gt; &gt; For a "paused", "not in use" phone, DEVICE_STATE returns "not in use"<br>&gt; &gt; only. Is there a function that will tell if the phone is paused or not<br>&gt; &gt; (other than querying the database directly)?<br>&gt; &gt; <br>&gt; &gt; Thanks,<br>&gt; &gt; Matt<br>&gt; &gt; <br>&gt; Hi<br>&gt; <br>&gt; You could use <br>&gt; queue show<br>&gt; or<br>&gt; queue show &lt;queue name&gt;<br>&gt; asterisk console commands<br>&gt; <br>&gt; Ish <br>&gt; -- <br>&gt; Ishfaq Malik<br>&gt; Software Developer<br>&gt; PackNet Ltd<br>&gt; <br>&gt; Office: 0161 660 3062<br>&gt; <br>&gt; <br>&gt; --<br>&gt; _____________________________________________________________________<br>&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br>&gt; <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>&gt; <br>&gt; asterisk-users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></span></p></div></div></div><br>--
_____________________________________________________________________
-- 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</div>                                               </div></body>
</html>