Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Note

Before doing anything, make sure mod_lua and dkjson is enabled/installed on both machines. 

1- Recording Script

  • Download

    View file
    namerecord.lua
    file.

  • Place it in the "scripts" directory. It can be found under "/usr/local/freeswitch/scripts/" or "/usr/share/freeswitch/scripts/" depending on whether you installed recorder from source or package, respectively.

  • Open record.lua and change the url url = "http://<ip-address>:9900/mixer/sip-data". And url = "http://<ip-address>:9900/mixapi"

  • Create a direcotry/folder in the path /usr/local/freeswitch with the name cucmRecording. now enter to this cucmRecording folder and create two more folders/directories with names “streams“ and “sessions”.
    The directory/folder can be created with

...

Code Block
<param name="parse-all-invite-headers" value="true"/>
  • Now set the rtp-ip, sip-ip, ext-rtp-ip and ext-sip-ip equals to your recorder’s machine ip in external.xml.

  • Code Block
    <param name="rtp-ip" value="<ip-address>"/>
    <param name="sip-ip" value="<ip-address>"/>
    <param name="ext-rtp-ip" value="<ip-address>"/>
    <param name="ext-sip-ip" value="<ip-address>"/>


4- Access Control List (ACL)

Navigate to the directory "/usr/local/freeswitch/conf/autoload_configs"

...

Code Block
#sudo systemctl restart freeswitch

...

7- Utilities

After the Recorder is restarted, Install the following utilities by running the commands:

...