if($rU == "11001") { t_relay(); } else if($rU == "11002") { sl_send_reply("403", "Forbidden"); exit; }
Or you can use the "permissions" module.
muhammad akl wrote:
Hey all ,
I want to make some ACL for the INVITES come from a PSTN-GW to certain users on my OpenSER server.
for ex: I have the following extensions on my OpenSER server :
11001 11002 | | | | 11111
What I want to implement is something similar to this :
Caller <-------> PSTN-GW <------->OpenSER <----> (complete this call to this extension ) 11001
Caller <-------> PSTN-GW <------->OpenSER <----> (reject this call for this user ) 11002
and so on for other extensions . any way to implement this feature in openser ?
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users