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 |
| sip.conf | conf/directory/*xml |
| voicemail.conf | mod_voicemail - voicemail.conf.xml, conf/directory/*xml |
| zapata.conf | conf/autoload_configs/openzap.conf.xml |
Dialplan
For an example on converting an Asterisk dialplan to a FreeSWITCH one see Converting Asterisk Dialplans to FreeSWITCH
SIP Configuration
| Asterisk | FreeSWITCH |
| sip.conf | mod_sofia |
| Realtime | 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 |
| set verbose | /debug |
| show channels | show channels |
| reload | reloadxml |
| soft hangup <channel> | uuid_kill <uuid> |
| sip reload | sofia profile internal rescan |
| sip debug | sofia profile internal siptrace on (svn rev 12478) |
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 ... |
See Also