[OpenSIPS-Users] Blank domain field in subscriber table

Schneur Rosenberg rosenberg11219 at gmail.com
Mon Dec 19 20:03:46 CET 2011


because I have customers coming in from a bunch different domains, I
will have to go through my whole database and set the domain in the
table for each user according to the domain they are using

On Mon, Dec 19, 2011 at 8:27 PM, Duane Larson <duane.larson at gmail.com> wrote:
> If you are doing a multidomain/multitenant install why don't you want to
> input the domain info in the subscriber table?
>
> On Dec 19, 2011 11:15 AM, "Schneur Rosenberg" <rosenberg11219 at gmail.com>
> wrote:
>>
>> here is my problem, my server has multiple domain names, different
>> customers register with a different domain name (we combined a few
>> servers into one, therefore some register with different names) now as
>> long as I dont have the correct domain set in the subscriber table,
>> the system will keep on replying with a 401 Unauthorized.
>>
>> I assume it has to do with the way ha1 passwords are handled, I set
>> the system to use plain text passwords, I also tried setting  static
>> challenge for www_authorize, I thought this will eliminate the need
>> for the domain in the challenge, but still no registration.
>>
>> in my debug I get the following 2 lines
>>
>> Dec 19 09:11:06 opensipsmaster /sbin/opensips[4937]:
>> DBG:db_mysql:db_mysql_convert_rows: no rows returned from the query
>> Dec 19 09:11:06 opensipsmaster /sbin/opensips[4937]:
>> DBG:auth_db:get_ha1: no result for user 'gratt1 at sipsvr1.mydomain.com'
>>
>> Schneur Rosenberg
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list