Skip to main content

FreeSwitch Tips

FreeSwitch
FreeSwitch GUI

FreeSwitch CLI

fs_cli

fs_cli -x "sofia status"
> sofia status
> sofia status profile internal reg
> show registrations

> /quit
> version
> show calls
> show channels

> reloadxml
> sofia profile external restart
> sofia profile external killgw gwt
> sofia profile external rescan
> reload
> reloadxml
> reloadacl
> reload <mod_name>
> show modules

> status
> eval $${external_sip_ip}
> fsctl shutdown restart


> domain_exists sip.osslab.tw
> module_exists mod_event_socket

PostgreSQL

su - postgres
psql fusionpbx

fusionpbx=# \dt
fusionpbx=# \d v_gateways
fusionpbx=# select * from v_gateways;
fusionpbx=# select * from v_default_settings where default_setting_category='email';