Bogda, <br>Wow that was quick. Thank you, <br><br>I found one more issue, <br>I have this entry in address table<br><table id="table_results" class="data"><tbody><tr class="even"><td class="nowrap" align="right">944</td>
<td class="nowrap" align="right">0</td>
<td style="border: 1px solid rgb(255, 204, 153);">65.211.120.237</td>
<td class="nowrap" align="right">32</td>
<td class="nowrap" align="right">0</td>
<td>any</td>
<td>^sip:.*$</td>
<td><i>NULL</i></td>
<td class="nowrap" align="right">0</td>
<td>some descriptiond</td></tr></tbody></table><br>Here is a check in my route block<br> if (check_source_address("0","$avp(i:9)")) { <br> t_rely(); <br>} else {<br> xlog("Monitor Request not from trusted source from $fu to $ru from IP $si ");<br>
sl_send_reply("403", "Forbidden, we dont trust you");<br>}<br><br>../../sbin/opensipsctl fifo address_dump | grep "65.211.120.237"<br><br>12 <65.211.120.237,0, 0, 0, ^sip:.*$, NULL><br>
<br>I always get 403. <br>Is there a limit in address table. <br><br>-Jai<br><br><br><div class="gmail_quote">On Thu, Dec 10, 2009 at 12:24 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</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;">Hi Jai,<br>
<br>
I think you are correct - the permission table should also be more<br>
permissive when comes to the errors and skip bogus entries. I will ask<br>
the maintainer (Irina) to fix this problem.<br>
<br>
Thanks for the report,<br>
Bogdan<br>
<div><div></div><div class="h5"><br>
Jai Rangi wrote:<br>
> Not sure if this this the right place for this post. May be I should<br>
> post it on developers mailing list. Please suggest.<br>
><br>
> Just installed opensip1.6 with Mysql, drouting and permissions module.<br>
> Did not take long to get it configure and get it going. Documentations<br>
> is wonderful.<br>
> While testing I noticed that,<br>
><br>
> 1. If there is any invalid entry in dr_routing tables, and I reload<br>
> the dr_routing it spit the error for the mistyped/wrong entry and<br>
> loads rest of the valid entries. Same thing with startup. Opensip will<br>
> start up just fine even if there are some invalid rules in the table<br>
> and throws the error with ruleid.<br>
><br>
> 2. On the other hand address table does not work that way. If there is<br>
> any space (Typo) in the IP address, opensip wont start and wont reload<br>
> the address table.<br>
> I have to put the valid IP address, there is not option for dynamic<br>
> domain names. (For people who does not have static IP). Not only that<br>
> it does not even tell which IP has a problem that makes it even harder<br>
> to debug when you have thousands of IPs in the trusted tables.<br>
><br>
> I was wondering if there is a work around for this. I would like<br>
> opensip to startup (or successful address_reload) with all the valid<br>
> entries and throw an error for invalid entries. Also having the<br>
> ability to add an domain would be nice.<br>
><br>
> Any thoughts??<br>
><br>
> -Jai<br>
><br>
><br>
><br>
><br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br>