it should work to add back to the queue from same loop, but then practically you get infinite loop until the queue gets empty.do somethingwhle (mq_fetch("QUEUE")) {if (yes) {
} else {
mq_add("QUEUE");
add back to queue.
}
}
can mq_add use here? I tried it, it do not work.
and How to determine the end?
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Nov 24-27, Berlin - http://www.asipto.com