Hello,<br>I just got the latest svn revision 5330.<br>I&#39;m trying to use the profile feature of the dialog module to limit the number of simultaneous calls for a given subscriber.<br>I got these errors:<br><br>Feb 19 01:28:37 ipx029 /usr/local/sbin/opensips[23050]: ERROR:dialog:set_dlg_profile: dialog was not yet created - script error<br>


Feb 19 01:28:37 ipx029 /usr/local/sbin/opensips[23050]: ERROR:dialog:w_set_dlg_profile: failed to set profile<br><br><br>Significant portions of the cfg are these:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setflag(4); #set dialog<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; get_profile_size(&quot;caller&quot;, &quot;$fu&quot;, &quot;$var(SIZE)&quot;);<br>


&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if( $var(SIZE) &gt;= $avp(i:10) ){<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply(&quot;503&quot;, &quot;Simultaneous calls limit reached&quot;);<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; consume_credentials();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set_dlg_profile(&quot;caller&quot;,&quot;$fu&quot;);<br><br><br>This may be a bug as the script was originally written for kamailio 1.4 and works without problems there.<br>
(I&#39;m aware the dialog module is diverging between the projects, but reading the docs I could not spot a significant change in this particular feature).<br><br>