I'm having an issue trying to use the construct show in the module documentation.
The docs show:
while(mq_fetch("myq"))
{
xlog("$mqk(myq) - $mqv(myq)\n");
}
And I'm doing essentially the same thing (differently named mqueue, but otherwise
identical), but invariably I get this in the logs:
ERROR: <core> [action.c:1388]: ERROR: runaway while (559, 28): more then 100 loops
Am I doing something wrong, or is mq_fetch not returning appropriate values for successful
versus failed fetches?
This is on Kamailio 3.1.4, FWIW.
Regards,
- Brad
The contents of this e-mail are intended for the named addressee only. It contains
information that may be confidential. Unless you are the named addressee or an authorized
designee, you may not copy or use it, or disclose it to anyone else. If you received it in
error please notify us immediately and then destroy it.