FreeSWITCH:コマンドラインツールfs_cliと各種設定のポイント

fs_cli による設定ファイルのリロードコマンド

# fs_cli -H xx.xx.xx.xx -P 8021 -p password
freeswitch> reloadxml

Reload Command List

Item Reload Command Notes
Item Reload Command Notes
XML Dialplan reloadxml Run each time you edit XML dial file(s)
ACLs reloadacl Edit acl.conf.xml first
Voicemail reload mod_voicemail Edit voicemail.conf.xml first
Conference reload mod_conference Edit conference.conf.xml first
Add Sofia Gateway sofia profile <name> rescan Less intrusive - no calls dropped
Remove Sofia Gateway sofia profile <name> killgw <gateway_name> Less intrusive - no calls dropped
Restart Sofia Gateway sofia profile <name> killgw <gateway_name>
sofia profile rescan Less intrusive - no calls dropped
Add/remove Sofia Gateway sofia profile <name> restart More intrusive - all profile calls dropped
Local Stream see Mod_local_stream Edit localstream.conf.xml first
Update a lua file nothing necessary file is loaded from disk each time it is run
Update LCR SQL table nothing necessary SQL query is run for each new call
Update LCR options reload mod_lcr Edit lcr.conf.xml first
Update CID Lookup Options reload mod_cidlookup Edit cidlookup.conf.xml first
Update JSON CDR Options reload mod_json_cdr Edit json_cdr.conf.xml first
Update XML CDR Options reload mod_xml_cdr Edit xml_cdr.conf.xml first
Update XML CURL Server Response nothing, unless using cache

Ex) external-ipv6.xml を編集後再読込

freeswitch > sofia profile exxternal-ipv6 rescan

sofia help

freeswitch > sofia help
USAGE:
--------------------------------------------------------------------------------
sofia global siptrace <on|off>
sofia        capture  <on|off>
             watchdog <on|off>

sofia profile <name> [start | stop | restart | rescan] [wait]
                     flush_inbound_reg [<call_id> | <[user]@domain>] [reboot]
                     check_sync [<call_id> | <[user]@domain>]
                     [register | unregister] [<gateway name> | all]
                     killgw <gateway name>
                     [stun-auto-disable | stun-enabled] [true | false]]
                     siptrace <on|off>
                     capture  <on|off>
                     watchdog <on|off>

sofia <status|xmlstatus> profile <name> [reg [<contact str>]] | [pres <pres str>] | [user <user@domain>]
sofia <status|xmlstatus> gateway <name>

sofia loglevel <all|default|tport|iptsec|nea|nta|nth_client|nth_server|nua|soa|sresolv|stun> [0-9]
sofia tracelevel <console|alert|crit|err|warning|notice|info|debug>

sofia help
--------------------------------------------------------------------------------