July 2017
Intermediate to advanced
434 pages
12h 59m
English
This permission allows you to use variables in your applications like you normally could from the XML Dialplan. Variables like ${caller_id_number} would be expanded inline. The expression ${caller_id_number} would give you the number of the calling party. This also gives you a way to use API commands from within your web applications. Consider this example:
${sofia_contact(1010@192.168.1.100)}
This line will execute the sofia_contact API command with the given argument and have the result inserted in place.
ACL-like control lists are available. You can allow or disallow as many API commands or variables as you need to. Consider the following XML snippet:
<permission name="expand-vars" value="true"> <variable-list default="deny"> ...
Read now
Unlock full access