[asterisk-users] How to use password file withAuthenticateApplication

virendra bhati virbhati at gmail.com
Sun Dec 25 23:06:52 CST 2011


Okay thanks for clear my doubt about Authenticate() function. I know the
process of MySQL and ODBC database connection with extensions.conf.

On Fri, Dec 23, 2011 at 6:23 PM, bakko <asannucci at gmail.com> wrote:

> **
> hello,
>
> you can't use authenticate for this scenario.
>
> You have to create a databse with two fields: extension and password.
>
> Then query the database with func_odbc function.
>
> There is a spanish article about this:
> http://www.voztovoice.org/?q=node/478
>
> Regards
>
> ----- Original Message -----
> *From:* virendra bhati <virbhati at gmail.com>
> *To:* Asterisk Users Mailing List - Non-Commercial Discussion<asterisk-users at lists.digium.com>
> *Sent:* Friday, December 23, 2011 3:33 AM
> *Subject:* Re: [asterisk-users] How to use password file
> withAuthenticateApplication
>
> Hi list,
>
> I have upgrade my linux version to Asterisk 1.6.2.20. now  Authenticate()
> function is working. But 1 question I want to add this thread..
>
> I have 3 password in my pass.txt file. i want that only sip 2209( just
> example,) will come with 1234 pass  and 2208 with 1235 and rest will come
> with 1236 password. So how I can make so ?
>
>
> On Tue, Nov 29, 2011 at 8:16 PM, bakko <asannucci at gmail.com> wrote:
>
>> I use this system to authenticate my users and work fine.
>>
>> Asterisk: 1.6.2.20
>> Asterisk user: root
>>
>> Maybe if you active debug on the Asterisk console, you can find the error.
>>
>> Regards
>>
>> - Bakko
>>
>>
>> --
>> ______________________________**______________________________**_________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>              http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>  http://lists.digium.com/**mailman/listinfo/asterisk-**users<http://lists.digium.com/mailman/listinfo/asterisk-users>
>>
>
>
>
> --
>
> Thanks and regards
>
>  Virendra Bhati
> +91-8885268942
> Software Engineer
>
>  ------------------------------
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 

Thanks and regards

 Virendra Bhati
+91-8885268942
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111226/d0b6c0ec/attachment.htm>


More information about the asterisk-users mailing list