| CCXML Voxeo 1.0 Development Guide | Home | Frameset Home |
| callid | Data Type: (ECMAScript Expression) | Default: none - attribute is required |
| This is an ECMAScript expression which returns the id of the signaling incoming call leg that should be accepted in a string value. Note that the callid attribute is completely optional. If unspecified, the interpreter will accept using the id indicated in the current event being processed. | ||
| <?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'" target="'session.id'"/> </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 |