Re: [SR-Users] mq_fetch and while loops

2011-06-28 Thread Watkins, Bradley
er.org [mailto:sr-users- >boun...@lists.sip-router.org] On Behalf Of Watkins, Bradley >Sent: Tuesday, June 28, 2011 5:54 PM >To: sr-users@lists.sip-router.org >Subject: Re: [SR-Users] mq_fetch and while loops you received it in error please notify us immediately and >then destroy it. &g

Re: [SR-Users] mq_fetch and while loops

2011-06-28 Thread Watkins, Bradley
us immediately and then destroy it. >From: sr-users-boun...@lists.sip-router.org [mailto:sr-users- >boun...@lists.sip-router.org] On Behalf Of Alex Balashov >Sent: Tuesday, June 28, 2011 5:42 PM >To: sr-users@lists.sip-router.org >Subject: Re: [SR-Users] mq_fetch and while loops > >

Re: [SR-Users] mq_fetch and while loops

2011-06-28 Thread Alex Balashov
On 06/28/2011 05:36 PM, Watkins, Bradley wrote: 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 i

[SR-Users] mq_fetch and while loops

2011-06-28 Thread Watkins, Bradley
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: ER