<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16440">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>hello,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>you can't use authenticate for this 
scenario.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>You have to create a databse with two fields: 
extension and password.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Then query the database with func_odbc 
function.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>There is a spanish article about this: <A 
href="http://www.voztovoice.org/?q=node/478">http://www.voztovoice.org/?q=node/478</A></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Regards</FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=virbhati@gmail.com href="mailto:virbhati@gmail.com">virendra 
  bhati</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=asterisk-users@lists.digium.com 
  href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List - 
  Non-Commercial Discussion</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, December 23, 2011 3:33 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [asterisk-users] How to use 
  password file withAuthenticateApplication</DIV>
  <DIV><BR></DIV>
  <DIV dir=ltr>Hi list,<BR><BR>I have upgrade my linux version to Asterisk 
  1.6.2.20. now&nbsp; Authenticate() function is working. But 1 question I want 
  to add this thread..<BR><BR>I have 3 password in my pass.txt file. i want that 
  only sip 2209( just example,) will come with 1234 pass&nbsp; and 2208 with 
  1235 and rest will come with 1236 password. So how I can make so ?<BR><BR><BR>
  <DIV class=gmail_quote>On Tue, Nov 29, 2011 at 8:16 PM, bakko <SPAN 
  dir=ltr>&lt;<A 
  href="mailto:asannucci@gmail.com">asannucci@gmail.com</A>&gt;</SPAN> 
wrote:<BR>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
  class=gmail_quote>I use this system to authenticate my users and work 
    fine.<BR><BR>Asterisk: 1.6.2.20<BR>Asterisk user: root<BR><BR>Maybe if you 
    active debug on the Asterisk console, you can find the 
    error.<BR><BR>Regards<BR><FONT color=#888888><BR>- Bakko</FONT>
    <DIV>
    <DIV></DIV>
    <DIV 
    class=h5><BR><BR>--<BR>______________________________<U></U>______________________________<U></U>_________<BR>-- 
    Bandwidth and Colocation Provided by <A href="http://www.api-digital.com" 
    target=_blank>http://www.api-digital.com</A> --<BR>New to Asterisk? Join us 
    for a live introductory webinar every Thurs:<BR>&nbsp; &nbsp; &nbsp; &nbsp; 
    &nbsp; &nbsp; &nbsp;<A href="http://www.asterisk.org/hello" 
    target=_blank>http://www.asterisk.org/hello</A><BR><BR>asterisk-users 
    mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>&nbsp;<A 
    href="http://lists.digium.com/mailman/listinfo/asterisk-users" 
    target=_blank>http://lists.digium.com/<U></U>mailman/listinfo/asterisk-<U></U>users</A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR><BR 
  clear=all><BR>-- <BR>
  <DIV dir=ltr><BR>Thanks and regards<BR><BR>&nbsp;Virendra 
  Bhati<BR>+91-8885268942<BR>Software Engineer<BR></DIV><BR></DIV>
  <P>
  <HR>

  <P></P>--<BR>_____________________________________________________________________<BR>-- 
  Bandwidth and Colocation Provided by http://www.api-digital.com --<BR>New to 
  Asterisk? Join us for a live introductory webinar every 
  Thurs:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  http://www.asterisk.org/hello<BR><BR>asterisk-users mailing list<BR>To 
  UNSUBSCRIBE or update options visit:<BR>&nbsp;&nbsp; 
  http://lists.digium.com/mailman/listinfo/asterisk-users</BLOCKQUOTE></BODY></HTML>