Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
developer_guide:voicexml_references:elements:transfer [2015/10/28 14:39]
borja
developer_guide:voicexml_references:elements:transfer [2015/12/09 10:54]
borja
Line 69: Line 69:
  
 <​code>​ <​code>​
-exec:” or “tel:” (with an application name and ())+execute:” or "​exec:" ​or “application:” (with an application name and ())
 The <​transfer>​ tag can be used to “execute” an Asterisk application. The <​transfer>​ tag can be used to “execute” an Asterisk application.
-Set the attribute dest with a URI like "exec:​applicationname(parameters)"​.+Set the attribute dest with a URI like "execute:​applicationname(parameters)"​.
  
 Use “set” to set a variable to the Asterisk channel context: Use “set” to set a variable to the Asterisk channel context:
-<​transfer name="​setvar"​ bridge="​true"​ dest="exec:​set(VXML_NUMBER=10)">​+<​transfer name="​setvar"​ bridge="​true"​ dest="execute:​set(VXML_NUMBER=10)">​
  
 Use “get” to get a variable value from the Asterisk channel context (value is in the value shadow variable): Use “get” to get a variable value from the Asterisk channel context (value is in the value shadow variable):
-<​transfer name="​getvar"​ bridge="​true"​ dest="exec:​get(URL)"​ />+<​transfer name="​getvar"​ bridge="​true"​ dest="execute:​get(URL)"​ />
 <value expr="​getvar$.value"​ />. <value expr="​getvar$.value"​ />.
  
-Use “function” to set an Asterisk function: +Use “function:” to set an Asterisk function: 
-<​transfer name="​maxduration"​ bridge="​true"​ dest="exec:​function(TIMEOUT(absolute)=10)">​+<​transfer name="​maxduration"​ bridge="​true"​ dest="execute:​function(TIMEOUT(absolute)=10)">​
  
 Use '​+='​ to append values: Use '​+='​ to append values:
-<​transfer name="​userfield"​ bridge="​true"​ dest="exec:​function(CDR(userfield))+=12"​ />+<​transfer name="​userfield"​ bridge="​true"​ dest="execute:​function(CDR(userfield))+=12"​ />
  
 Use “function” to get a Asterik function'​s value: Use “function” to get a Asterik function'​s value:
-<​transfer name="​peerip"​ bridge="​true"​ dest="exec:​function(SIPPEER(user2:​ip))">​+<​transfer name="​peerip"​ bridge="​true"​ dest="execute:​function(SIPPEER(user2:​ip))">​
 <value expr="​peerip$.value"​ />. <value expr="​peerip$.value"​ />.
  
Line 100: Line 100:
  
 <​code>​ <​code>​
-<​transfer name="​test"​ bridge="​true"​ dest="ori:​user1=vxml(account2)"​ connecttimeout="​20s"​ maxtime="​0s"/>​+<​transfer name="​test"​ bridge="​true"​ dest="originate:​user1=vxml(account2)"​ connecttimeout="​20s"​ maxtime="​0s"/>​
 </​code>​ </​code>​