| CCXML Voxeo 1.0 Development Guide | Home | Frameset Home |
| id | Data Type: (ECMAScript Expression) | Default: none - attribute is required |
| This attribute denotes the identifier indicating the conference to be destroyed. | ||
| <?xml version="1.0" encoding="UTF-8"?> <ccxml version="1.0"> <eventhandler statevariable="state0"> <transition state="'init'" event="connection.CONNECTION_ALERTING" name="evt"> <var name="line_0" expr="evt.callid"/> <createconference name="smallConf"/> </transition> <transition state="'init'" event="ccxml.conference.created"> <assign name="state0" expr="'docalls'"/> <accept callid="line_0"/> <createcall dest="'4078351111'" name="line_1"/> <createcall dest="'4078351112'" name="line_2"/> <createcall dest="'4078351113'" name="line_3"/> </transition> <transition event="connection.CONNECTION_CONNECTED" name="evt"> <join sessionid1="evt.callid" sessionid2="smallConf"/> </transition> <transition event="ccxml.conference.joined" name="evt"> <log expr="'---- call leg ' + evt.callid + ' has joined the conference ----'"/> </transition> <transition event="ccxml.conference.unjoined" name="evt"> <log expr="'---- call leg ' + evt.callid + ' has unjoined the conference ----'"/> </transition> <transition event="call.CALL_INVALID" name="evt"> <if cond="evt.callid == line_0"> <destroyconference conferenceid="smallConf"/> <assign name="state0" expr="'conferencedestroyed'"/> </if> </transition> <transition event="ccxml.conference.destroyed"> <exit/> </transition> <transition state="'docalls'" event="error.*" name="evt"> <destroyconference conferenceid="smallConf"/> <exit/> </transition> <transition event="error.*" name="evt"> <log expr="'---- an error has occurred (' + evt.error + ') ----'"/> <exit/> </transition> </eventhandler> </ccxml> |
| ANNOTATIONS: EXISTING POSTS |
Lampei
|
|
| Is it conferenceid or id when destroying the conference? The documentation has "id", but the example has "conferenceid". | |
MattHenry
|
|
|
Hello Gareth, I'm pretty sure that both of them work, in the context of the Voicecenter 5.5 implementation of CCXML. Remember that this implementation was deployed when CCXML was in working draft status, circa 2002, and that lots of things changed with the specification almost daily. You'll note that our 'multiparty conferencing' tutorial uses 'id' instead of 'conferenceid',, which illustrates that you can use either of the two. This ambiguity is less prevalent in our Voicecenter 6 deployment of CCXML 1.0, which is a bit more rigid to the specification, (docs coming soon soon soon!). ~Matthew Henry |
| login |