Good Morning Friends
I hope you are doing good and safe.
I am using FreePBX 15 . I have successfully configure trunk with third party IP PBX which is 3CX.
Inbound and outbound calls working 100% successfully between 3CX & FreePBX.
Calls originated from FreePBX to 3CX can be recorded 100% successfully
The issue that calls from 3CX to FreePBX is not recorded at all inspite of the fact that all FreePBX extensions has recording set to forced for internal ,external , inbound & outbound calls.
Call trace shows an inbound call arriving in the from-pstn context but you don’t have an inbound route dedicated for this DID. The generic catchall route does not seem to honor recording which comes as a surprise to me, that might be considered a bug, but with an easy work around, just use inbound routes with DIDs specified.
The call then goes direct to a trunk, bypassing any local extension on outbound routes, so there is no other place to enable call recording.
Hello Dicko
19777 is a short number in Egypt (external number ) . To be able to make external call , 7 is prepend to external number as our gateway is configured to identity any number start with 7 as external number and then remove 7 before forward it to PSTN.
[2021-10-22 01:27:03] VERBOSE[22077][C-00000011] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/20081-00000025", "Starting recording check against dontcare") in new stack
Looks like recording on this inbound route is set to “Don’t Care”. As before, the call bypasses local extensions and outbound routes, so there is no other place to set call recording, it must be enabled in the inbound route.
Good Morning Lorne
Thx for your note and for trying to help me solve this issue . It was set to don’t care by mistake . Now it has set to Force but same issue happened . Here is the pastebin:
The below also is the track for a call with the same issue . This call didn’t go through Inbound route as this is call from 3CX to internal extension of FreePBX
Also as i shared in my original post , Calls from FreePBX to 3CX recorded successfully . So i am sharing here the trace for a call from FreePBX to 3CX that has been recorded successfully:
Good Afternoon Lorne
I have attached snapshot from CDR reporting where the call which i sent its trace ( https://pastebin.freepbx.org/view/b5f27c55 ) and has CALL-ID “1634873715.45” is not recorded.
Good Afternoon Colleagues
The problem has been solved . Thanks for suggestions . All recorded can be viewed Reports ==> Call Event Logging . It seems that Reports ==> CDR Reports has some bugs as recorded calls from 3CX to FreePBX not showed in CDR reports.
Thanks @sholinaty for your help and very special thank for @lgaetz for helping me step by step until case solved.