<div dir="ltr"><br>Thx alex for the response <br><br>&nbsp;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">&lt;<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>&gt;</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 == &quot;11001&quot;) {<br>
 &nbsp; &nbsp; &nbsp; &nbsp;t_relay();<br>
} else if($rU == &quot;11002&quot;) {<br>
 &nbsp; &nbsp; &nbsp; &nbsp;sl_send_reply(&quot;403&quot;, &quot;Forbidden&quot;);<br>
 &nbsp; &nbsp; &nbsp; &nbsp;exit;<br>
}<br>
<br>
Or you can use the &quot;permissions&quot; 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>
 &nbsp; |<br>
 &nbsp; |<br>
 &nbsp; |<br>
 &nbsp; |<br>
11111<br>
<br>
What I want to implement is something similar to this :<br>
<br>
Caller &lt;-------&gt; PSTN-GW &lt;-------&gt;OpenSER &lt;----&gt; (complete this call to this extension ) 11001<br>
<br>
Caller &lt;-------&gt; PSTN-GW &lt;-------&gt;OpenSER &nbsp;&lt;----&gt; (reject this call for this user ) 11002<br>
<br>
and so on for other extensions . any way to implement this feature in openser ?<br>
&nbsp;<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 &nbsp; &nbsp;: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
Tel &nbsp; &nbsp;: (+1) (678) 954-0670<br>
Direct : (+1) (678) 954-0671<br>
Mobile : (+1) (706) 338-8599<br>
</blockquote></div><br></div>