Quick question about some statically configured queue members:
I have a queue member using a custom state interface to indicate if it’s available. All was working well until I restarted Asterisk, and now that queue member is never rung, even though it’s in the queue and idle.
voip*CLI> core show hints:
2127@hints-cen: PJSIP/ATAxLA2 State:Idle Presence:not_set Watchers 6
----------------
- 12 hints registered
voip*CLI> queue show test
test has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0%, SL2:0.0% within 12s
Members:
231 (Local/112@to-queue-member from hint:2127@hints-all) with penalty 5 (ringinuse disabled) (Unavailable) has taken no calls yet
No Callers
Additionally, if I `NoOp(${DEVICE_STATE(${HINT(2127@hints-all)})}) before going to Queue(), it reports “NOT_INUSE”.
Am I missing something basic here, as to why this device is assumed “Unavailable” by the queue? I have tried reloading the queue entirely, reloading PJSIP, etc. to try to get the correct device state to register with the queue. As I mentioned, it was working when I set it up, until I restarted, so it seems like something changed at that point. I can’t remove the queue member and add it back, this being a static queue, so I’m not sure what else to try here…
The only way I have found to “fix” this is to remove the member from queues.conf, queue reload all, then uncomment the member, reload queues again, and voila, now it’s working as it should be. I’m puzzled at how this behavior got stuck with such a simple setup, and wondering what I may be doing wrong here, since this seems like too simple a setup for this to be a bug.