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

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 wrote: > > > Hi, > > > > After deleting all space no improvements. > > > > Try reversing the account code and password hash, like this: > > 81dc9bdb52d04dc20036dbd8313ed055:Virendra >

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-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-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 wrote: > On 11/22/11 9:02 PM, virendra bhati wrote: > >>On Mon, Nov 21, 2011 at 6:15 AM, virendra bhati >> wrote: >> >>Hi, >> >>

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 mailto:virbh...@gmail.com>> wrote: Hi, After deleting all space no improvements. Try reversing the account code and password hash, like this: 81dc9bdb52d04dc20036dbd8313ed05

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

2011-11-22 Thread Warren Selby
On Tue, Nov 22, 2011 at 11:02 PM, virendra bhati wrote: > Hi Warren, > > As per your suggestion I revert back the things. In such case nothing is > working. So it's completely wrong case. > > Can someone tell me how Authenticate check password from plan text file ? > If we know who it's work then

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

2011-11-22 Thread virendra bhati
Hi Warren, As per your suggestion I revert back the things. In such case nothing is working. So it's completely wrong case. Can someone tell me how Authenticate check password from plan text file ? If we know who it's work then we can implements the logic on it. On Tue, Nov 22, 2011 at 9:47 PM,

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 wrote: > Hi, > > After deleting all space no improvements. > Try reversing the account code and password hash, like this: 81dc9bdb52d04dc20036dbd8313ed055:Virendra 9996535e07258a7bbfd8b132435c5962:Vijay 7bccfde7714a1ebadf06c5f4cea752c1:VirendraBha

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 wrote: > ** > hello, > > try to delete all spaces between user and password on the pass.txt > > Regards > > - Bakko > > -- > _ > -- Bandwidth

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 T