| CCXML Voxeo 1.0 Development Guide | Home | Frameset Home |
| callid | Data Type: (ECMAScript Expression) | Default: none - attribute is required |
| This attribute returns a string indicating the incoming call leg to be rejected. True to form, if this optional attribute is unspecified, then the current event id is used to indicate the callid to be rejected. | ||
| reason | Data Type: (ECMAScript Expression) | Default: none - attribute is optional |
| The reason attribute returns a user-defined ECMAScript string indicating the reason for the call being rejected | ||
| <?xml version="1.0" encoding="UTF-8"?> <ccxml version="1.0"> <eventhandler> <transition event="connection.CONNECTION_ALERTING" name="evt"> <log expr="'The called ID is ' + evt.calledid + '.'"/> <if cond="evt.calledid == 'xxxxxxxxxx'"> <reject/> <elseif cond="evt.calledid == 'oooooooooo'"/> <reject callid="evt.callid"/> <else/> <accept/> </if> </transition> <transition event="connection.CONNECTION_CONNECTED"> <log expr="'Call was answered.'"/> <disconnect/> </transition> <transition event="call.CALL_INVALID"> <exit/> </transition> </eventhandler> <log expr="'Application is starting ...'"/> </ccxml> |
| ANNOTATIONS: EXISTING POSTS |
| login |