From FreeSWITCH Wiki
(Redirected from
Rosetta stone)
Asterisk to FreeSWITCH Rosetta Stone
While FreeSWITCH is not a drop-in replacement for Asterisk, it does many of the same things that Asterisk does. This page is an attempt to help those familiar with Asterisk to leverage that knowledge and quickly locate that which is equivalent or analogous in FreeSWITCH. In most cases there isn't a direct, one-to-one translation, but rather similarities. For example, the "equivalent" of extensions.conf is (mostly) conf/dialplan/default.xml; but there are also features.xml, public.xml and /conf/dialplan/extensions/*xml.
- If anyone has thoughts on this then by all means add what you know.
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 |
| sip show peers/sip show registry | sofia status profile internal |
| core set verbose 9 | /log 7 |
| core set debug 9 | /debug 7 |
| core show channels | show channels / show calls |
| reload | reloadxml |
| hangup request <channel> | uuid_kill <uuid> |
| 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 |
| module load app_queue.so | load mod_callcenter |
| core show uptime | status |
| core show version | version |
| console dial 1000 | pa call 1000 (see mod_portaudio) |
Miscellaneous
| Asterisk | FreeSWITCH |
| AMI | mod_event_socket |
| asterisk -r | fs_cli
|
| asterisk -rx "command" | fs_cli -x "command" |
| set verbose <verbosity> in CLI | console loglevel 0-8 or console loglevel debug |
| chan_local | Loopback |
| stop gracefully | shutdown or ... |
sip.conf params
| Asterisk | FreeSWITCH |
| dtmfmode | In dialplan: start_dtmf |
Asterisk experts: please add more information
Dialplan
See Also