<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'><style>p { margin: 0; }</style><div style="font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0);">Hi Michael,<br><br>Your web interface for the "on-call roster" is pretty close to what we're trying to trying to achieve.&nbsp; I would like to have people signing into the on-call queue be the method that determined whose cell phone to call.&nbsp; I was hoping there was a way to pass the call exiting the queue to a
variable or two that was composed of the extensions currently logged
into the queue.<br><br>I set up an extension number for people to call into and enter a forwarding number which writes an entry into the ASTDB.&nbsp; I have my dialplan check to see if there is an ASTDB entry for that extension before it tries to dial their deskphone, and if there is an entry it dials the forwarded number stored in the database instead.&nbsp; The closest thing so far I have found to what I am trying to achieve is to hard code a couple of spare extensions into the dialplan, and then have whoever is on-call set one of those extensions to their cell phone number.<br><br>I'll definitely take another look at followme to see if I can adapt that what I'm trying to achieve.<br><br>Thanks Danny &amp; Michael,<br>Travis<br>----- Original Message -----<br>From: "Michael Wyres" &lt;mwyres@cdm.com.au&gt;<br>To: "Asterisk Users Mailing List - Non-Commercial Discussion" &lt;asterisk-users@lists.digium.com&gt;<br>Sent: Monday, November 16, 2009 2:23:49 PM<br>Subject: Re: [asterisk-users] Queues<br><br>




<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->


<div class="Section1">

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Hi Travis,</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">There’s lots of different ways to attack “on-call”
roster solutions in Asterisk – as Danny suggested, FollowMe() is
definitely an option (and normally the best), but it doesn’t always suit
the “business need”.&nbsp; However, also as Danny suggested, in
most cases using ASTDB in some way to simplify dialling plans is the way to go
- then you just have to decide how you want to update the information as to the
number to call, in ASTDB.</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">For example, I had a customer a couple of years back who
desperately wanted to manage his “on-call roster” routing using a
web interface.&nbsp; I dollied up a simple PHP/MySQL web interface with a list
of all the people (and their mobile/cell numbers) in a drop down list –
they could simply select the right person, and click a “First Call”
button to make that person the first in the roster, select another person and
click a “Second Call” button to make that person the second in the
roster, and so on.</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Using the Asterisk manager interface – (or even “asterisk
–rx &lt;command&gt;” if you’re not comfortable using the AMI)
– you get the numbers selected into ASTDB.&nbsp; </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">The dialplan just comes along then and reads the appropriate
numbers from ASTDB as it steps through, and dials the people in order.</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">As with many things in Asterisk – there is more than one
way to “hump the leg”.</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Cheers</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Michael</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US"> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Danny
Nicholas<br>
<b>Sent:</b> Tuesday, 17 November 2009 08:57<br>
<b>To:</b> 'Asterisk Users Mailing List - Non-Commercial Discussion'<br>
<b>Subject:</b> Re: [asterisk-users] Queues</span></p>

</div>

</div>

<p class="MsoNormal">&nbsp;</p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: navy;" lang="EN-US">Since followme is “extension-based”, you have at least
two options.&nbsp; Option 1 is to have a few extensions designated for “following”
where you punch in the cell numbers as you wish.&nbsp; Option 2 is to use
“day logic” to point to the “following” guys based on
days.&nbsp;&nbsp;&nbsp; If I were doing option 2, I’d try to use ASTDB to
control this instead of having to code a lot of dialplan, but that’s just
me…</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: navy;" lang="EN-US">&nbsp;</span></p>

<div>

<div class="MsoNormal" style="text-align: center;" align="center"><span lang="EN-US">

<hr size="2" width="100%" align="center">

</span></div>

<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US"> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Travis
Elsberry<br>
<b>Sent:</b> Monday, November 16, 2009 3:50 PM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br>
<b>Subject:</b> Re: [asterisk-users] Queues</span><span lang="EN-US"></span></p>

</div>

<p class="MsoNormal"><span lang="EN-US">&nbsp;</span></p>

<div>

<div>

<p class="MsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;" lang="EN-US">I had
looked at followme as a solution but ran into the same stumbling block of
having to hard code the cell phone list.&nbsp; I didn't see a dynamic way of
the list being extensions 12 and 14 on Monday, but changing to extensions 13
and 19 on Tuesday without editing the extensions.conf file manually each
day.&nbsp; Did I overlook something in how followme works?<br>
<br>
----- Original Message -----<br>
From: "Danny Nicholas" &lt;danny@debsinc.com&gt;<br>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
&lt;asterisk-users@lists.digium.com&gt;<br>
Sent: Monday, November 16, 2009 1:37:04 PM<br>
Subject: Re: [asterisk-users] Queues</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: navy;" lang="EN-US">It should be realistic, but have you considered just using followme
to add the cell phones to the queue list?</span><span style="color: black;" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: navy;" lang="EN-US">&nbsp;</span><span style="color: black;" lang="EN-US"></span></p>

<div>

<div class="MsoNormal" style="text-align: center;" align="center"><span style="color: black;" lang="EN-US">

<hr size="2" width="100%" align="center">

</span></div>

<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: black;" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: black;" lang="EN-US">
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">On Behalf Of </span></strong>Travis
Elsberry<br>
<strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Sent:</span></strong> Monday,
November 16, 2009 3:25 PM<br>
<b>To:</b> asterisk-users@lists.digium.com<br>
<b>Subject:</b> [asterisk-users] Queues</span><span style="color: black;" lang="EN-US"></span></p>

</div>

<p class="MsoNormal"><span style="color: black;" lang="EN-US">&nbsp;</span></p>

<div>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;" lang="EN-US">Hello Everyone,<br>
<br>
I'm looking for help/ideas on how to do the following:<br>
<br>
I have a couple of people out of many (the couple of people randomly change) who
log into an "on-call" queue.&nbsp; A call comes in and it rings the
"on-call" extensions, but no one answers.&nbsp; I would like the call
to then try the cell-phones of just the people that are logged into the
"on-call" queue.<br>
<br>
I've got the queue setup and the people log into and out of it by dialing
extensions that use AddQueueMember() and RemoveQueueMember()
respectively.&nbsp; I tried using QUEUE_MEMBER_LIST to write to a database list
when the call comes in however it keeps adding duplicates each time the call
goes into the queue.&nbsp; I'm just not seeing how to pass the call that goes
into the queue to a dynamic list on the way out.&nbsp; Is attempting something
like this even realistic?<br>
<br>
Thanks in advance,<br>
Travis</span><span style="color: black;" lang="EN-US"></span></p>

</div>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;; color: black;" lang="EN-US"><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
&nbsp;&nbsp; http://lists.digium.com/mailman/listinfo/asterisk-users</span></p>

</div>

</div>

</div>

<pre>IMPORTANT NOTICE TO RECIPIENT

Computer viruses - It is your responsibility to scan this email and any attachments for viruses and defects and rely on those scans as Communications Design &amp; Management Pty Limited (CDM) does not accept any liability for loss or damage arising from receipt or use of this email or any attachments.

Confidentiality - This email and any attachments are intended for the named recipient only and may contain personal information, be it confidential or subject to privilege, none of which are lost or waived because this email may have been sent to you in error. If you are not the named addressee please let CDM know by return email, permanently delete it from your system and destroy all copies and do not use or disclose the contents.

Copyright - This email is subject to copyright and no part of it maybe reproduced in any manner without the written permission of the copyright owner.

Privacy - Within the jurisdiction of Australian law, personal information in this email must be dealt with in compliance with the Australian Federal Privacy Act 1988.
</pre><br>_______________________________________________<br>-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; http://lists.digium.com/mailman/listinfo/asterisk-users</div></div></body></html>