<HTML><BODY>
<div>Hi Hakan,<br>

<br>

I have followed your example but openser is still doing SIP/2.0 407 Proxy Authentication Required.<br>

<br>

When I start openser I'm seeing these messages:<br>

<br>

0(0) WARNING: File not found: /usr/local/etc/openser/permissions.allow<br>

&nbsp;0(0) Default allow file (/usr/local/etc/openser/permissions.allow) not found =&gt; empty rule set<br>

&nbsp;0(0) WARNING: File not found: /usr/local/etc/openser/permissions.deny<br>

&nbsp;0(0) Default deny file (/usr/local/etc/openser/permissions.deny) not found =&gt; empty rule set<br>

<br>

<br>

Do I need to specify the default permission files for this to work?<br>

<br>

thanks,<br>

<br>

Ron<br>

</div>

<div>&nbsp;</div>
&nbsp;<br>
-----Original Message-----<br>
From: bp4mls@googlemail.com<br>
To: ronn100200@aim.com<br>
Cc: users@openser.org<br>
Sent: Mon, 14 Aug 2006 8:22 AM<br>
Subject: Re: [Users] Module for Config files<br>
<br>






<div id="AOLMsgPart_2_3b072232-83b1-4282-aff3-f949a72ff83e">

Ser can something like ...src_ip != 195.xxx.xxx.128/25... (which is quite cheap). Probably OpenSer can do this, too.<br>
<br>

<div><span class="gmail_quote">On 8/14/06, <b class="gmail_sendername"><a href="javascript:parent.ComposeTo('ronn100200@aim.com');">
ronn100200@aim.com</a></b> &lt;<a href="javascript:parent.ComposeTo('ronn100200@aim.com');">ronn100200@aim.com</a>&gt; wrote:</span><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>Hi All,<br>




<br>




I am using&nbsp; the following if statement&nbsp; to&nbsp; allow certain calls from&nbsp; pre authorized IPs. <br>




<br>




if ( method == "INVITE" &amp;&amp; src_ip != 195.xxx.xxx.xx &amp;&amp;
src_ip != 195.xxx.xxx.xx &amp;&amp; src_ip != 195.xxx.xxx.xx &amp;&amp;
src_ip != 195.xxx.xxx.xx) {<br>




<br>




&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp; <br>




My issues is the number of IPs that need to be authorized this way is
getting large and was wondering if there's a module that can be used to
read config date from a config file ? <br>




<br>




regards,<br>




<br>




Ron</div>



<div>
<hr style="margin-top: 10px;">
<a href="http://pr.atwola.com/promoclk/100122638x1081283466x1074645346/aol?redir=http%3A%2F%2Fwww%2Eaim%2Ecom%2Ffun%2Fmail%2F" target="_blank"><b>Check Out the new free AIM(R) Mail
</b></a> -- 2 GB of storage and industry-leading spam and email virus protection.<br>

</div>


</div>


</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="javascript:parent.ComposeTo('Users@openser.org');">Users@openser.org</a><br>
<a href="http://openser.org/cgi-bin/mailman/listinfo/users" target="_blank">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
</blockquote></div>
<br>


</div>
 <!-- end of AOLMsgPart_2_3b072232-83b1-4282-aff3-f949a72ff83e -->


<div class="AOLPromoFooter">
<hr style="margin-top:10px;" />
<a href="http://pr.atwola.com/promoclk/100122638x1081283466x1074645346/aol?redir=http%3A%2F%2Fwww%2Eaim%2Ecom%2Ffun%2Fmail%2F" target="_blank"><b>Check Out the new free AIM(R) Mail</b></a> -- 2 GB of storage and industry-leading spam and email virus protection.<br />
</div>

</BODY></HTML>