Re: [SR-Users] how to use mqueue.

2014-11-05 Thread Daniel-Constantin Mierla
Hello, On 03/11/14 13:58, 张顺通 wrote: > whle (mq_fetch("QUEUE")) { >if (yes) { > do something > } 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? > it should work to add back to the que

[SR-Users] how to use mqueue.

2014-11-03 Thread 张顺通
whle (mq_fetch("QUEUE")) { if (yes) { do something } 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? ___ SIP Express Router (SER) and Kamailio (OpenSER) -