[OpenSIPS-Users] Opensips Registering non-existing users

Saúl Ibarra saghul at gmail.com
Mon Jun 8 21:12:16 CEST 2009


Which domain did you specify in the opensipsctlrc file? How did you
create your user?


On Mon, Jun 8, 2009 at 9:02 PM, mani sivaraman<mani.opensips at gmail.com> wrote:
> Thanks for your reply. If I enable auth in .cfg file, then the auth is
> failing. I did enable the debug console and see the following
>
> Jun  8 13:49:05 [8825] DBG:auth_db:get_ha1: HA1 string calculated:
> 0cd7b4b92de4755f56180d996683482c
> Jun  8 13:49:05 [8825] DBG:auth:check_response: our result =
> '97ae96a51362ec6393e8d7fe89b71a24'
> Jun  8 13:49:05 [8825] DBG:auth:check_response: authorization failed
>
> I'm pretty sure I have the correct username , password and domain set up in
> the mysql db (opensips.subscriber table). I even created brand new user name
> with correct password and tried. Still I get the auth failed. Attached is
> the debug console output. YOur help is really appreciated.
>
> Any clue.
>
> On Mon, Jun 8, 2009 at 12:36 PM, Saúl Ibarra <saghul at gmail.com> wrote:
>>
>> Take a look at the register handling section. You need to challenge
>> the REGISTER requests por auth (see www_authorize and www_challenge) I
>> believe they where commented out in the example config file...
>>
>>
>> On Mon, Jun 8, 2009 at 6:53 PM, mani sivaraman<mani.opensips at gmail.com>
>> wrote:
>> > I'm new to opensips. I installed opensips1.5.1 with mysql db support. I
>> > created 4 users in db using 'opensipsctl add' command. I'm able to
>> > register
>> > these 4 users if I login. The problem is opensips blindly register any
>> > username I try to register with. Like any arbitary name like 578. How
>> > can I
>> > stop opensips from doing this. I want opensips to Register only the user
>> > available on the subscriber mysql db
>> >
>> > Thank you
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opensips.org
>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> >
>> >
>>
>>
>>
>> --
>> Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de
>> disketes."
>> ----------------------------------------------------------------
>> http://www.saghul.net/
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>



-- 
Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes."
----------------------------------------------------------------
http://www.saghul.net/



More information about the Users mailing list