installation_guide:asterisk:start

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
installation_guide:asterisk:start [2017/01/25 21:46] – [Asterisk Online Help] borjainstallation_guide:asterisk:start [2017/06/27 20:40] (current) – [Asterisk Global Variables] borja
Line 138: Line 138:
    
  
-==== Variables ====+==== Voximal variables ====
  
 Variables to set before or filled after the Vxml() execution : Variables to set before or filled after the Vxml() execution :
Line 183: Line 183:
   * VOXIMAL_ERROR=INTERPRETER ; Session refused, critical error with the VoiceXML browser connection.   * VOXIMAL_ERROR=INTERPRETER ; Session refused, critical error with the VoiceXML browser connection.
  
 +==== Asterisk global variables ====
 +
 +You can set and get variable at any moment from the VoiceXML syntax using the <transfer> tag : 
 +
 +** GET **
 +
 +<code>
 +     <transfer name="getvar" bridge="true" dest="execute:get(ID)" />
 +     <block>
 +       <prompt>
 +         End of Transfer test <value expr="getvar$.value" />.
 +       </prompt>
 +     </block>
 +</code>
 +
 +** SET **
 +
 +<code>
 +     <transfer name="toto" bridge="true" dest="execute:set(MOMO)=10">
 +     </transfer>
 +</code>
  
  
  • installation_guide/asterisk/start.1485380788.txt.gz
  • Last modified: 2017/01/25 21:46
  • by borja