[Kamailio-Devel] [ openser-Bugs-2740437 ] PUBLISH authentication is wrong
Henning Westerholt
henning.westerholt at 1und1.de
Fri Apr 17 15:13:33 CEST 2009
On Friday 17 April 2009, Jan Janak wrote:
> > this has been in our default configuration since version 1.2.0. And this
> > behaviour is actually sufficient documented in the module readme. SER
> > uses also the same way of deriving the realm from the message content,
> > and the auth module is probably used from most of the installations.
>
> SER does not derive the realm from the SIP message anymore. For every
> virtual domain we have the realm configured in the database. SER determines
> the virtual domain from the SIP message and then looks up the corresponding
> realm string in the database, in domain_attrs table.
>
> We have switched to this approach because it is much more flexible. We can
> have a digest realm which is not the same as the domain name, we can share
> one digest realm across multiple virtual domains, and so on.
>
> The contents of the domain_attrs table is cased in domain module so there
> is no performance penalty.
Hi Jan,
thanks for the clarification. I just checked the auth and auth_db module
readme, which are then perhaps outdated, but don't took a real look in the
code.
Cheers,
Henning
More information about the Devel
mailing list