<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Hi,<br>
<br>
before doing the reload, can you check that you actually have
the 2 records in the "address" table ? It seems there is only
one, according to the reload logs:<br>
</tt><font size="2" color="black" face="arial"><font
face="arial"> Sep 18 16:52:45 [1738]
DBG:permissions:reload_address_table: number of rows in
address table: 1<br>
<br>
Regards,<br>
</font></font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 19.09.2014 03:00, <a class="moz-txt-link-abbreviated" href="mailto:discodog62@aol.com">discodog62@aol.com</a> wrote:<br>
</div>
<blockquote
cite="mid:8D1A1B3EBDD5939-7D4-5C8E@webmail-vm077.sysops.aol.com"
type="cite"><font size="2" color="black" face="arial"><font
size="2" face="arial">I am using opensips 1.11.2. When I add
a new IP to the access list and then reload the newly added IP
is not reloaded into memory.</font>
<div style="color: black; font-family: arial; font-size: 10pt;"><br>
</div>
<div style="color: black; font-family: arial; font-size: 10pt;">Here
is what I am doing......</div>
<div style="color: black; font-family: arial; font-size: 10pt;"><br>
</div>
<div>
<div><font face="arial"><br>
</font></div>
<div>
<div><font face="arial"><br>
</font></div>
<div><font face="arial">vma / # opensipsctl address show</font></div>
<div><font face="arial">[1, 1, '192.168.2.5', 32, 5068,
'udp', '', 'James']</font></div>
<div><font face="arial">vma / # opensipsctl address fifo
address_dump</font></div>
<div><font face="arial">Sep 18 16:51:51 [1738]
DBG:mi_fifo:mi_fifo_server: entered consume</font></div>
<div><font face="arial">Sep 18 16:51:51 [1738]
DBG:mi_fifo:mi_fifo_server: **** done consume</font></div>
<div><font face="arial">Sep 18 16:51:51 [1738]
DBG:mi_fifo:mi_fifo_server: done parsing the mi tree</font></div>
<div><font face="arial"> 97 <192.168.2.5,1, 5068, 1,
NULL, James></font></div>
<div><font face="arial">vma / # opensipsctl address add 1
192.168.2.100 32 5060 udp Me</font></div>
<div><font face="arial">Updated address, rows affected: 1</font></div>
<div><font face="arial">INFO: execute
'/test/opensips/bin/opensipsctl address reload' to
synchronize cache and database</font></div>
<div><font face="arial">vma / # opensipsctl address show</font></div>
<div><font face="arial">[1, 1, '192.168.2.5', 32, 5068,
'udp', '', 'James']</font></div>
<div><font face="arial">[2, 1, '192.168.2.100', 32, 5060,
'udp', '', 'Me']</font></div>
<div><font face="arial">vma / # opensipsctl fifo
address_dump</font></div>
<div><font face="arial">Sep 18 16:52:28 [1738]
DBG:mi_fifo:mi_fifo_server: entered consume</font></div>
<div><font face="arial">Sep 18 16:52:28 [1738]
DBG:mi_fifo:mi_fifo_server: **** done consume</font></div>
<div><font face="arial">Sep 18 16:52:28 [1738]
DBG:mi_fifo:mi_fifo_server: done parsing the mi tree</font></div>
<div><font face="arial"> 97 <192.168.2.5,1, 5068, 1,
NULL, James></font></div>
<div><font face="arial">vma / # opensipsctl address show</font></div>
<div><font face="arial">[1, 1, '192.168.2.5', 32, 5068,
'udp', '', 'James']</font></div>
<div><font face="arial">[2, 1, '192.168.2.100', 32, 5060,
'udp', '', 'Me']</font></div>
<div><font face="arial">vma / # opensipsctl fifo
address_reload</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:mi_fifo:mi_fifo_server: entered consume</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:mi_fifo:mi_fifo_server: **** done consume</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:mi_fifo:mi_fifo_server: done parsing the mi tree</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:db_text:dbt_db_get_table: cache or mtime succeeded
for [address]</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:db_text:dbt_query: new res with 8 cols</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:db_text:dbt_result_new: new res with 8 cols</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:core:db_new_result: allocate 48 bytes for result set
at 0x7f39d69735d0</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:core:db_allocate_columns: allocate 224 bytes for
result columns at 0x7f39d6974228</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:core:db_allocate_rows: allocate 272 bytes for result
rows and values at 0x7f39d6974320</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:permissions:reload_address_table: number of rows in
address table: 1</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:permissions:reload_address_table: Tuple
<192.168.2.5, 1, 5068, 1, , James> inserted into
address hash table</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:core:db_free_columns: freeing result columns at
0x7f39d6974228</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:core:db_free_rows: freeing 1 rows</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:core:db_free_row: freeing row values at
0x7f39d6974330</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:core:db_free_rows: freeing rows at 0x7f39d6974320</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:core:db_free_result: freeing result set at
0x7f39d69735d0</font></div>
<div><font face="arial">Sep 18 16:52:45 [1738]
DBG:permissions:reload_address_table: address table
reloaded successfully.</font></div>
<div><font face="arial">vma / # opensipsctl fifo
address_dump</font></div>
<div><font face="arial">Sep 18 16:52:53 [1738]
DBG:mi_fifo:mi_fifo_server: entered consume</font></div>
<div><font face="arial">Sep 18 16:52:53 [1738]
DBG:mi_fifo:mi_fifo_server: **** done consume</font></div>
<div><font face="arial">Sep 18 16:52:53 [1738]
DBG:mi_fifo:mi_fifo_server: done parsing the mi tree</font></div>
<div><font face="arial"> 97 <192.168.2.5,1, 5068, 1,
NULL, James></font></div>
<div><font face="arial">vma / # opensipsctl address
reloadshow</font></div>
<div><font face="arial">[1, 1, '192.168.2.5', 32, 5068,
'udp', '', 'James']</font></div>
<div><font face="arial">[2, 1, '192.168.2.100', 32, 5060,
'udp', '', 'Me']</font></div>
<div><font face="arial">vma / # opensipsctl fifo debug 0</font></div>
<div><font face="arial">Sep 18 16:53:08 [1738]
DBG:mi_fifo:mi_parse_tree: adding node <> ; val
<0></font></div>
<div><font face="arial">Sep 18 16:53:08 [1738]
DBG:mi_fifo:mi_parse_node: end of input tree</font></div>
<div><font face="arial">Sep 18 16:53:08 [1738]
DBG:mi_fifo:mi_fifo_server: done parsing the mi tree</font></div>
<div><font face="arial">DEBUG:: 0</font></div>
<div><font face="arial">vma / # </font></div>
</div>
</div>
<div><font face="arial"><br>
</font></div>
<div><font face="arial"><br>
</font></div>
</font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>