[Serusers] Multiply Domain Registration Problem
Jan Janak
jan at iptel.org
Tue May 13 12:31:42 CEST 2003
Hello, comments inline.
On 13-05 12:30, Andrzej Radke wrote:
> Hello all !
>
> I have problem with this feature
> As was described, I:
> - created separate subscriber and location database table for my second
> domain called subscriber.gdynia and location.gdynia
> - configure my script properly (I hope) ;)
>
> if (method=="REGISTER") {
> # Uncomment this if you want to use digest authentication
> if (!www_authorize("gdynia.pl", "subscriber.gdynia")) {
> www_challenge("gdynia.pl", "0");
> break;
> };
>
> save("location.gdynia");
> log(3,"REGISTER from gdynia.pl");
> sl_send_reply("200", "ok");
> break;
>
>
> if (!www_authorize("gda.pl", "subscriber"))
> {
> www_challenge("gda.pl", "0");
> break;
> };
>
> save("location");
> log(3,"REGISTER from gda.pl");
> sl_send_reply("200", "ok");
> break;
>
> };
>
What is this supposed to do ? The second part of the script starting
with www_authorize("gda.pl", "subscriber") will never be executed
because there is break before it. What are you trying to achieve ?
Jan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20030513/256e97f2/attachment.pgp>
More information about the sr-users
mailing list