<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hello,<br>
<br>
As the log says, the problem is you are using a dialog related
function (set_dlg_profile) before actually creating the dialog.
So be sure you do create_dialog() before using any dialog based
functionality (profile, flags, vars, etc)<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 09.02.2014 12:40, Dragomir Haralambiev wrote:<br>
</div>
<blockquote
cite="mid:CADzurOKhyQs5AKtSkMm9MRH2y8Ei4bMf2sN5NBK+a_qbqMYNhw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>When try to use set_dlg_profile at OpanSips - 1.9 I receive
follow errors:</div>
<div><br>
</div>
<div>ERROR:dialog:set_dlg_profile: dialog was not yet created -
script error</div>
<div>ERROR:dialog:w_set_dlg_profile: failed to set profile</div>
<div><br>
</div>
<div><br>
</div>
<div>Here is part of my Opensips script:</div>
<div><br>
</div>
<div>....</div>
<div>modparam("dialog", "profiles_with_value", "caller")</div>
<div>.....</div>
<div><br>
</div>
<div> if ( is_method("INVITE") ) {</div>
<div>.....</div>
<div> set_dlg_profile("caller","$fU");</div>
<div><br>
</div>
<div>}</div>
<div><br>
</div>
<div><br>
</div>
<div>
Where is problem?</div>
<div><br>
</div>
<div>Regards,</div>
<div>PlayMen</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>