Hello,
On 10/4/10 3:37 PM, Rouskol Andrey wrote:
Daniel,
02.10.10, 12:37, "Daniel-Constantin Mierla"<miconda(a)gmail.com>ail.com>:
But here is like this because your client uses
user@domain in username
field for authentication, right?
This is because www_authorize("xcap",
"subscriber") requires me to use user@domain
for authentication. I can not pass through it without domain. And I suppose that it
becase of this:
modparam("auth_db", "use_domain", MULTIDOMAIN).
the multidomain
is for database query in order to do select based on
domain field, otherwise is ignored.
What sip phone do you use?
Cheers,
Daniel
However, in many cases, even in multi-domain environment, people still
use only user part in username field and the domain is taken from R-URI
or headers like From/To.
To make this complete for multi-domain, I think there must be a
condition to check for domain in $aU and if missing, try to get it from
other parts, right?
Daniel, you are the guru, not me. It was just an idea.
Regards,
Andrey.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://www.asipto.com