[asterisk-users] How to use password file withAuthenticateApplication

bakko asannucci at gmail.com
Fri Dec 23 06:53:42 CST 2011


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 <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




  -- 


  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111223/584b6164/attachment.htm>


More information about the asterisk-users mailing list