bigbluebutton-Github/build/packages-template/bbb-freeswitch-core/fs_clibbb

6 lines
372 B
Plaintext
Raw Normal View History

2021-08-13 18:53:18 +08:00
#!/bin/bash
# "$@" is placed at the end of the command so it can be used as "fs_clibbb -x 'show channels as json'"
# @ will be replaced by the arguments you pass in the command line.
/opt/freeswitch/bin/fs_cli -p $(xmlstarlet sel -t -m 'configuration/settings/param[@name="password"]' -v @value /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml) "$@"