Hello Jeff,<div><br></div><div>I managed to get a core dump only when the second parameter of the check_address is empty. </div><div>I added a check for that (rev. 6272), so it shouldn't crash anymore.</div><div><br></div>
<div>Also, you can use "$rd" as the second parameter only if the domain name is an ip address, otherwise it won't work.</div><div><br></div><div>Thanks!</div><div><br></div><div>Irina Stanescu<br><br><div class="gmail_quote">
On Wed, Oct 14, 2009 at 10:43 PM, Jeff Pyle <span dir="ltr"><<a href="mailto:jpyle@fidelityvoice.com">jpyle@fidelityvoice.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
I have the following:<br>
<br>
if (check_address("10", "$rd", "0", "$proto")) {<br>
setflag(7);<br>
}<br>
<br>
In many cases, and I can't seem to determine what those cases are, this<br>
causes the system to run very slowly for about 30 seconds, and then Opensips<br>
exits.<br>
<br>
I need to know if the source or destination IP addresses fall into one of<br>
the blocks included in group 10 of the address table.<br>
check_source_address() works great with Irina's fix; this is the destination<br>
half. It tanks the system.<br>
<br>
On the doc page it says:<br>
Transport protocol is either "ANY" or any valid transport protocol value:<br>
"UDP, "TCP", "TLS", and "SCTP".<br>
<br>
Is case relevant? Is lowercase just as valid as the uppercase examples?<br>
<br>
<br>
<br>
- Jeff<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></div>