cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1618
Views
0
Helpful
10
Replies

WebEX Code to start an instant meeting

Cliff Larson
Level 4
Level 4

Does anyone know or have any example code on how to start an Instant  Meeting with WebEX?

I can create a meeting, it's just not instant?

10 Replies 10

jaydem
Cisco Employee
Cisco Employee

Hi Cliff,

I woud suggest simulating an instant meeting by creating a meeting via XML CreateMeeting (or URL API m.php?AT=SM) then either building your own host meeting URL or using XML GethostURLMeeting to auto generate it.  You can reference the

Launching an “Instant” Meeting section on page 4 in "Scheduling and Launching Meetings on Mobile Devices using WebEx Web Conferencing APIs" tech notes on http://webexdeveloper.com > Learn > Tech Notes and White Papers.

Regards,

Jayde

Cliff Larson
Level 4
Level 4

I see this documentation:

https://developer.cisco.com/fileMedia/download/0e46fc7d-d979-481f-b5d2-e1d14203541a

It speaks about an Impromptu Meeting?

Hi Cliff,

While you could use m.php?AT=IM to start an "instant" meeting, it's generally not recommended.  It will automatically start a meeting without pre-scheduling it; however obtaining/generating a join link is more difficult.  The meeting number (which you would utilize to generate your join link) is not returned back upon the meeting start with AT=IM.  Therefore it's better to simulate an instant meeting flow by scheduling it first (which will return the meeting key).

Regards,

Jayde

Thanks agin for your replies.

I have tried all the code from all the documents and nothing really works with creating an instant meeting. Using the code it just logs me in, then just goes to the Join an Unlisted Meeting page?


Totally lost..

But thanks,


Cliff

Hi Cliff,

If you can provide some additional details regarding the exact steps and APIs being used we can try to assist.  No need to provide any security details (i.e. username/password or siteID/partnerID) but seeing the API requests would help.  If there are any errors being returned by the URL API, it will be appended to the returned URL (i.e. AT=HM&ST=FAIL&RS={ReasonForFailure}).

Regards,

Jayde

This is one of the files:

<html> <head>

<title>Schedule Meeting</title> <STYLE>

.hdr {font-family:Verdana; font-size: 10pt; font-weight: bold; color: #000000; background-color: #99CCFF }
.reg {font-family:Verdana; font-size: 8pt; font-weight: bold; color: #000000; background-color: #EEEEEE }
.regr {font-family:Verdana; font-size: 8pt; font-weight: bold; color: #FF0000; background-color: #EEEEEE }
.regb {font-family:Verdana; font-size: 8pt; font-weight: bold; color: #0066ff; background-color: #EEEEEE }
.red {font-family:Verdana; font-size: 8pt; font-weight: bold; color: #FF0000; background-color: #ffffff }
</STYLE> </head>

<body>

<div align="center">

<table border="0" width="60%" cellspacing="0" cellpadding="0">

<tr>

<td class="hdr" width="100%" colspan="2" align="center">

</td> </tr>

<form name="schedulemeeting" METHOD="POST" action="https://xxx.webex.com/xxx/m.php">

<tr>

<td class="regr" width="50%" align="right"> </td> <td class="reg" width="50%" valign="baseline"> </td>

</tr>

<tr>

<td class="reg" width="50%" align="right">

AT:   </td>

<td class="regb" width="50%" valign="baseline"> SM 
<input type="hidden" name="AT" size="20" value="SM">

</td> </tr>

<tr>

<td class="reg" width="50%" align="right">

Meeting Name (MN):   </td>

<td class="reg" width="50%" align="left">

<input type="text" name="MN" size="20" tabindex="1">

</td> </tr>

<tr>

<td class="reg" width="50%" align="right">

Password (PW):   </td>

<td class="reg" width="50%" align="left">

<input type="password" name="PW" size="20" tabindex="2">

</td> </tr>

<tr>

<td class="reg" width="50%" align="right">

Duration (DU):   </td>

<td class="reg" width="50%" align="left">

<input type="text" name="DU" size="2" tabindex="3">

</td> </tr>

<tr>

<td class="regr" width="50%" align="right">

Date (YE/MO/DA):   </td>

<td class="regr" width="50%" align="left"> <select size="1" name="YE" tabindex="4">

<option <option
selected value>
- </option>

<option value="1999">1999</option>

<option value="2000">2000</option> ]

<option value="2001">2001</option>

<option value="2002">2002</option>

<option value="2003">2003</option>

<option value="2004">2004</option>

<option value="2014">2014</option>

</select>

<select size="1" name="MO" tabindex="5">

<option selected value> - </option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option>

</select>

<select size="1" name="DA" tabindex="6">

<option selected value> - </option> <option value="1">1</option>

<option value="2">2</option> <option value="3">3</option>

<option value="4">4</option> <option value="5">5</option>

<option value="6">6</option> <option value="7">7</option>

<option value="8">8</option> <option value="9">9</option>

<option value="10">10</option> <option value="11">11</option>

<option value="12">12</option> <option value="13">13</option>

<option value="14">14</option> <option value="15">15</option>

<option value="16">16</option> <option value="17">17</option>

<option value="18">18</option> <option value="19">19</option>

<option value="20">20</option> <option value="21">21</option>

<option value="22">22</option> <option value="23">23</option>

<option value="24">24</option> <option value="25">25</option>

<option value="26">26</option> <option value="27">27</option>

<option value="28">28</option>

<option value="29">29</option> <option value="30">30</option>

<option value="31">31</option> </select>

</td> </tr>

<tr>

<td class="regr" width="50%" align="right">

Time (HO:MI):   </td>

<td class="regr" width="50%" align="left"> <select size="1" name="HO" tabindex="7">

<option value="00">0</option> <option value="01">1</option>

<option value="02">2</option> <option value="03">3</option>

<option value="04">4</option> <option value="05">5</option>

<option value="06">6</option> <option value="07">7</option>

<option value="08">8</option> <option value="9">09</option>

<option value="10">10</option> <option value="11">11</option>

<option value="12">12</option> <option value="13">13</option>

<option value="14">14</option> <option value="15">15</option>

<option value="16">16</option> <option value="17">17</option>

<option value="18">18</option> <option value="19">19</option>

<option value="20">20</option> <option value="21">21</option>

<option value="22">22</option> <option value="23">23</option>

<option selected value> - </option> </select>

<select size="1" name="MI" tabindex="8">

<option value="00">0</option> <option value="05">5</option> <option value="10">10</option> <option value="15">15</option> <option value="20">20</option> <option value="25">25</option> <option value="30">30</option> <option value="35">35</option>

<option value="40">40</option> <option value="45">45</option>

<option value="50">50</option>

<option value="55">55</option> <option selected value> - </option>

</select>

</td> </tr>

<tr>

<td class="reg" width="50%" align="right">

Telephone Lines (TL):   </td>

<td class="reg" width="50%" align="left">

<input type="text" name="TL" size="10" tabindex="9">

</td> </tr>

<tr>

<td class="reg" width="50%" align="right">

Call Out Phone Number (CO):   </td>

<td class="reg" width="50%" align="left">

<input type="text" name="CO" size="20" tabindex="10">

</td> </tr>

<!-- <tr>
<td class="reg" width="50%" align="right"> Meeting Features (MF):  
</td>
<td class="reg" width="50%" align="left">
<input type="text" name="MF" size="20" tabindex="11"> </td>
</tr>
<tr>
<td class="reg" width="50%" align="right">
Attendee Options (AO):   </td>
<td class="reg" width="50%" align="left">
<input type="text" name="AO" size="20" tabindex="12">
</td> </tr>
-->

<tr>

<td class="reg" width="50%" align="right">

List Flag (LF):   </td>

<td class="reg" width="50%" align="left">

<input type="text" name="LF" size="20" tabindex="13">

</td> </tr>

<tr>

<td class="regr" width="50%" align="right">

BackURL (BU):   </td>

<td class="regr" width="50%" align="left">

<input type="text" name="BU" size="20" tabindex="14" value="<enter the path
of back.htm>
">
</td>

</tr>

<tr>

<td class="reg" width="50%"> </td> <td class="reg" width="50%"> </td>

</tr>

<tr>

<td class="reg" width="100%" colspan="2" align="center">

<input type="submit" value="Submit" name="B1" tabindex="9">

<input type="reset" value="Reset" name="B2" tabindex="10"> </td>

</tr>

<tr>

<td class="reg" width="50%"> </td> <td class="reg" width="50%"> </td>

</tr>

</form> </table>

<p class="red">* Red field names represent required fields</p>

</div> </body> </html>

I get at the end of the URL:

AT=SM&ST=FAIL&RS=RefCodeIsRequired&RN=TC1

I finally got it working, figured out it was missing the TC1 codes...

Now I just need to figure out how to get the meeting id and start the meeting :-)

Hi Cliff,

If you are scheduling using AT=SM, the meeting number (MK) should be returned in the response (AT=SM&ST=SUCCESS&MK=MeetingKey).  If you schedule using XML API (CreateMeeting) this should also be returned in the XML response.  You would retrieve this value and use it to either build your URL manually (m.php?AT=HM) or have it generated automatically via XML API (GethosturlMeeting).  For joining a meeting you can use m.php?AT=JM or GetjoinurlMeeting.

Regards,

Jayde

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: