[OpenSIPS-Devel] how to share the dialog data with different modules
Liviu Chircu
liviu at opensips.org
Tue Mar 4 11:34:51 CET 2014
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 use the /$dlg_val(key)/
read/write pseudovariable.
Best regards,
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 03/04/2014 04:30 AM, jiangzaiweig wrote:
> 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 for about 2000byte. What can i do? Can the pseudo
> variable store such big data ?
>
> Thanks,
> jzw.
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140304/3f0287f3/attachment.htm>
More information about the Devel
mailing list