<div dir="ltr"><br>Thx alex for the response <br><br> I have tried your first solution but got strange result that it will prevent the calls to the determined users between each others inside the proxy not the external calls come from the GW <br>
<br>I think I should try with the permissions module <br><br>Regards <br> <br><br><div class="gmail_quote">On Sun, Oct 26, 2008 at 10:28 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">if($rU == "11001") {<br>
t_relay();<br>
} else if($rU == "11002") {<br>
sl_send_reply("403", "Forbidden");<br>
exit;<br>
}<br>
<br>
Or you can use the "permissions" module.<br>
<br>
muhammad akl wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hey all ,<br>
<br>
I want to make some ACL for the INVITES come from a PSTN-GW to certain users on my OpenSER server.<br>
<br>
for ex: I have the following extensions on my OpenSER server :<br>
<br>
11001<br>
11002<br>
|<br>
|<br>
|<br>
|<br>
11111<br>
<br>
What I want to implement is something similar to this :<br>
<br>
Caller <-------> PSTN-GW <------->OpenSER <----> (complete this call to this extension ) 11001<br>
<br>
Caller <-------> PSTN-GW <------->OpenSER <----> (reject this call for this user ) 11002<br>
<br>
and so on for other extensions . any way to implement this feature in openser ?<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
<br>
<br>
-- <br>
Alex Balashov<br>
Evariste Systems<br>
Web : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
Tel : (+1) (678) 954-0670<br>
Direct : (+1) (678) 954-0671<br>
Mobile : (+1) (706) 338-8599<br>
</blockquote></div><br></div>