Not sure if anyone else have a problem with this but I did find a work around if anyone is interested.
I’ve done some research and it appears each queue member need their own endpoint to provide a state when answering queues accordingly which I needed to reload res_pjsip.so during runtime.
I thought I found a quick solution by running the command pjsip qualify (endpoint added) but it only ran once then it wouldn’t work again unless I change the endpoints “aor contact” in pjsip.conf
What I notice is pjsip doesn’t want to update information it saved already in its cache then I learn another technique which is very cumbersome.
I removed all my endpoints except the template,
then run command “pjsip reload res_pjsip.so” which force asterisk to re-cache all new information.
then re-add the endpoints plus the new endpoint I wanted
then run command “pjsip reload res_pjsip.so” again
then asterisk will try to reach all endpoint again.
I got my endpoint status from Unavailable to Not in Use which is needed for queues to work properly.
While the endpoint are in unavailable, they wouldnt answer clients in queues
I also set AOR to qualify_frequency=1
Documentation stated qualify_frequency is interval between attempt to reach endpoint but it only tries once if it succeed
All my queues members connected via cell phone
I could have statically add all the endpoints I needed for queues to work but you need to restart asterisk to make all queue members work.
Currently I have an interface which can add queue members dynamically so I desperately needed a way to add members dynamically without restart asterisk
pjsip list endpoints
queue show support
pjsip reload res_pjsip.so
pjsip qualify (endpoint added)