I have a simple CPL for a user "200" that just should lookup for the contact in the "location" table:
<cpl> <incoming> <lookup source="registration"> <success> <proxy /> </success> </lookup> </incoming> </cpl>
In the script I do: cpl_run_script("incoming","FORCE_STATEFUL"); and I get an error:
ERROR:core:set_dst_uri: not enough pkg memory ERROR:cpl_c:cpl_proxy_to_loc_set: do_action failed ERROR:cpl_c:cpl_run_script: runtime error
and the script continues but with the URI changed.
It's strange: it's obvious that CPL does a DB query to "location" table asking for 200@domain (I've monitorized it in mysql logs) but after that it shows the errors above and the OpenSer script continues (with the URI set to the contact URI).
Why can it occur? maybe it's a bug?
Thanks.