freeswitch/src/include
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
..
switch.h update docs 2006-10-01 01:36:44 +00:00
switch_am_config.h.in use usleep when possible, ./configure && make sure when you update 2006-09-17 18:44:53 +00:00
switch_apr.h tweak softimer to not int type truncate microsecond interval time.c 2006-09-17 22:13:51 +00:00
switch_bitpack.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_buffer.h add dynamic buffers 2006-09-08 18:57:24 +00:00
switch_caller.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_channel.h Modifying the behaviour of the dialplan engine 2006-10-07 19:54:04 +00:00
switch_config.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_console.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_core.h fixes 2006-09-22 15:22:31 +00:00
switch_event.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_frame.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_ivr.h 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.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_log.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_module_interfaces.h enhance timers and make rtp use it that way 2006-09-12 22:23:45 +00:00
switch_platform.h use our inline macro, really 2006-09-12 03:14:52 +00:00
switch_resample.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_rtp.h enhance timers and make rtp use it that way 2006-09-12 22:23:45 +00:00
switch_sqlite.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_stun.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_types.h Insane amounts of yucky satanic code to make transfer and that kind of thing work. 2006-10-06 22:39:49 +00:00
switch_utils.h Insane amounts of yucky satanic code to make transfer and that kind of thing work. 2006-10-06 22:39:49 +00:00
switch_version.h.in version stuff 2006-01-06 17:44:19 +00:00
switch_xml.h what comes up must come down 2006-09-07 15:15:39 +00:00