| CCXML Voxeo 1.0 Development Guide | Home | Frameset Home |
| callid | Data Type: (ECMAScript Expression) | Default: none - attribute is required |
| The callid attribute specifies which call leg identifier should be disconnected when this element is encountered. However, this attribute is optional; if unspecified, then the call leg disconnected will be the the id indicated in the current event being processed. | ||
| <?xml version="1.0" encoding="UTF-8" ?> <ccxml version="1.0"> <var name="state0" expr="'init'"/> <eventhandler statevariable="state0"> <transition event="connection.CONNECTION_ALERTING" name="evt"> <log expr="'*** INCOMING CALLID IS: ' + evt.callid + ' ***'"/> <assign name="myCallID" expr="evt.callid"/> <accept/> </transition> <transition event="connection.CONNECTION_CONNECTED"> <log expr="'*** INCOMING CALL WAS ANSWERED ***.'"/> <!-- ***************** CALL ALERTING / ACCEPT ***************** --> <disconnect callid="myCallID"/> </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> |
| ANNOTATIONS: EXISTING POSTS |
| login |