Variables
Variables in FreeSWITCH are associated to almost anything. You can think at variables as attributes of something. For example, before we defined the "destination_number" as an attribute of an incoming ("A leg") call, and we used it as a string to which we applied the "condition" (regex) of an extension, to decide if that extension's actions will be executed by the call, or if the extension (and its actions) has to be skipped because its condition "do not matches" the string contained by the variable "destination_number". "Variables" is the official name for all those call or session attributes.
For example, an incoming call has a big number of associated variables, referred to as "channel variables", or "call leg variables", or ...
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