I’ve had to restore from a backup and since then my system hasn’t been ‘right’.
It’s hard to put my finger on it, but my local extensions are occasionally going unreachable - which wasn’t happening before - and calls out and in are subject to quite long delays.
"Exceptionally long voice queue length queuing" appears in my logs as does
“WARNING[9787][C-0000000b] res_musiconhold.c: Music on Hold class 'transfer' not found in memory. Verify your configuration.”
Looking at another test call where I’m trying to call out over an IAX trunk, the delay seems to be where an AGI script is called. However I know that in my former system, this same script didn’t result in a ten second delay…
10364[2021-01-19 22:26:21] VERBOSE[13495][C-00000002] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:2] AGI("PJSIP/4002-00000001", "lgaetz-cmadd.php,24") in new stack
10365[2021-01-19 22:26:21] VERBOSE[13495][C-00000002] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/lgaetz-cmadd.php
10366[2021-01-19 22:26:31] VERBOSE[13495][C-00000002] res_agi.c: lgaetz-cmadd.php,24: 24 already exists in Contact Mgr group whitelist, exiting
10367[2021-01-19 22:26:31] VERBOSE[13495][C-00000002] res_agi.c: <PJSIP/4002-00000001>AGI Script lgaetz-cmadd.php completed, returning 0
10368[2021-01-19 22:26:31] VERBOSE[13495][C-00000002] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:3] MacroExit("PJSIP/4002-00000001", "") in new stack