I’m facing a issue where call recording of a extensions fails at random.
Failed recordings will show in below format in CDR records. (missing .wav and timestamp)
external-10032-11######–1679976595.6067173.
And this file is not available /var/spool/asterisk
CLI output
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:6] GotoIf(“Local/[email protected];2”, “1?callee”) in new stack
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx_builtins.c: Goto (sub-record-check,exten,11)
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:5] Set(“Local/[email protected];2”, “CHANEXTEN=10031”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:6] Set(“Local/[email protected];2”, “CALLERID(number)=771134367”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:7] Set(“Local/[email protected];2”, “AMPUSER=771134367”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:8] Set(“Local/[email protected];2”, “[email protected];2”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:9] Set(“Local/[email protected];2”, “[email protected]”) in new stack
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:11] Gosub(“Local/[email protected];2”, “recordcheck,1(force,external,10005)”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:10] Set(“Local/[email protected];2”, “HOTDESKCALL=0”) in new stack
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:1] NoOp(“Local/[email protected];2”, “Starting recording check against force”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:11] ExecIf(“Local/[email protected];2”, “0?Set(HOTDESKCALL=1)”) in new stack
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:2] Goto(“Local/[email protected];2”, “force”) in new stack
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx_builtins.c: Goto (sub-record-check,recordcheck,5)
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:5] Set(“Local/[email protected];2”, “__REC_POLICY_MODE=FORCE”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:12] ExecIf(“Local/[email protected];2”, “0?Set(CALLERID(name)=)”) in new stack
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:6] GotoIf(“Local/[email protected];2”, “1?startrec”) in new stack
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx_builtins.c: Goto (sub-record-check,recordcheck,16)
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:16] NoOp(“Local/[email protected];2”, “Starting recording: external, 10005”) in new stack
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:17] Set(“Local/[email protected];2”, “__CALLFILENAME=external-10005-112768916–1679930915.5496188”) in new stack
[2023-03-27 20:58:36] VERBOSE[9197][C-00003f8b] app_macro.c: Spawn extension (macro-exten-vm, s-BUSY, 3) exited non-zero on ‘Local/[email protected];2’ in macro ‘exten-vm’
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:13] GotoIf(“Local/[email protected];2”, “1?report”) in new stack
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:18] MixMonitor(“Local/[email protected];2”, “///external-10005-112768916–1679930915.5496188.,abi(),”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx_builtins.c: Goto (macro-user-callerid,s,27)
[2023-03-27 20:58:36] VERBOSE[9215][C-00003f72] app_mixmonitor.c: Begin MixMonitor Recording Local/[email protected];2
**[2023-03-27 20:58:36] WARNING[9215][C-00003f72] file.c: No such format ‘’**
**[2023-03-27 20:58:36] ERROR[9215][C-00003f72] app_mixmonitor.c: Cannot open ///external-10005-112768916–1679930915.5496188.**
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:19] Set(“Local/[email protected];2”, “__MIXMON_ID=”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:27] NoOp(“Local/[email protected];2”, “Macro Depth is 2”) in new stack
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:20] Set(“Local/[email protected];2”, “__RECORD_ID=Local/[email protected];2”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:28] GotoIf(“Local/[email protected];2”, “1?report2:macroerror”) in new stack
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:21] Set(“Local/[email protected];2”, “__REC_STATUS=RECORDING”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx_builtins.c: Goto (macro-user-callerid,s,29)
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:29] GotoIf(“Local/[email protected];2”, “0?continue”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:30] Set(“Local/[email protected];2”, “__TTL=63”) in new stack
[2023-03-27 20:58:36] VERBOSE[9203][C-00003f72] pbx.c: Executing [[email protected]:22] Set(“Local/[email protected];2”, “CDR(recordingfile)=external-10005-112768916–1679930915.5496188.”) in new stack
[2023-03-27 20:58:36] VERBOSE[9209][C-00003f62] pbx.c: Executing [[email protected]:31] GotoIf(“Local/[email protected];2”, “1?continue”) in new stack
Setup
Asterisk 16.30.0
FreePBX 16.0.40
100 extensions with 40 queues
vm with 32 core (@2.1ghz) 32GB ram with SSD storage
Any help very much appreciated.