Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Example App: inboundconference
MichaelGlo-
ver
Administrator
Posts: 9
Post Example App: inboundconference
on: April 4, 2011, 15:22

The inboundconference example application shows how a simple conferencing application might be constructed. All conferencing actions are taken by the CCXML document. The VoiceXML documents are used to interact with the caller where necessary.

Call Flow
[list]

  • Call arrives and CCXML(inboundconference.ccxml) accepts it
  • CCXML starts VoiceXML(inboundconference_getname.vxml) dialog to get the 3 digit conference name which is returned to CCXML
  • CCXML creates the conference(may already exist, which is ok)
  • CCXML uses <join> to switch the caller to the conference
  • CCXML starts VoiceXML(inboundconference_getkey.vxml) dialog to watch for caller keypress
  • Conference remains active until hangup
  • This basic conferencing structure could be expanded to allow many more caller actions to be taken from inside the conference. The single option of allowing the digit 1 to be pressed to change to a new conference name serves as an example of how to watch for caller input and react appropriately.
    Note how the conference is created by each caller. This is intentional in this example as it ensures the conference has been created and also registers for conference specific events in each caller's CCXML session.
    Also, note how after creating the conference, the caller must be <join>ed to it. This is required for the caller to flow audio into and out of the the conference. In order to remove the caller from the conference, you must <unjoin> them.

    To see the conference in full action, call in with two separate SIP phones and choose the same 3 digit conference id. The two calls will be entered into the conference and be able to hear each other.

    Pages: [1]
    Mingle Forum by cartpauj
    Version: 1.0.31.3 ; Page loaded in: 0.02 seconds.