When using a stock install of FreePBX the included modules.conf for /etc/asterisk needs additional parameters.
When using queues with static agents the cli output should look something like this:
pabx*CLI> queue show
9325 has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s
Members:
Local/7108@from-queue/n (Not in use) has taken no calls yet
Local/2309@from-queue/n (Not in use) has taken no calls yet
Local/2447@from-queue/n (Not in use) has taken no calls yet
Local/2481@from-queue/n (Not in use) has taken no calls yet
Local/2313@from-queue/n (Not in use) has taken no calls yet
Local/2320@from-queue/n (Not in use) has taken no calls yet
Local/7198@from-queue/n (Not in use) has taken no calls yet
No Callers
If Asterisk ir shutdown and restarted it may look like this:
pabx*CLI> queue show
9325 has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s
Members:
Local/7108@from-queue/n (Invalid) has taken no calls yet
Local/2309@from-queue/n (Invalid) has taken no calls yet
Local/2447@from-queue/n (Invalid) has taken no calls yet
Local/2481@from-queue/n (Invalid) has taken no calls yet
Local/2313@from-queue/n (Invalid) has taken no calls yet
Local/2320@from-queue/n (Invalid) has taken no calls yet
Local/7198@from-queue/n (Invalid) has taken no calls yet
No Callers
Solution is to add two preload statements:
preload => pbx_config.so
preload => chan_local.so
This is from the queues.conf.sample:
; It is important to ensure that channel drivers used for members are loaded
; before app_queue.so itself or they may be marked invalid until reload. This
; can be accomplished by explicitly listing them in modules.conf before
; app_queue.so. Additionally, if you use Local channels as queue members, you
; must also preload pbx_config.so and chan_local.so (or pbx_ael.so, pbx_lua.so,
; or pbx_realtime.so, depending on how your dialplan is configured).
More information: https://issues.asterisk.org/view.php?id=14179