diff --git a/bigbluebutton-config/cron.hourly/bbb-resync-freeswitch b/bigbluebutton-config/cron.hourly/bbb-resync-freeswitch index 8c25c6654e..fe3cdffa31 100755 --- a/bigbluebutton-config/cron.hourly/bbb-resync-freeswitch +++ b/bigbluebutton-config/cron.hourly/bbb-resync-freeswitch @@ -1,3 +1,3 @@ #!/bin/bash -/opt/freeswitch/bin/fs_cli -x 'fsctl sync_clock_when_idle' > /var/log/freeswitch_sync_clock.log 2>&1 +/opt/freeswitch/bin/fs_cli -x 'fsctl sync_clock_when_idle' -p $(xmlstarlet sel -t -m 'configuration/settings/param[@name="password"]' -v @value /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml) > /var/log/freeswitch_sync_clock.log 2>&1