Queues are flagged invalid

I’ve begun to move my working asterisksetup to another server. This setup works on a Asterisk 1.4.5 system, but doesn’t on my fresh installed debian.

debian*CLI> show queues

stenungsund has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s Members: Local/0757709766@rs_localchannel_queue (Invalid) has taken no calls yet No Callers
Why is it flagged as invalid? On my other system it reads "(not in use)"
Everything that is added in queues.conf (se below) seems to be flagged as invalid. Even the demoserver at Digium: IAX2/guest@misery.digium.com/s@default

queues.conf

[stenungsund]
member => Local/0303123456@rs_localchannel_queue
periodic-announce = rs_queue_periodicannounce

announce-frequency = 0
periodic-announce-frequency=30
announce-holdtime = no

After executing Queue(stenungsund)

    -- Executing [4@default:1] Queue("SIP/001-081ce040", "stenungsund") in new stack
[Jul  4 11:15:28] WARNING[23435]: app_queue.c:3549 queue_exec: Unable to join queue 'stenungsund'
  == Auto fallthrough, channel 'SIP/001-081ce040' status is 'UNKNOWN'

I need to resolve this… The system is ready to deply on my production server but these errors makes me crazy.

Greetings and many thanks
/Johan

The solution was to add

joinempty = yes

in the section in queues.conf, because Asterisk then tried even the “invalid” channel that wasn’t invalid in reality.

This sounds like a hack to me, hopefully it will help someone with the same problem.

Greetings!