I can think of two ways to to that.
1) You can simply use the acl, add the two users that you want to be
able to make international calls to the international acl with
"openserctl acl grant username international"
Then in the route you use for international calls you do something
like ...
if (!is_user_in("From", "int")){
sl_send_reply("401", "Unauthorized-
acl");
exit;
} else {
whatever else........
2) Use the lcr module it will let you specify a source regular
expression to match against.
On Jun 12, 2006, at 1:25 PM, ram wrote:
Hi
iam not using any Radius
just working mysql authentication build one
looking for script which can check some kind of allow method and
route accordingly
ram
On 6/12/06, Edson <4lists(a)gmail.com> wrote:
Try to look on Radius Authorization schema... it will allow You to
implement all sort of filtering policies…
Edson.
From: users-bounces(a)openser.org [mailto: users-bounces(a)openser.org]
On Behalf Of ram
Sent: domingo, 11 de junho de 2006 14:28
To: users(a)openser.org
Subject: [Users] Allow only perticular country
Hi all
Just working around with openser
just looking config, and had one requirement
I have users 3
i want 1 and 2 can access calls where ever they can
but 3 need to call only USA, and he should not get access to rest
of the place
can some one give me idea, how can i achive this
or any sample config
ram
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users