| CCXML Voxeo 1.0 Development Guide | Home | Frameset Home |
| id1 | Data Type: (ECMAScript Expression) | Default: none - attribute is required |
| This attribute indicates the first of the call leg identifiers or conference objects that hold the ID for the audio endpoint to separate. | ||
| id2 | Data Type: (ECMAScript Expression) | Default: none - attribute is required |
| The id2 attribute indicates the second of two audio endpoints to separate. if both endpoints are call legs, then the platform will inherently unbridge the two endpoints. But, if one of the endpoints is a conference, then the platform will remove the call leg from the conference. | ||
| <?xml version="1.0" encoding="UTF-8"?> <ccxml version="1.0"> <var name="state0" expr="'init'"/> <eventhandler statevariable="state0"> <transition state="'init'" event="connection.CONNECTION_ALERTING" name="evt"> <var name="line_0" expr="evt.callid"/> <createconference id="smallConf"/> </transition> <transition state="'init'" event="ccxml.conference.created"> <assign name="state0" expr="'docalls'"/> <accept callid="line_0"/> <createcall dest="'4075551111'" name="line_1"/> <createcall dest="'4075552222'" name="line_2"/> <createcall dest="'4075553333'" name="line_3"/> </transition> <transition state="'docalls'" event="connection.CONNECTION_CONNECTED" name="evt"> <join id1="evt.callid" id2="smallConf" duplex="'full'"/> </transition> <transition state="'docalls'" event="ccxml.conference.joined" name="evt"> <log expr="'*** CALL LEG [' + evt.callid + '] HAS JOINED THE CONFERENCE ***'"/> <!-- ********* UNJOIN 'CONNECTED' CALL LEG TO CONFERENCE ********* --> <unjoin id1="evt.callid" id2="smallConf"/> </transition> <transition state="'docalls'" event="ccxml.conference.unjoined" name="evt"> <log expr="'*** CALL LEG [' + evt.callid + '] HAS UNJOINED FROM THE CONFERENCE ***'"/> <exit/> </transition> <!-- ******************* GENERAL EXCEPTIONS ******************** --> <transition event="call.CALL_INVALID" name="evt"> <if cond="evt.callid == line_0"> <destroyconference id="smallConf"/> <exit/> </if> </transition> <transition state="'docalls'" event="error.*" name="evt"> <log expr="'*** ERROR HAS OCCURED [' + evt.error + '] ***'"/> <destroyconference id="smallConf"/> <exit/> </transition> <transition event="error.*" name="evt"> <log expr="'*** ERROR HAS OCCURED [' + evt.error + '] ***'"/> <exit/> </transition> </eventhandler> </ccxml> |
| ANNOTATIONS: EXISTING POSTS |
| login |