Document toolboxDocument toolbox

How to change FreeSWITCH event socket password?

  • mod_event_socket is TCP-based interface to control FreeSWITCH.
  • ASTPP is using it to get live information from FreeSWTICH command line to GUI and commanding FreeSWITCH from GUI.

  • FreeSWITCH command line interface connection is password protected. Default password is 'ClueCon', you may change it by modifying event_socket.conf.xml configuration.

  • The default path of this configuration file is /usr/local/freeswitch/conf/autoload_configs/event_socket.conf.xmll

  • In there modify the password value.

  • <param name="password" value="Your_P@assword"/>

  • After modifying the configuration, need to reload mod_event_socket to get this affected. To do that execute below Linux terminal based command.

  • fs_cli -pClueCon -x'reload mod_event_socket'

The successful reload will respond,

# fs_cli -pClueCon -x'reload mod_event_socket'

+OK Job-UUID: f9c36a7f-1a90-41cd-94d4-d516ace03213
  • Now Interface access will only be through updated password instead of default 'ClueCon' password.