[Serusers] Call Rerstriction & Security !

Kannaiyan Natesan nkans at speak2world.com
Sun May 9 10:13:22 CEST 2004


I have changed to,

   if( method=="INVITE") {
     if (!(proxy_authorize("mydomain.com" /* realm */,"subscriber" /* table
 name */ ))) {
            proxy_challenge("mydomain.com /* ream */, "1" /* use qop */ );
            break;
     };
  };

works fine now.

Kannaiyan


----- Original Message -----
From: "Kannaiyan Natesan" <nkans at speak2world.com>
To: <serusers at lists.iptel.org>
Sent: Sunday, May 09, 2004 8:32 AM
Subject: [Serusers] Call Rerstriction & Security !


> I have used,
>
> if (search("(f|From): .*@mydomain.com)) {
>     if (!(proxy_authorize("mydomain.com" /* realm */,"subscriber" /* table
> name */ ))) {
>            proxy_challenge("mydomain.com /* ream */, "1" /* use qop */ );
>            break;
>     }
> }
>
> to restrict calls only from my domain and authenticated. But When I use
> http://www.iptel.org/aa/  It could bridge the call between two domains.
> Where is the problem? Is my approach correct? and please help how can I do
> the same?
>
> Best Regards,
> Kannaiyan
>
>
>
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>







More information about the sr-users mailing list