/exit - Выйти из консоли
fs_cli -x "status" - выполнить комманду, не заходя в консоль
например: посмотреть sip пиры
fs_cli -x "sofia status gateway"
- /quit
- /bye
- /exit
Other "slash" commands correspond to mod_event_socket commands:
- /event - Enable events (More Info)
- /noevents - Disable all events previously enabled with /event
- /nixevent - Enable all but one type of event (More Info)
- /log - set loglevel of the FreeSWITCH daemon (e.g. /log info or /log alert) (More Info)
- /nolog - Disable logging (More Info)
- /uuid - Filter logs for a single call uuid
- /filter (More Info)
- /help - List fs_cli commands
- /logfilter <string> - Displays only lines in /log containing <string>. /logfilter without argument disables logfilter
Configuration Files
Asterisk
|
FreeSWITCH
|
|---|---|
| extensions.conf | conf/dialplan/default.xml; also features.xml, public.xml, extensions/*xml |
| logger.conf | mod_console and mod_syslog |
| rtp.conf | conf/autoload_configs/switch.conf.xml |
| sip.conf | conf/directory/*.xml (see mod_sofia) |
| voicemail.conf | mod_voicemail - voicemail.conf.xml, conf/directory/*xml |
| zapata.conf | conf/autoload_configs/openzap.conf.xml |
| Realtime | Use mod_xml_curl to fetch the user and/or dialplan in XML, mod_ldap for LDAP backend |
Console Commands
Asterisk Console
|
FreeSWITCH Fs cli
|
Shortcut Key
|
|---|---|---|
| core show help | help | F1 |
| core show uptime | status | F2 |
| core show channels | show channels | F3 |
| core show calls | show calls | F4 |
| sip show settings | sofia status sofia status profile internal | F5 F9 |
| core reload | reloadxml | F6 |
| core set verbose 0 | /log 0 | F7 |
| core set verbose 9 | /log 7 | F8 |
| core set debug 9 | /debug 7 | |
| core show version | version | F12 |
| channel originate sip/source extension destination | originate user/source destination xml default | |
| channel originate sip/source application appname data | originate user/source &appname(data) | |
| console dial 1000 | pa call 1000 (see mod_portaudio) | |
| database get family key | db select/family/key | |
| dialplan show | xml_locate dialplan | |
| hangup request channel | uuid_kill uuid | |
| module load app_queue.so | load mod_callcenter | |
| queue show |
callcenter_config queue list
callcenter_config tier list | |
| queue show queue_name |
callcenter_config queue list agents queue_name@default
callcenter_config queue list members queue_name@default | |
| sip reload | sofia profile internal rescan | |
| sip set debug on | sofia global siptrace on sofia global debug (presence|sla|none) sofia loglevel all [0-9] | |
| sip set debug (ip|peer) | sofia profile (internal|external) siptrace on | sip mesage debug |
| sip show peers | list_users sofia status profile internal reg | |
| sip show peer sip_provider | sofia status gateway sip_provider |
fs_cli -x "sofia status profile profile_in reg"