Earlier I didn’t mention members in dynamic queues, I only added persistent members to static queues (member=PJSIP/5555). And the state of pjsip persisten member was correct
Should I add all dynamic members to agents.conf and simultaneously to queues.conf?
I use local channelk and AgentRequest in context agents.
So If I want to use dynamic members I’d mention all potential members also in queues.conf?
Besides I’d like to use local channels also as persistent member (without need to login) for different additional actions in my dial plan. If I add persistent member:
I can see that the state is idle:
localhost*CLI> core show hints -= Registered Asterisk Dial Plan Hints =- .... 4444@phones : PJSIP/4444 State:Idle Presence:not_set Watchers 0
In queue the state of 4444 is correct only if I use for locat channel the same context as for PJSIP endpoint in pjsip_wizard (Local/4444@phones):
localhost*CLI> queue show Managers Managers 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 60s Members: Anna Test (Local/4444@phones/n from hint:4444@phones) (ringinuse disabled) (Not In use) has taken no calls yet .... No Callers
Should I use hint: for persistent members states and Agent: for dynamic members states?