| CCXML 1.0-W3C Development Guide | Home | Frameset Home |
| expr | Data Type: (ECMAScript Expression) | Default: none - attribute is optional |
| Not Enabled The expr attribute should have an ECMAScript expression that indicating a message to be sent and caught. If unspecified, then the value returned by the expr will resolve to 'zero'. Note that this atrribute is currently non-functional, as the Voxeo CCXML browser does not return a 'ccxml.exit' event when the <exit> element is encountered. | ||
| namelist | Data Type: STRING | Default: none - attribute is optional |
| Not Enabled The namelist attribute denotes the space-separated list of variable names to be sent as properties of the <exit> event. Note that this atrribute is currently non-functional, as the Voxeo CCXML browser does not return a 'ccxml.exit' event when the <exit> element is encountered. | ||
| <ccxml version="1.0"> <var name="initState" expr="'state_1'"/> <var name="MyCallID"/> <eventprocessor statevariable="initState"> <transition event="connection.alerting" state="state_1"> <assign name="MyCallID" expr="event$.connectionid"/> <log expr="'***** MYCALLID =' + MyCallID + '****' "/> <log expr="'*** CALLER ID = ' + event$.connection.remote + '***'"/> <log expr="'*** CALLED ID = ' + event$.connection.local + '***'"/> <send data="'MyEvent'" target="session.id"/> </transition> <transition event="MyEvent"> <accept connectionid="MyCallID"/> </transition> <transition event="connection.connected"> <log expr="'***** CALL WAS ANSWERED *****'"/> <dialogstart src="'null://?text=Congratulations, your call was answered. Goodbye.'" type="'application/x-texttospeech'"/> </transition> <transition event="dialog.exit"> <log expr="'***** CALL EXITING *****'"/> <exit/> </transition> </eventprocessor> </ccxml> |
| ANNOTATIONS: EXISTING POSTS |
| login |