hi Team I am having a strange issue.
I have an incoming number setup like this: Number → Timecondition-> IVR → Queues
I have 4 queues in order. All of the calls are recorded but on the first option queue I am having strange issue.
There is missing in recordings. sometimes calls get recorded but sometimes they are not. look in the picture below:
Other queues are on the same number working fine and recording the calls fine.
Every queue has the same setting but this is strange. If I check on the Logs /var/log/asterisk/full I can see it is creating the file with proper
17:50:26(292):[2020-08-26 17:45:32] VERBOSE[2037][C-000087e7] netsock2.c: == Using SIP RTP TOS bits 184
17:50:26(293):[2020-08-26 17:45:32] VERBOSE[2037][C-000087e7] netsock2.c: == Using SIP RTP CoS mark 5
17:50:26(294):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [-TO--DID-----298@from-pstn-e164-us:1] Set("SIP/Carrier-0000e4c3", "CALLERID(number)=--FROM-----279") in new stack
17:50:26(295):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [-TO--DID-----298@from-pstn-e164-us:2] Goto("SIP/Carrier-0000e4c3", "from-pstn,-TO--DID-----298,1") in new stack
17:50:26(296):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Goto (from-pstn,-TO--DID-----298,1)
17:50:26(296):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [-TO--DID-----298@from-pstn:1] Set("SIP/Carrier-0000e4c3", "__FROM_DID=-TO--DID-----298") in new stack
17:50:26(297):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [-TO--DID-----298@from-pstn:2] Gosub("SIP/Carrier-0000e4c3", "sub-record-check,s,1(force,-TO--DID-----298,always)") in new stack
17:50:26(298):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:1] Set("SIP/Carrier-0000e4c3", "REC_POLICY_MODE_SAVE=") in new stack
17:50:26(299):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:2] GotoIf("SIP/Carrier-0000e4c3", "1?check") in new stack
17:50:26(300):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Goto (sub-record-check,s,7)
17:50:26(301):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:7] Set("SIP/Carrier-0000e4c3", "__MON_FMT=wav") in new stack
17:50:26(302):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:8] GotoIf("SIP/Carrier-0000e4c3", "1?next") in new stack
17:50:26(302):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Goto (sub-record-check,s,11)
17:50:26(303):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:11] ExecIf("SIP/Carrier-0000e4c3", "0?Return()") in new stack
17:50:26(304):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:12] ExecIf("SIP/Carrier-0000e4c3", "1?Set(__REC_POLICY_MODE=always)") in new stack
17:50:26(304):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:13] GotoIf("SIP/Carrier-0000e4c3", "0?force,1") in new stack
17:50:26(305):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:14] Set("SIP/Carrier-0000e4c3", "__REC_STATUS=INITIALIZED") in new stack
17:50:26(307):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:15] Set("SIP/Carrier-0000e4c3", "NOW=1598478332") in new stack
17:50:26(310):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:16] Set("SIP/Carrier-0000e4c3", "__DAY=26") in new stack
17:50:26(313):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:17] Set("SIP/Carrier-0000e4c3", "__MONTH=08") in new stack
17:50:26(316):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:18] Set("SIP/Carrier-0000e4c3", "__YEAR=2020") in new stack
17:50:26(317):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:19] Set("SIP/Carrier-0000e4c3", "__TIMESTR=20200826-174532") in new stack
17:50:26(317):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:20] Set("SIP/Carrier-0000e4c3", "__FROMEXTEN=unknown") in new stack
17:50:26(318):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:21] Set("SIP/Carrier-0000e4c3", "__CALLFILENAME=force--TO--DID-----298-unknown-20200826-174532-1598478332.191183") in new stack
17:50:26(318):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@sub-record-check:22] Goto("SIP/Carrier-0000e4c3", "force,1") in new stack
17:50:26(319):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Goto (sub-record-check,force,1)
17:50:26(319):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [force@sub-record-check:1] GosubIf("SIP/Carrier-0000e4c3", "1?record,1(force,always,unknown)") in new stack
17:50:26(320):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [record@sub-record-check:1] Set("SIP/Carrier-0000e4c3", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
17:50:26(321):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [record@sub-record-check:2] MixMonitor("SIP/Carrier-0000e4c3", "2020/08/26/force--TO--DID-----298-unknown-20200826-174532-1598478332.191183.wav,,") in new stack
17:50:26(321):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [record@sub-record-check:3] Set("SIP/Carrier-0000e4c3", "__REC_STATUS=RECORDING") in new stack
17:50:26(322):[2020-08-26 17:45:32] VERBOSE[12512][C-000087e7] app_mixmonitor.c: == Begin MixMonitor Recording SIP/Carrier-0000e4c3
17:50:26(322):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [record@sub-record-check:4] Set("SIP/Carrier-0000e4c3", "CDR(recordingfile)=force--TO--DID-----298-unknown-20200826-174532-1598478332.191183.wav") in new stack
17:50:26(323):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [record@sub-record-check:5] Return("SIP/Carrier-0000e4c3", "") in new stack
17:50:26(323):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [force@sub-record-check:2] Return("SIP/Carrier-0000e4c3", "") in new stack
17:50:26(323):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [-TO--DID-----298@from-pstn:3] Gosub("SIP/Carrier-0000e4c3", "app-blacklist-check,s,1()") in new stack
17:50:26(324):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@app-blacklist-check:1] GotoIf("SIP/Carrier-0000e4c3", "0?check-blocked") in new stack
17:50:26(324):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@app-blacklist-check:2] GotoIf("SIP/Carrier-0000e4c3", "0?check-blocked") in new stack
17:50:26(325):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@app-blacklist-check:3] GotoIf("SIP/Carrier-0000e4c3", "0?check-blocked:check") in new stack
17:50:26(325):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Goto (app-blacklist-check,s,5)
17:50:26(325):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@app-blacklist-check:5] GotoIf("SIP/Carrier-0000e4c3", "0?blacklisted") in new stack
17:50:26(326):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@app-blacklist-check:6] Set("SIP/Carrier-0000e4c3", "CALLED_BLACKLIST=1") in new stack
17:50:26(326):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [s@app-blacklist-check:7] Return("SIP/Carrier-0000e4c3", "") in new stack
17:50:26(327):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [-TO--DID-----298@from-pstn:4] Set("SIP/Carrier-0000e4c3", "CDR(did)=-TO--DID-----298") in new stack
17:50:26(328):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [-TO--DID-----298@from-pstn:5] ExecIf("SIP/Carrier-0000e4c3", "1 ?Set(CALLERID(name)=--FROM-----279)") in new stack
17:50:26(328):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [-TO--DID-----298@from-pstn:6] Set("SIP/Carrier-0000e4c3", "CHANNEL(musicclass)=default") in new stack
17:50:26(329):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [-TO--DID-----298@from-pstn:7] Set("SIP/Carrier-0000e4c3", "__MOHCLASS=default") in new stack
17:50:26(330):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [-TO--DID-----298@from-pstn:8] Set("SIP/Carrier-0000e4c3", "__CALLINGPRES_SV=allowed_not_screened") in new stack
17:50:26(330):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [-TO--DID-----298@from-pstn:9] Set("SIP/Carrier-0000e4c3", "CALLERPRES()=allowed_not_screened") in new stack
17:50:26(331):[2020-08-26 17:45:32] VERBOSE[12511][C-000087e7] pbx.c: -- Executing [-TO--DID-----298@from-pstn:10] Goto("SIP/Carrier-0000e4c3", "timeconditions,3,1") in new stack