Re: [OpenSIPS-Devel] how to share the dialog data with different modules

2014-03-04 Thread Liviu Chircu
Hello, I would suggest attaching these values to the current dialog, as *dialog values*. From a module developer's perspective, you should use the /store_dlg_value /and /fetch_dlg_value/ from /struct dlg_binds /(modules/dialog/dlg_load.h)/. /From a script writer's perspective, you should

[OpenSIPS-Devel] how to share the dialog data with different modules

2014-03-03 Thread jiangzaiweig
hello i have a problem with my project, i want share the dialog data with differenr modules, for example if a message comes, i want save some data ( which is produced in a module) for the next message (which will handled in a different module) in the same dialog, and the data may be a little big

Re: [OpenSIPS-Devel] how to share the dialog data with different modules

2014-03-03 Thread Nick Altmann
You may use nosql storage, like redis for it. http://www.opensips.org/Documentation/Tutorials-KeyValueInterface http://www.opensips.org/html/docs/modules/1.10.x/cachedb_redis.html -- Nick 2014-03-04 6:30 GMT+04:00 jiangzaiweig jiangzaiw...@gmail.com: hello i have a problem with my project,