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.


Here is what I am doing......








vma / # opensipsctl address show
[1, 1, '192.168.2.5', 32, 5068, 'udp', '', 'James']
vma / # opensipsctl address fifo address_dump
Sep 18 16:51:51 [1738] DBG:mi_fifo:mi_fifo_server: entered consume
Sep 18 16:51:51 [1738] DBG:mi_fifo:mi_fifo_server: **** done consume
Sep 18 16:51:51 [1738] DBG:mi_fifo:mi_fifo_server: done parsing the mi tree
  97 <192.168.2.5,1, 5068, 1, NULL, James>
vma / # opensipsctl address add 1 192.168.2.100 32 5060 udp Me
Updated address, rows affected: 1
INFO: execute '/test/opensips/bin/opensipsctl address reload' to synchronize 
cache and database
vma / # opensipsctl address show
[1, 1, '192.168.2.5', 32, 5068, 'udp', '', 'James']
[2, 1, '192.168.2.100', 32, 5060, 'udp', '', 'Me']
vma / # opensipsctl fifo address_dump
Sep 18 16:52:28 [1738] DBG:mi_fifo:mi_fifo_server: entered consume
Sep 18 16:52:28 [1738] DBG:mi_fifo:mi_fifo_server: **** done consume
Sep 18 16:52:28 [1738] DBG:mi_fifo:mi_fifo_server: done parsing the mi tree
  97 <192.168.2.5,1, 5068, 1, NULL, James>
vma / # opensipsctl address show
[1, 1, '192.168.2.5', 32, 5068, 'udp', '', 'James']
[2, 1, '192.168.2.100', 32, 5060, 'udp', '', 'Me']
vma / # opensipsctl fifo address_reload
Sep 18 16:52:45 [1738] DBG:mi_fifo:mi_fifo_server: entered consume
Sep 18 16:52:45 [1738] DBG:mi_fifo:mi_fifo_server: **** done consume
Sep 18 16:52:45 [1738] DBG:mi_fifo:mi_fifo_server: done parsing the mi tree
Sep 18 16:52:45 [1738] DBG:db_text:dbt_db_get_table: cache or mtime succeeded 
for [address]
Sep 18 16:52:45 [1738] DBG:db_text:dbt_query: new res with 8 cols
Sep 18 16:52:45 [1738] DBG:db_text:dbt_result_new: new res with 8 cols
Sep 18 16:52:45 [1738] DBG:core:db_new_result: allocate 48 bytes for result set 
at 0x7f39d69735d0
Sep 18 16:52:45 [1738] DBG:core:db_allocate_columns: allocate 224 bytes for 
result columns at 0x7f39d6974228
Sep 18 16:52:45 [1738] DBG:core:db_allocate_rows: allocate 272 bytes for result 
rows and values at 0x7f39d6974320
Sep 18 16:52:45 [1738] DBG:permissions:reload_address_table: number of rows in 
address table: 1
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
Sep 18 16:52:45 [1738] DBG:core:db_free_columns: freeing result columns at 
0x7f39d6974228
Sep 18 16:52:45 [1738] DBG:core:db_free_rows: freeing 1 rows
Sep 18 16:52:45 [1738] DBG:core:db_free_row: freeing row values at 
0x7f39d6974330
Sep 18 16:52:45 [1738] DBG:core:db_free_rows: freeing rows at 0x7f39d6974320
Sep 18 16:52:45 [1738] DBG:core:db_free_result: freeing result set at 
0x7f39d69735d0
Sep 18 16:52:45 [1738] DBG:permissions:reload_address_table: address table 
reloaded successfully.
vma / # opensipsctl fifo address_dump
Sep 18 16:52:53 [1738] DBG:mi_fifo:mi_fifo_server: entered consume
Sep 18 16:52:53 [1738] DBG:mi_fifo:mi_fifo_server: **** done consume
Sep 18 16:52:53 [1738] DBG:mi_fifo:mi_fifo_server: done parsing the mi tree
  97 <192.168.2.5,1, 5068, 1, NULL, James>
vma / # opensipsctl address reloadshow
[1, 1, '192.168.2.5', 32, 5068, 'udp', '', 'James']
[2, 1, '192.168.2.100', 32, 5060, 'udp', '', 'Me']
vma / # opensipsctl fifo debug 0
Sep 18 16:53:08 [1738] DBG:mi_fifo:mi_parse_tree: adding node <> ; val <0>
Sep 18 16:53:08 [1738] DBG:mi_fifo:mi_parse_node: end of input tree
Sep 18 16:53:08 [1738] DBG:mi_fifo:mi_fifo_server: done parsing the mi tree
DEBUG:: 0
vma / # 





_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to