<br>&nbsp;I changed Samuel but no use.,,<br>
<br>
&nbsp;my module param is like below:<br>
<br>
modparam(&quot;permissions&quot;, &quot;db_mode&quot;, 1)<br>
modparam(&quot;permissions&quot;, &quot;trusted_table&quot;, &quot;trusted&quot;)<br>
<br>
i think SER is not looking in to trusted table :-<br>
<br>
Any ideas,<br>
<br>
<br><div><span class="gmail_quote">On 9/15/06, <b class="gmail_sendername">samuel</b> &lt;<a href="mailto:samu60@gmail.com">samu60@gmail.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;">
CC'ing to the list...<br><br>Change the from pattern and just place .* (without the ^sip: and the<br>$) if you want to accept ALL from patterns.<br><br>Samuel.<br><br>2006/9/15, ravi reddy &lt;<a href="mailto:mravikreddy@gmail.com">
mravikreddy@gmail.com</a>&gt;:<br>&gt; Thanks for your reply Samuel,<br>&gt;<br>&gt;&nbsp;&nbsp; I will get income calls from 6 pstn gateways and i had added all the<br>&gt; ip-adresses in the trusted table as follows<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;src_ip&nbsp;&nbsp; proto&nbsp;&nbsp; from_pattern
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;pstngw&nbsp;&nbsp; any&nbsp;&nbsp;&nbsp;&nbsp;^sip:.*$<br>&gt;<br>&gt;&nbsp;&nbsp;but even though my SER is asking the authentication what i have to do :-(<br>&gt;<br>&gt; On 9/15/06, samuel &lt;<a href="mailto:samu60@gmail.com">samu60@gmail.com</a>
&gt; wrote:<br>&gt; &gt; Take a look at the getting started doc and you'll find how to use<br>&gt; &gt; allow_trusted. For instance:<br>&gt; &gt;<br>&gt; &gt; #<br>&gt; -----------------------------------------------------------------
<br>&gt; &gt; 107. # Call Type Processing Section<br>&gt; &gt; 108. #<br>&gt; -----------------------------------------------------------------<br>&gt; &gt; 109. if (!is_uri_host_local()) {<br>&gt; &gt; 110. if (is_from_local() || allow_trusted()) {
<br>&gt; &gt; 111. route(4);<br>&gt; &gt; 112. route(1);<br>&gt; &gt; 113. } else {<br>&gt; &gt; 114. sl_send_reply(&quot;403&quot;, &quot;Forbidden&quot;);<br>&gt; &gt; 115. };<br>&gt; &gt; 116. break;<br>&gt; &gt; 117. };
<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; You would have to populate the trusted table in the SER's DB with the<br>&gt; &gt; &quot;trusted&quot; IPs.<br>&gt; &gt;<br>&gt; &gt; Samuel.<br>&gt; &gt;<br>&gt; &gt; 2006/9/14,<br>
&gt; &gt;<br>&gt; &gt; ravi reddy &lt;<a href="mailto:mravikreddy@gmail.com">mravikreddy@gmail.com</a>&gt;:<br>&gt; &gt; &gt; Hi samuel,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; I am using <a href="http://onsip.org">onsip.org
</a> ser.cfg and how can we check allow_trusted is<br>&gt; true<br>&gt; &gt; &gt; ?<br>&gt; &gt; &gt;<br>&gt;
&gt;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thank
You for reply.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;&nbsp;&nbsp;Regards,<br>&gt; &gt; &gt;&nbsp;&nbsp;Ravi.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 9/14/06, samuel &lt;<a href="mailto:samu60@gmail.com">samu60@gmail.com</a>&gt; wrote:
<br>&gt; &gt; &gt; &gt; you have to check whether allow_trusted returns true or not before any<br>&gt; &gt; &gt; &gt; auth. action.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Samuel.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; 2006/9/14, ravi reddy &lt;
<a href="mailto:mravikreddy@gmail.com">mravikreddy@gmail.com</a>&gt;:<br>&gt; &gt; &gt; &gt; &gt; Hi ,<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When i tried to make a incoming call from pstn to SER its
<br>&gt; asking<br>&gt; &gt; &gt; for<br>&gt; &gt; &gt; &gt; &gt; proxy authentication required,<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp; I had entered the pstngw ip address in trusted table even then the
<br>&gt; &gt; &gt; same<br>&gt; &gt; &gt; &gt; &gt; problem , is any thing else i have to do ;-)<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp; how i can cross this problem.<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;
<br>&gt; Thank<br>&gt; &gt; &gt; You.<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;Regards,<br>&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;Ravi.<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; _______________________________________________
<br>&gt; &gt; &gt; &gt; &gt; Serusers mailing list<br>&gt; &gt; &gt; &gt; &gt; <a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br>&gt; &gt; &gt; &gt; &gt; <a href="http://lists.iptel.org/mailman/listinfo/serusers">
http://lists.iptel.org/mailman/listinfo/serusers</a><br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;
<br></blockquote></div><br>