[OpenSIPS-Users] how can we replace kamailio hash-table in opensips ?

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Oct 23 08:55:12 EDT 2018


Actually a most appropriate replacement (DB independent) is the cacheDB 
support with the localcache backend:

loadmodule "cachedb_local.so"
modparam("cachedb_local", "cache_collections", 
"my_collection=8;your_collection=16")
modparam("cachedb_local", "cachedb_url", "local:my_hash:///my_collection")

And use any of the cache_xxx related functions ( 
http://www.opensips.org/Documentation/Script-CoreFunctions-2-4#toc4 ) as:

cache_xxxxxx("local:my_hash", ...... );

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
   http://opensips.org/training/OpenSIPS_Bootcamp_2018/

On 10/23/2018 03:29 PM, Nick Altmann wrote:
> It's https://opensips.org/html/docs/modules/2.4.x/sql_cacher.html in 
> opensips.
>
>     Hello opensips users,
>
>     I want to migrate to opensips from kamailio. In kamailio, i am
>     using htable module, so how can we replace it in opensips ??
>
>     Thanks
>     *Diptesh Patel*
>     Jr. Software Developer
>     Ecosmob Technologies Ltd
>     Ahmedabad
>     Mo:*+919898962659*
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181023/0278e8d7/attachment-0001.html>


More information about the Users mailing list