I am using dynamic queue members managed like the example in queues-with-callback-members.txt. Whenever asterisk is restarted the queue members are still there when I do a ‘queue show’ in the CLI, but they are marked as Invalid and no calls will go to them from the queue (normally dialed calls work fine).
This happens with either a restart gracefully or restart now, and after going back into the CLI if I do a ‘reload’ the member is marked as not in use and is rung normally.
I have persistentqueuemembers = yes . The rest of the queue.conf:
[general]
persistentmembers = yes
autofill = yes
[supportq]
strategy = roundrobin
context = supportqout
timeout = 20
retry = 3
maxlen = 0
announce-frequency = 90
announce-holdtime = no
joinempty = yes
The only thing I have set in agents.conf is persistentmembers = yes. Is this file really needed with dynamic members? It doesn’t look like Add/Re moveQueueMember uses it at all.
The members are added with
and removed similarly.
The staff-queue context members are in:
context staff-queue {
includes { parkedcalls; }
_14X => Dial(SIP/${EXTEN},20,t);
_13X => Dial(SIP/${EXTEN},20,t);
_102 => Dial(SIP/132,20,t);
_103 => Dial(SIP/133,20,t);
_104 => Dial(SIP/134,20,t);
_105 => Dial(SIP/135,20,t);
_1XX => Dial(SIP/${EXTEN},20,t);
i => {
Playback(NetPBX/invalid-extension);
Hangup();
}
};
the reason I’m doing it that way is that the phones are 7960’s and those who are regularly logged into the queue have a line just for that (the 13X extensions). 14X is used for remote soft-phone users, and the 10x’s are the “normal” phone extensions.