A
A
Andrey Maslov2018-01-29 12:29:11
linux
Andrey Maslov, 2018-01-29 12:29:11

How to change Elastix/FreePBX call recording file name format?

Good afternoon,
Elastix and FreePBX have the ability to record user conversations and form wav files like ${ARG1}-${ARG2}-${FROMEXTEN}-${TIMESTR}-${UNIQUEID}.wav
Where ${ARG1} is either a call outside "out", or a call between extensions "exten", or a call in queue "q"
${ARG2} - the number where the call is
made ${FROMEXTEN} - where the call is
made ${TIMESTR} - respectively the time and ${UNIQUEID} - unique call number
The problem is as follows. When a call arrives in the queue and is answered at the end, a file of the form q-1001-9256661313-150145-7318936408.953279.wav is formed, from the name of which it is not at all clear which of the queue numbers answered the incoming call.
What needs to be changed so that, for example, instead of the queue number, the extension that accepted the call is displayed? Or what variable to use to add the number that received the call to the file name?
tried $CONNECTEDLINE(num), $EXTEN, $QAGENT
Elastix 2.5
FreePBX 2.11
Asterisk 11.21

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question