Skip to main content
Skip table of contents

ESL Configuration for Pause and Resume Recording

ESL connection on Recorder

  1. Go to /etc/freeswitch/autoload_configs/ or /usr/local/freeswitch/conf/autoload_configs/

  2. Open event_socket.conf.xml in you editor to edit few things

  3. Set value “esl” for apply-inbound-acl as shown in the code below

  4. Set a Strong Password for the password field as shown in the code below. Note: Password should not be set to default value i.e ClueCon

  5. Set value for the Listen-ip which are allowed to communicate with ESL. Set “0.0.0.0” if you want to allow all IPs.

  6. CODE
    # Note: All valuse must be in inverted quotes "".
    
    <settings>
        <param name="listen-ip" value="192.168.1.106"/> <!-- Use the server's IP -->
        <param name="listen-port" value="8021"/>       <!-- Default ESL port -->
        <param name="password" value="1234"/>       <!-- Default ESL password -->
        <param name="apply-inbound-acl" value="esl"/>
    </settings>
  7. Save your changes and exit

  8. Open acl.conf.xml which is in the same directory (autoload_configs)

  9. Add the following lines inside the <network-list> tag as shown below

CODE
 <configuration name="acl.conf" description="Network Lists">
    <network-lists>
      
      .......
      .......
  
      <list name="esl" default="allow">
          <node type="allow" cidr="0.0.0.0/0"/>
      </list> 
      
      
  </network-lists>
</configuration>
  1. Type fs_cli on your terminal it will open recorder and then run the commands ‘reloadxml’ and ‘reloadacl’ one by one.

  2. Restart the recorder using sudo systemctl restart freeswitch

  3. Once restarted, try to access you recorder using fs_cli

  4. It will not open as we have set the password. Now type fs_cli -p <Your Password>

  5. Your recorder will be opened indicating that your esl is configured.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.