There's a regression in asterisk-11.22.0, which has been patched in upstream, but since there wasn't a new release it remains active in ports version. This patchs needs needs to be commited in ports.
Please see the provided patch:
Thanks for the report. Please allow me a little time to test the patch, I'll try to commit this ASAP.
Thanks again for reporting this issue!
A commit references this bug:
Date: Tue May 31 09:07:20 UTC 2016
New revision: 416187
Import upstream patch to fix regression in app_queue module.
Submitted by: emz at norma.perm.ru
Obtained from: https://github.com/asterisk/asterisk/commit/32b4320d620ffff5c55f111fc22f22fdb07f8c60