Call Us Today! 877.742.2583




Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Set to load module on start

Once you have installed FreeSWITCH from packages, configure FreeSWITCH to load mod_hiredis in autoload_configs/modules.conf.xml by uncommenting the line:

<load module="mod_hiredis"/>

Configure mod_hiredis

Edit the redis server connection configuration in autoload_configs/hiredis.conf.xml and set the hostname, password, and port as applicable.

Example for default installation where redis server is the same as the FreeSWITCH server:

<profile name="default">
  <connections>
    <connection name="primary">
      <param name="hostname" value="localhost"/>
      <param name="password" value="redis"/>
      <param name="port" value="6379"/>
      <param name="timeout_ms" value="500"/>
    </connection>
...

 

From fs_cli, apply the changes:

 reloadxml
 reload mod_hiredis
  • No labels