Re: [asterisk-users] How to use password file withAuthenticateApplication

2011-12-25 Thread virendra bhati
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 asannu...@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 virbh...@gmail.com
 *To:* Asterisk Users Mailing List - Non-Commercial 
 Discussionasterisk-users@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 asannu...@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-**usershttp://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
--
_
-- 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

Re: [asterisk-users] How to use password file withAuthenticateApplication

2011-12-23 Thread bakko
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 
  To: Asterisk Users Mailing List - Non-Commercial Discussion 
  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 asannu...@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




  -- 


  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

Re: [asterisk-users] How to use password file withAuthenticateApplication

2011-11-23 Thread bakko
hello,

I wrote a post about this (spanish)

http://www.voztovoice.org/?q=node/477

Or, if you prefere, using func_odbc

http://www.voztovoice.org/?q=node/478

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