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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel