Hi Users!<br><br>Have a problem with CPL scripts and postgres.<br>I&#39;ve tried to make the simplest possible script for debugging which resulted in the following in the &#39;cpl_xml&#39; column.<br><br>&#39;&lt;cpl&gt;\012&nbsp;
&lt;incoming&gt;\012&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;reject status=&quot;reject&quot; reason=&quot;I
reject anonymous calls&quot;/&gt;\012
&lt;/incoming&gt;\012&lt;/cpl&gt;\012\012&#39;<br>
<br>Loading it with openserctl that gets translated to this in the cpl_bin field.<br><br>&nbsp;&#39;\001\001\000\000\000\006\002\001\000\000\000\006\026\000\002\000\000\000\002[\000\001\000\031I reject anonymous calls\000\000&#39;<br>

<br>The reason I figure that postgres could have something to do with
this is that I&#39;ve got this working before(before being quite a while
ago though. )&nbsp; with MySQL.<br><br>Turning on debugging gives this information.<br>
<br>Mar 31 18:13:18 fuj /sbin/openser[601]: cpl-c B4script<br>Mar 31 18:13:18 fuj /sbin/openser[601]: DBG:cpl-c:get_dest_user: trying to get user from new_uri<br>Mar 31 18:13:18 fuj /sbin/openser[601]: DBG:cpl-c:get_dest_user: trying to get user from R_uri<br>

Mar 31 18:13:18 fuj /sbin/openser[601]: DBG:cpl-c:get_user_script: fetching script for user &lt;olak&gt;<br>Mar 31 18:13:18 fuj /sbin/openser[601]: DBG:cpl-c:get_user_script: we got the script len=0<br>Mar 31 18:13:18 fuj /sbin/openser[601]: cpl-c After Script<br>

<br>OpenSER says that the length of the script is 0 whatever script I load?.<br>I
changed that in the CPL-C module so we get the right length of the
compiled script but then it falls over on the sanity check for NODE_CPL
= 001 , and if you skip that check it starts complaining about unknown
nodes ( in my case 92 ) ...<br>
<br>So my question is if anyone uses postgres and CPL, if so can you give me some pointers?<br>Would
be good to know if this happens to be a bug or an untested area in that
case I have no problem fixing the problem just don&#39;t want to burn alot
of time on something already fixed or me doing something stupid with
configuration.<br>
<br>Regards<br><font color="#888888">/Ola Karlsson</font>