if you don't want to use an AGI, you can do this in the dialplan, authenticating outside meetme, and, with the possibility to login the user based on pin, instead of asking which kind of user is.<br>Basic example:<br><br>[ConfStart]
<br>exten => s,1,Answer<br>exten => s,2,Read(pin|conf-enterpin|4)<br>exten => s,3,Goto(${pin}|1)<br><br>; pin routing<br>exten => 1234,1,Macro(enterConf|1000|<span lang="fr-ch"><font face="Arial" size="2">iMsw) ; user access to conf 1000
<br></font></span>exten => 4321,1,Macro(enterConf|1000|<span lang="fr-ch"><font face="Arial" size="2">aAiMsX</font></span><span lang="fr-ch"><font face="Arial" size="2">); admin access to conf 1000<br>
</font></span><br>
exten => 5678,1,Macro(enterConf|1001|<span lang="fr-ch"><font face="Arial" size="2">iMsw) ; user access to conf 1001<br>
</font></span>exten => 8765,1,Macro(enterConf|1001|<span lang="fr-ch"><font face="Arial" size="2">aAiMsX</font></span><span lang="fr-ch"><font face="Arial" size="2">); admin access to conf 1001<br><br>exten => t,1,Goto(s|1)
<br>exten => i,1,Playback(conf-invalidpin)<br>exten => i,2,Goto(s|1)<br><br>[macro-enterConf]<br>;ARG1 is room number<br>;ARG2 is meetme options<br><br>exten => s,1,Meetme(${ARG1}|${ARG2})<br><br><br>Blank the pins in
meetme.conf and you're done. Just be sure to have different pins for all rooms.<br>Just an idea<br><br>Hope this helps<br><br><br>
</font></span><br><br><br><br><div><span class="gmail_quote">2006/5/16, Herchi Silviu <<a href="mailto:Silviu.Herchi@arcelor.com">Silviu.Herchi@arcelor.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div>
<p><span lang="fr-ch"><font face="Arial" size="2">Hi all,</font></span>
</p>
<p><span lang="fr-ch"><font face="Arial" size="2">I have thoroughly read the available documentation and I can't seem to find a workaround for my setup…</font></span>
</p>
<p><span lang="fr-ch"><font face="Arial" size="2">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
</font></span></p>
<p><span lang="fr-ch"><font face="Arial" size="2">The available conferences are defined as follows:</font></span>
</p>
<p><span lang="fr-ch"><font face="Arial" size="2">conf => 1000,user pin1, moderator pin1</font></span>
<br><span lang="fr-ch"><font face="Arial" size="2">conf => 1001,user pin2, moderator pin2</font></span>
<br><span lang="fr-ch"><font face="Arial" size="2">conf => 1002,user pin3, moderator pin3</font></span>
<br><span lang="fr-ch"><font face="Arial" size="2">…</font></span>
<br><span lang="fr-ch"><font face="Arial" size="2">conf => 1009, user pin9, moderator pin9</font></span>
</p>
<p><span lang="fr-ch"><font face="Arial" size="2">The users are prompted whether they are a moderator or a user. When they choose, they are redirected to the conference they request:</font></span></p>
<p><span lang="fr-ch"><font face="Arial" size="2">- using options aAPsX for moderators (moderator + marked + ask PIN + allow menu using *)</font></span>
<br><span lang="fr-ch"><font face="Arial" size="2">- using options Psw for users (ask PIN + allow menu + wait for a marked user)</font></span>
</p>
<p><span lang="fr-ch"><font face="Arial" size="2">My problem is that if a user chooses the "moderator" 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…
</font></span></p>
<p><span lang="fr-ch"><font face="Arial" size="2">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.
</font></span></p>
<p><span lang="fr-ch"><font face="Arial" size="2">Thank you for your help,</font></span>
</p>
<p><span lang="fr-ch"><font face="Arial" size="2">Silviu</font></span>
</p>
<p><span lang="fr-ch"><font face="Arial" size="2">PS. Here is the dialplan :</font></span>
</p>
<p><span lang="fr-ch"><font face="Arial" size="2">[ConfStart]</font></span>
<br><span lang="fr-ch"><font face="Arial" size="2">exten => s,1,Answer</font></span>
<br><span lang="fr-ch"><font face="Arial" size="2">exten => s,2,Set(TIMEOUT(response)=5)</font></span>
<br><span lang="fr-ch"><font face="Arial" size="2">exten => s,3,Set(LANGUAGE()=conf)</font></span>
<br><span lang="fr-ch"><font face="Arial" size="2">exten => s,4,Wait(1)</font></span>
<br><span lang="fr-ch"><font face="Arial" size="2">exten => s,5,Background(welcome) ; "welcome, press * if you are a user of hold the line if you are a moderator"</font></span>
</p>
<p><span lang="fr-ch"><font face="Arial" size="2">exten => *,1,MeetMe(|iMPsw|) ; for regular users</font></span>
<br><span lang="fr-ch"><font face="Arial" size="2">exten => t,1,MeetMe(|aAiMPsX|) ; for moderators</font></span>
</p>
<p><span lang="fr-ch"><font face="Arial" size="2">exten => i,1,GoTo(ConfStart,s,1)</font></span>
</p>
</div>
</div><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --
<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br>