[Serusers] Authenticating multiple domains
Jan Janak
jan at iptel.org
Tue Feb 17 17:58:14 CET 2004
if (!www_authorize("", "subscriber")) {
www_challenge("", "0");
break;
};
The realm will be extracted from the SIP message (either To or From
domain, depending on the message).
Jan.
On 17-02 16:55, Alan Litster wrote:
> Hi,
>
> I know how you authenticate when you've only got a single domain;
>
> if (!www_authorize("sip.mydomain.com", "subscriber")) {
> www_challenge("sip.mydomain.com", "0");
> break;
> };
>
> but how would you handle the authentication when you have multiple domains?
>
>
> Regards,
>
> Alan
>
> -------------------------------------------------------------------------------------------------------
> This email, and any files transmitted with it, is copyright and may contain confidential information.
> The contents are intended for the use of the addressee(s) only.
> Unauthorized use may be unlawful.
> If you receive this email by mistake, please advise sender immediately.
> The views of the author may not necessarily constitute the views of Telco Electronics Limited.
> Nothing in this mail shall bind Telco Electronics Limited in any contract or obligation.
>
> Telco Electronics Limited
> 6-8 Oxford Court
> Brackley
> Northants
> NN13 7XY
>
> Tel 07000 701999
> Fax 07000 701777
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list