<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="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 11 (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]-->
<title>Meetme and authentication</title>
<style>
<!--
 /* Font Definitions */
 @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:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

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

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Perhaps you&#8217;ve already figured this
out, but I posted an example dialplan and small Perl AGI that would resolve
this for you. As it happens this was posted the Friday before you sent this.
Look for a posting from me on Friday, May 12<sup>th</sup>.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Josh McAllister <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

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

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Herchi Silviu<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, May 16, 2006 8:41
AM<br>
<b><span style='font-weight:bold'>To:</span></b> Asterisk Users Mailing List -
Non-Commercial Discussion<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Asterisk-Users] Meetme
and authentication</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>Hi all,</span></font><span lang=FR-CH> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>I have thoroughly read the available documentation and I can't seem to
find a workaround for my setup&#8230;</span></font><span lang=FR-CH> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>I'm trying to create a phone conference line that users would call using
a unique phone number (no matter if they are moderators or just plain users). I
use Asterisk 1.2.6</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>The available conferences are defined as follows:</span></font><span
lang=FR-CH> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>conf =&gt; 1000,user pin1, moderator pin1</span></font> <br>
<font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>conf =&gt; 1001,user pin2, moderator pin2</span></font> <br>
<font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>conf =&gt; 1002,user pin3, moderator pin3</span></font> <br>
<font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>&#8230;</span></font> <br>
<font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>conf =&gt; 1009, user pin9, moderator pin9</span></font><span
lang=FR-CH> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>The users are prompted whether they are a moderator or a user. When they
choose, they are redirected to the conference they request:</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>- using options aAPsX for moderators (moderator + marked + ask PIN +
allow menu using *)</span></font> <br>
<font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>- using options Psw for users (ask PIN + allow menu + wait for a marked
user)</span></font><span lang=FR-CH> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>My problem is that if a user chooses the &quot;moderator&quot; option,
he can authenticate using any of the two PINs, and he can become an moderator
for the conference by knowing only the user PIN&#8230;</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>I think using two different phone numbers (one for users and one for
moderators) is neither practical nor safe. Is there a way to authenticate users
against only one of the password? For instance, math the password provided
against only the moderator PIN, or only the user PIN.</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>Thank you for your help,</span></font><span lang=FR-CH> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>Silviu</span></font><span lang=FR-CH> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>PS. Here is the dialplan :</span></font><span lang=FR-CH> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>[ConfStart]</span></font> <br>
<font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>exten =&gt; s,1,Answer</span></font> <br>
<font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>exten =&gt; s,2,Set(TIMEOUT(response)=5)</span></font> <br>
<font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>exten =&gt; s,3,Set(LANGUAGE()=conf)</span></font> <br>
<font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>exten =&gt; s,4,Wait(1)</span></font> <br>
<font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>exten =&gt;
s,5,Background(welcome)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; &quot;welcome,
press * if you are a user of hold the line if you are a moderator&quot;</span></font><span
lang=FR-CH> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>exten =&gt; *,1,MeetMe(|iMPsw|)&nbsp;&nbsp;&nbsp; ; for regular users</span></font>
<br>
<font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>exten =&gt; t,1,MeetMe(|aAiMPsX|)&nbsp; ; for moderators</span></font><span
lang=FR-CH> </span><o:p></o:p></p>

<p><font size=2 face=Arial><span lang=FR-CH style='font-size:10.0pt;font-family:
Arial'>exten =&gt; i,1,GoTo(ConfStart,s,1)</span></font><span lang=FR-CH> </span><o:p></o:p></p>

</div>

</div>

</body>

</html>