freeswitch/src
Anthony Minessale 741b8329b9 Modifying the behaviour of the dialplan engine
the 'data' field in action tags may now refer to variables and api functions
to be expanded at runtime.

Syntax:

$varname
${varname}
&func_name(func args)


Exception:
variables that are numeric are still expanded at dialplan compile time based on the regex eg $1 $2 etc

Example:

<extension name="1000">
  <condition field="destination_number" expression="^(1000)$">
    <action appplication="my_route_app" data="$1"/>
    <action appplication="bridge" data="$destination"/>
  </condition>
</extension>

Here the $1 is ecaluated before the call begins setting it to 1000 based on the regex ^(1000)$
$destination is evaluated on the fly in execution once the my_route_app has run and has had a 
chance to set the variable 'destination' to the correct value.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 19:54:04 +00:00
..
dotnet add the .net class wrappers to the solution file. 2006-09-24 00:40:21 +00:00
include Modifying the behaviour of the dialplan engine 2006-10-07 19:54:04 +00:00
mod Modifying the behaviour of the dialplan engine 2006-10-07 19:54:04 +00:00
switch.c fix prototype of signal handler functions (sun studio doesn't like these wrong) 2006-10-02 16:48:00 +00:00
switch_buffer.c more optimizationification 2006-09-22 02:10:27 +00:00
switch_caller.c Insane amounts of yucky satanic code to make transfer and that kind of thing work. 2006-10-06 22:39:49 +00:00
switch_channel.c Modifying the behaviour of the dialplan engine 2006-10-07 19:54:04 +00:00
switch_config.c make snprintf commands use the path seperator macro. 2006-06-05 18:12:33 +00:00
switch_console.c Insane amounts of yucky satanic code to make transfer and that kind of thing work. 2006-10-06 22:39:49 +00:00
switch_core.c Modifying the behaviour of the dialplan engine 2006-10-07 19:54:04 +00:00
switch_event.c Attribution. 2006-09-18 05:08:55 +00:00
switch_ivr.c Insane amounts of yucky satanic code to make transfer and that kind of thing work. 2006-10-06 22:39:49 +00:00
switch_loadable_module.c type tweak 2006-10-01 21:21:41 +00:00
switch_log.c Modifying the behaviour of the dialplan engine 2006-10-07 19:54:04 +00:00
switch_resample.c part 3 of 3 standardizing typedefed types to end in _t. 2006-04-29 23:43:28 +00:00
switch_rtp.c Insane amounts of yucky satanic code to make transfer and that kind of thing work. 2006-10-06 22:39:49 +00:00
switch_stun.c Fix issue pointed out by Fanzhou Zhao <fanzhou@gmail.com> 2006-08-22 14:48:35 +00:00
switch_swig.c changes to language stuff 2006-09-20 21:59:50 +00:00
switch_swig.i changes to language stuff 2006-09-20 21:59:50 +00:00
switch_utils.c Insane amounts of yucky satanic code to make transfer and that kind of thing work. 2006-10-06 22:39:49 +00:00
switch_xml.c type tweak 2006-10-01 21:29:03 +00:00