Call Direction from Recording File Name?

Status
Not open for further replies.

jwhilde

Trial User
Joined
Aug 9, 2022
Messages
3
Reaction score
0
From the 3CX notes, we know that voice recording file names have the following format.

DisplayName_Ext_DialedNum_YearMonthDayHourMinuteSecond.wav, where

DisplayName - caller name
Ext- caller Extension
DialedNum - called number
YearMonthDayHourMinuteSecond - time of the call

We have noticed that the position of the Ext in the file name changes for incoming and outgoing call recordings. For outgoing calls (calls made from the 3CX system to an external number) the format shown above seems to be used where the extension number comes before the dialled number and this seems to be consistent for all outgoing calls.

However, for most incoming calls the format is:

DisplayName_CallingNum_Ext_YearMonthDayHourMinuteSecond.wav

In these cases, the extension number comes after the calling number.

However for some other incoming calls, we are seeing:

DisplayName_Ext_CallingNum_YearMonthDayHourMinuteSecond.wav

So in this case the extension number comes before the calling number.

Our questions are:

Why is there sometimes for some incoming calls a reversal of where we would expect the the Ext to be located in the file name? It would seem logical if for all incoming calls the Ext comes after the calling number but this does not seem to be the case. We have seen this on both Windows and Debian systems!

We would like if it is possible to use the Ext position in the recording file name to indicate if the recording was an inbound or outbound call recording, but with the above differences, this does not seem possible or reliable.

Is there another way to identify the call recording direction from the recording file name?

If there is no reliable way to determine the direction of call recordings from the recording file names what other methods can be used.
 
You could configure 3CX to save CDR files for each call. You should be able to match the recording to the call using the date/time and Call ID number. But keep in mind that the Call ID is not unique (resets back to 1 every time you restart 3CX), so the Date/Time is important to perform the match.

Our 3CX Recording Manager tool uses our "Events" API (3CX Call Control API and filesystemwatcher service) to subscribe to real-time recording events. That event passes details about the recording which are then saved in the Recording Manager database.
 
Last edited:
Matthew thank you for that so is the variable position of the extension name in the recording file name for inbound calls something that you have seen also?
 
Sorry I meant to say the "extension number" not the "extension name".
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet