1 Conference conference = bookingService.GetDefaultConference();
2 3 //conference.IPBandwidth = Bandwidth.Item32b2048kbps;
4 conference.Bandwidth = Bandwidth.Item12b768kbps;
5 // Create an array of participants
6 Participant[] participants = new Participant[2];
7 // Create the elements of the array (the actual participants)
8 participants[0] = new Participant();
9 participants[0].ParticipantCallType = ParticipantType.SIP1;//.IPVideo1; // Dial-out video
10 participants[0].NameOrNumber = "64.54.246.152"; //"tmpilot1@ucsf.edu";// "64.54.246.152";11 participants[1] = new Participant();
12 participants[1].ParticipantCallType = ParticipantType.SIP1;//.IPVideo1; // Dial-out video
13 participants[1].NameOrNumber = "64.54.246.122"; //"TM-EX90-DEMO"; // "64.54.246.122";
14 // Add the participants to the conference.
15 conference.Participants = participants;
1617 // Save the conference, saving the returned conference (where all values are now specified)
18 try
19 {
20 conference = bookingService.SaveConference(conference);
21 // Output information about the conference.
22 TextBox1.Text += conference.ConferenceInfoText + "\n";
23 TextBox1.Text += conference.UserMessageText + "\n";
24 TextBox1.Text += conference.ConferenceId + "\n";
25 }
26 catch (SoapException e)
27 {
28 TextBox1.Text = e.Message.ToString(); ;
29 }