Extensions
In FreeSWITCH parlance, an extension is NOT a phone or a service. An extension is a configuration compound made of a pattern (criterion) and a list of actions.
An incoming call traverses the dialplan one extensions after another. The call has many characteristics (destination number, time of day, kind of transport, etc). At each extension those characteristics (represented by "variables") are checked against the pattern (the criterion). If the pattern "matches" the characteristics, the list of actions will be added to the call's TODO list. At the end of dialplan traversal, all the actions stacked into the TODO list will be executed, one after another.
An extension is contained between the XML tags <extension> and </extension>. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access