| CCXML Voxeo 1.0 Development Guide | Home | Frameset Home |
<dialogterminate>, the VXML dialog can return data to the CCXML application using the VoiceXML <exit namelist> element, (inherantly throwing a 'dialog.exit event').| dialogid | Data Type: (ECMAScript Expression) | Default: none - attribute is required |
The dialogid attribute specifies a character string identifying the dialog. This dialogid will have been generated by <dialogstart> and stored in the ECMAScript variable identified by the "dialogid" attribute. | ||
| immediate | Data Type: (true|false) | Default: False |
| Set to "true" or "false" to specify if the dialog is immediately terminated. | ||
| <?xml version="1.0" encoding="UTF-8" ?> <ccxml version="1.0"> <var name="state0" expr="'init'"/> <var name="myVar" expr="'foo'"/> <eventhandler statevariable="state0"> <transition state="'init'" event="connection.CONNECTION_ALERTING" name="evt"> <var name="callid_IN" expr="evt.callid"/> <accept/> </transition> <transition state="'init'" event="connection.CONNECTION_CONNECTED" name="evt"> <dialogstart type="'application/xml+vxml'" src="'HoldMusic.vxml'" dialogid="holdMusicDlg" callid="callid_IN"/> <send event="'stopHoldMusic'" target="session.id" delay="'10000'"/> </transition> <transition state="'init'" event="user.stopHoldMusic" name="evt"> <!-- ************** TERMINATE HOLD MUSIC DIALOG *************** --> <dialogterminate dialogid="holdMusicDlg"/> </transition> <transition event="dialog.exit" name="evt"> <log expr="'DIALOG EXIT REACHED'"/> <exit/> </transition> <!-- ****************** GENERAL EXCEPTIONS ******************** --> <transition event="call.CALL_INVALID"> <exit/> </transition> <transition event="error.*" name="evt"> <log expr="'*** ERROR HAS OCCURED [' + evt.error + '] ***'"/> <exit/> </transition> </eventhandler> </ccxml> |
| <?xml version="1.0" encoding="UTF-8" ?> <vxml version="2.0"> <form id="form1"> <block> <prompt bargein="false"> I dont want to work. I just want to bang on the ukelele daily. I dont want to play. I just want to bang on the ukelele daily. </prompt> <goto next="#form1"/> </block> </form> </vxml> |
| ANNOTATIONS: EXISTING POSTS |
| login |