Re: [SR-Users] Registration Authentication Error

2012-09-30 Thread Nathaniel L Keeling III
The sequence is not changing and the authorization header is not being sent in the subsequent registrar request. This is why I can not authenticate. My question would be why would this occurring? Thanks Nathaniel On 9/28/12 1:57 AM, Moritz Graf wrote: Hi, I have not been that much in Kamail

Re: [SR-Users] Registration Authentication Error

2012-09-27 Thread Moritz Graf
Hi, I have not been that much in Kamailio yet, but I can see the following messages: UAC UAS REGISTER -> (CSeq=1) 401 Unauth. <-- REGISTER -> (CSeq=1) 401 Unauth. <-- I am missing the answer from the UAC where it solves the challange and sends another Register with CSeq=2. Bu

Re: [SR-Users] Registration Authentication Error

2012-09-27 Thread Nathaniel L Keeling III
Sorry, I thought I had saved it in plain text format. I have included the right file. Thanks Nathaniel On 9/27/12 10:12 AM, Daniel-Constantin Mierla wrote: Can you sent the attachment in text format so it can be read from any device? It should be just text content anyhow. Cheers, Daniel On

Re: [SR-Users] Registration Authentication Error

2012-09-27 Thread Daniel-Constantin Mierla
Can you sent the attachment in text format so it can be read from any device? It should be just text content anyhow. Cheers, Daniel On 9/27/12 4:26 AM, Nathaniel L Keeling III wrote: I am using the Jitsi sip client and tried the X-Lite sip client. I am not able to authenticate with either. I a

Re: [SR-Users] Registration Authentication Error

2012-09-26 Thread Nathaniel L Keeling III
I am using the Jitsi sip client and tried the X-Lite sip client. I am not able to authenticate with either. I am including a text with the sip messages and some of kamailio logs. Thanks Nathaniel On 9/24/12 3:21 AM, Daniel-Constantin Mierla wrote: Hello, all seems ok from the logs, have you

Re: [SR-Users] Registration Authentication Error

2012-09-24 Thread Daniel-Constantin Mierla
Hello, all seems ok from the logs, have you checked the realm in the authorization header, is it the right one? Maybe you can just paste the trace for a registration that fails. I can think of anything else that could go wrong, this part of the code is used a lot. I assume it is a well known

Re: [SR-Users] Registration Authentication Error

2012-09-22 Thread Nathaniel L Keeling III
I added a test account and I am still getting the same error. It seems like I am missing something somewhere. Here is the table entry for the test account: 3 | test | akanvoice.com | test1234 | | b6c6087ad9e897d2e871169e0eac9398 | 8cee4856976732a5cfce7c23a19bfe59 | Thanks

Re: [SR-Users] Registration Authentication Error

2012-09-21 Thread Nathaniel L Keeling III
here is the output from the log file of the test user: 2(2744) DEBUG: db_postgres [km_dbase.c:224]: sending query ok: 10046f6d0 (7) - [select password from subscriber where username='test' AND domain='akanvoice.com'] 2(2744) DEBUG: [db_res.c:118]: allocate 48 bytes for result set at 10049a01

Re: [SR-Users] Registration Authentication Error

2012-09-21 Thread Daniel-Constantin Mierla
Hello, On 9/21/12 2:43 PM, Nathaniel L Keeling III wrote: Yes, the password column of the subscriber's table contains the plain text password. Should the calculated HA1 string match the HA1 value in the database? no, if clear text password is used, the ha1 column is not important at all. If y

Re: [SR-Users] Registration Authentication Error

2012-09-21 Thread Nathaniel L Keeling III
Yes, the password column of the subscriber's table contains the plain text password. Should the calculated HA1 string match the HA1 value in the database? Thanks Nathaniel On 9/21/12 2:21 AM, Daniel-Constantin Mierla wrote: Hello, this requires the plain text password to be in the column 'p

Re: [SR-Users] Registration Authentication Error

2012-09-21 Thread Daniel-Constantin Mierla
Hello, this requires the plain text password to be in the column 'password' of the subscriber table, do you have it? I am asking because many people keep only ha1/ha1b. Cheers, Daniel On 9/21/12 2:35 AM, Nathaniel L Keeling III wrote: Here is the parameters for auth_db: modparam("auth_db"

Re: [SR-Users] Registration Authentication Error

2012-09-20 Thread Nathaniel L Keeling III
Here is the parameters for auth_db: modparam("auth_db", "db_url", DBURL) modparam("auth_db", "calculate_ha1", yes) modparam("auth_db", "password_column", "password") modparam("auth_db", "load_credentials", "") modparam("auth_db", "use_domain", MULTIDOMAIN) This is the default config file with ju

Re: [SR-Users] Registration Authentication Error

2012-09-20 Thread Nathaniel L Keeling III
The realm is the same as the client. I was using the $fd variable but then switch it to the actual domain name and I still do not authenticate. It seems like the HA1 calculation is different. Our setup is for multi-domain and we've placed the domain name in the domain table. Is there something

Re: [SR-Users] Registration Authentication Error

2012-09-19 Thread Andrew Pogrebennyk
On 09/18/2012 04:58 PM, Nathaniel L Keeling III wrote: > 11(28548) DEBUG: db_postgres [km_dbase.c:393]: PQclear(1008b8560) result > set > 11(28548) DEBUG: auth_db [authorize.c:124]: HA1 string calculated: > e13d569284e76a33ca63e4d6203f844a > 11(28548) DEBUG: auth [api.c:211]: check_response: Our re

Re: [SR-Users] Registration Authentication Error

2012-09-18 Thread Daniel-Constantin Mierla
Hello, can you paste the module parameters for auth and auth_db module? Or check the combination of password column and calculate_ha1 are ok. I guess you are using your custom configuration file, maybe you can give a quick test with default configuration just to see if the passwords match.

[SR-Users] Registration Authentication Error

2012-09-18 Thread Nathaniel L Keeling III
Hello, we are testing the new version of Kamailio, 3.3 and are getting authentication error when trying to register a sip account. We have a db backend in which we used kamctl to add the user to the db. We are using the kamailio.cfg script created during the install with changes for our envir