<HTML><BODY>Hello all.<br><br>Preface<br>------------------<br>- OpenSIPS 2.3.2<br>- permissions module (register permissions handling)<br><br>I'd like to deny registrations from certain IP, and I've done it successfully using register.deny file.<br>But now I'd like to add/remove addresses without restarting OpenSIPS each time.<br><br>The MI function 'fifo address_reload' works for 'address' table, not for register.allow/register.deny files.<br>(We already use some tables (for dispatcher and LB) as dbtext, works fine.)<br><br><br>The Problem:<br>------------------<br>So, I have 2 questions:<br>1. the right syntax of filling the txt table (txt structure is here TAR.GZ/opensips-2.3.2/scripts/dbtext/opensips/address and description here http://www.opensips.org/Documentation/Install-DBSchema-2-3#GEN-DB-ADDRESS)<br><br>As for now, I have this, but not sure that it's OK (added underlines for better visibility):<br><br><p>id(int,auto) grp(int) ip(string) mask(int) port(int) proto(string) pattern(string,null) context_info(string,null)<br>1_________0 ___10.145.13.5__32____ 0 ______any<br>2_________0 ___10.145.13.11_32____ 0 ______any<br></p><br><br>2. I can not understand where will be the decision applied - either allow or deny?! In case of using register.allow and register.deny it was quite straightforward, and it worked fine. In case of using address table - where have I to set if to allow or to deny?! There are no such fields in the table.<br><br>Best regards, Alexey</BODY></HTML>