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

2011-12-23 Thread virendra bhati
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

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

2011-11-29 Thread Tzafrir Cohen
On Tue, Nov 22, 2011 at 10:17:52AM -0600, Warren Selby wrote: On Mon, Nov 21, 2011 at 6:15 AM, virendra bhati virbh...@gmail.com wrote: Hi, After deleting all space no improvements. Try reversing the account code and password hash, like this:

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

2011-11-29 Thread bakko
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

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

2011-11-28 Thread Edwin Lam
On 11/24/11 2:13 AM, virendra bhati wrote: I did the same as you mention like that *echo -n 1234 | md5sum another things to check are: - the permission of the file /tmp/pass.txt? - the user/group of that file? - the user/group asterisk running as? i'm using 1.6.2.18 and it works perfectly.

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

2011-11-28 Thread virendra bhati
Hi Edwin, - the permission of the file /tmp/pass.txt? - the user/group of that file? - the user/group asterisk running as? I have 777 permission for that file. [root@haddock8-astrx tmp]# ll -rwxrwxrwx 1 root root 81 Nov 24 15:39 pass.txt Asterisk version is *Asterisk 1.6.2.11* and asterisk

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

2011-11-24 Thread virendra bhati
Hi Edwin, I did the same as you mention like that *echo -n 1234 | md5sum * On Thu, Nov 24, 2011 at 3:13 AM, Edwin Lam edwin@officegeneral.comwrote: On 11/22/11 9:02 PM, virendra bhati wrote: On Mon, Nov 21, 2011 at 6:15 AM, virendra bhati virbh...@gmail.com

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

2011-11-23 Thread Edwin Lam
On 11/22/11 9:02 PM, virendra bhati wrote: On Mon, Nov 21, 2011 at 6:15 AM, virendra bhati virbh...@gmail.com mailto:virbh...@gmail.com wrote: Hi, After deleting all space no improvements. Try reversing the account code and password hash, like this:

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

2011-11-22 Thread Warren Selby
On Mon, Nov 21, 2011 at 6:15 AM, virendra bhati virbh...@gmail.com wrote: Hi, After deleting all space no improvements. Try reversing the account code and password hash, like this: 81dc9bdb52d04dc20036dbd8313ed055:Virendra 9996535e07258a7bbfd8b132435c5962:Vijay

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

2011-11-21 Thread bakko
hello, try to delete all spaces between user and password on the pass.txt Regards - Bakko-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every

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

2011-11-21 Thread virendra bhati
Hi, After deleting all space no improvements. On Mon, Nov 21, 2011 at 5:35 PM, bakko asannu...@gmail.com wrote: ** hello, try to delete all spaces between user and password on the pass.txt Regards - Bakko -- _ --