[sr-dev] [kamailio/kamailio] Problem with htable (#811)

AlainDubois78 notifications at github.com
Thu Oct 6 17:17:22 CEST 2016


Actually it is the underscore. When I look at the logs I think we can see a problem:

- When using a htable name without underscore myTable1:
_modparam("htable","htable","myTable1=>size=1024;autoexpire=86400");_
and _event_route[htable:expired:myTable1] { ...}_
I get the following logs at starting time:
**Oct  6 13:48:16 torso1 kamailio-0[14834]: DEBUG: htable [ht_api.c:360]: ht_init_tables(): initializing htable [myTable1] with nr. of slots: 1024
Oct  6 13:48:16 torso1 kamailio-0[14834]: DEBUG: htable [ht_api.c:375]: ht_init_tables(): event route for expired items in [myTable1] exists**

- When using a hatable with an underscore my_table_1:
_modparam("htable","htable","my_table_1=>size=1024;autoexpire=86400");_
and _event_route[htable:expired:] { ...}_
**Oct  6 13:51:20 torso1 kamailio-0[16020]: DEBUG: <core> [route.c:129]: route_add(): mapping routing block (0xb01140)[htable:expired:my_table_1] to 15
Oct  6 13:51:20 torso1 kamailio-0[16020]: DEBUG: htable [ht_api.c:372]: ht_init_tables(): event route for expired items in [my_table_1] does not exist**

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/811#issuecomment-251994411
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161006/146af022/attachment.html>


More information about the sr-dev mailing list