...
Edit/open the recording script (record.lua) and assign the correct paths to the "recording_dir" and "
mixedRecordingDir
" variables.The correct path can be found via "pwd” command after checking into each directory, the “pwd” command will print the working direcotry directory path.
Code Block |
---|
local recording_dir = '/usr/local/freeswitch/cucmRecording/streams' local mixedRecordingDir = '/usr/local/freeswitch/cucmRecording/sessions' |
...
Switch to the dialplan directory
/usr/local/freeswitch/conf/dialplan
Add the following lines of code in the public .xml file.
...
Code Block |
---|
<node type="allow" domain="$${domain}"/> . . <node type="allow" cidr="<CUCM_IP>/32"/> <!--- Add this line and replace "<CUCM_IP>" with the IP address of your CUCM installation --> |
5-Disable STUN
Navigate to the file vars.xml in /usr/local/freeswitch/conf
open the file and comment out following lines.
<X-PRE-PROCESS cmd="stun-set" data="external_rtp_ip=stun:stun.freeswitch.org"/>
<X-PRE-PROCESS cmd="stun-set" data="external_sip_ip=stun:stun.freeswitch.org"/>
Since it is a pre process we need to restart the Recorder.
Code Block |
---|
#sudo systemctl restart freeswitch |
6- Utilities
After the Recorder is restarted, Install the following utilities by running the commands:
...