Hi, this code in a route block:
$avp(i:999) = "hola";
xlog("L_INFO", "avp(i:999) before async_sleep(5): $avp(i:999)\n");
async_sleep("5");
xlog("L_INFO", "avp(i:999) after async_sleep(5): $avp(i:999)\n");
produces:
INFO: <script>: avp(i:999) before async_sleep(5): hola
ERROR: async [async_mod.c:150]: cannot be executed as last action in
a route block
INFO: <script>: avp(i:999) after async_sleep(5): hola
What is wrong in the above code?
Thanks a lot.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>