| CCXML Voxeo 1.0 Development Guide | Home | Frameset Home |
| expr | Data Type: (ECMAScript Expression) | Default: none - attribute is required |
| The expr attribute is a required parameter for the <log> element that is an ECMAscript expression evaluating to a string to be logged. This string will be output in the Voxeo Realtime Logger when the <log> element is encountered. | ||
| label | Data Type: (ECMAScript Expression) | Default: none - attribute is optional |
| Not Enabled The label attribute is an ECMAScript expression that returns a character string which is used as an identifier, or 'marker' indicating the reason for the <log> statement. | ||
| <?xml version="1.0" encoding="UTF-8"?> <ccxml version="1.0"> <eventhandler> <transition event="connection.CONNECTION_ALERTING" name="evt"> <assign name="MyCallID" expr="'evt.callid'"/> <log expr="'The called ID is ' + evt.calledid + '.'"/> <send event="'user.MyEvent'"/> </transition> <transition event="user.MyEvent" name="evt"> <accept callid="'MyCallID'"/> <log expr="'** MyCallID =' + MyCallID + '**' "/> </transition> <transition event="connection.CONNECTION_CONNECTED"> <log expr="'Call was answered.'"/> <disconnect/> </transition> <transition event="call.CALL_INVALID"> <exit/> </transition> </eventhandler> </ccxml> |
| ANNOTATIONS: EXISTING POSTS |
| login |