<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
I would suggest attaching these values to the current dialog, as <b>dialog
values</b>.<br>
<br>
From a module developer's perspective, you should use the <i>store_dlg_value
</i>and <i>fetch_dlg_value</i> from <i>struct dlg_binds </i>(modules/dialog/dlg_load.h)<i>.<br>
<br>
</i>From a script writer's perspective, you should use the <i>$dlg_val(key)</i>
read/write pseudovariable.<br>
<br>
Best regards,<br>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 03/04/2014 04:30 AM, jiangzaiweig wrote:<br>
</div>
<blockquote
cite="mid:CABSDM+oTb6Zd0h23NuiYS6t-nCGJ0XKxTiN9aG4iUcAKxtFCOw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>hello <br>
</div>
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 ?<br>
<br>
Thanks,<br>
</div>
jzw.<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
</blockquote>
<br>
</body>
</html>