<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[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]-->
</head>

<body lang=EN-AU link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Travis,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>There&#8217;s lots of different ways to attack &#8220;on-call&#8221;
roster solutions in Asterisk &#8211; as Danny suggested, FollowMe() is
definitely an option (and normally the best), but it doesn&#8217;t always suit
the &#8220;business need&#8221;.&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.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>For example, I had a customer a couple of years back who
desperately wanted to manage his &#8220;on-call roster&#8221; 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 &#8211;
they could simply select the right person, and click a &#8220;First Call&#8221;
button to make that person the first in the roster, select another person and
click a &#8220;Second Call&#8221; button to make that person the second in the
roster, and so on.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Using the Asterisk manager interface &#8211; (or even &#8220;asterisk
&#8211;rx &lt;command&gt;&#8221; if you&#8217;re not comfortable using the AMI)
&#8211; you get the numbers selected into ASTDB.&nbsp; <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The dialplan just comes along then and reads the appropriate
numbers from ASTDB as it steps through, and dials the people in order.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>As with many things in Asterisk &#8211; there is more than one
way to &#8220;hump the leg&#8221;.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cheers<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Michael<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> 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<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

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

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

<div>

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

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

</span></div>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> 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><o:p></o:p></span></p>

</div>

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

<div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>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: &quot;Danny Nicholas&quot; &lt;danny@debsinc.com&gt;<br>
To: &quot;Asterisk Users Mailing List - Non-Commercial Discussion&quot;
&lt;asterisk-users@lists.digium.com&gt;<br>
Sent: Monday, November 16, 2009 1:37:04 PM<br>
Subject: Re: [asterisk-users] Queues<o:p></o:p></span></p>

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

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

<div>

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

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

</span></div>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:black'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <strong><span
style='font-family:"Tahoma","sans-serif"'>On Behalf Of </span></strong>Travis
Elsberry<br>
<strong><span style='font-family:"Tahoma","sans-serif"'>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 lang=EN-US
style='color:black'><o:p></o:p></span></p>

</div>

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

<div>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>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 &quot;on-call&quot; queue.&nbsp; A call comes in and it rings the
&quot;on-call&quot; 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
&quot;on-call&quot; 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 lang=EN-US style='color:black'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><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<o:p></o:p></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></body>

</html>