Please note: These WebEx forums have replaced the earlier site forums. All the previous threads and posts have been replicated here, and if you subscribed to the previous forums, please re-subscribe. Thank you.
« Back to Scheduling Meetings

RE: Call-In no longer available?

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hello,

For scheduling meetings via API, the default telephony option is NONE. To enable telephony, you would need to set telephonySupport to CALLIN or CALLBACK. Your modified code would look like the following:

<?php
function createMeeting() {

$xml = '';
$xml = '<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">';
$xml .= '<header>';
$xml .= '<securityContext>';
$xml .= '<webExID>'.$webExID.'</webExID>';
$xml .= '<password>'.$password.'</password>';
$xml .= '<siteName>'.$sitename.'</siteName>';
$xml .= '</securityContext>';
$xml .= '</header>';
$xml .= '<body>';
$xml .= '<bodyContent xsi:type="java:com.webex.service.binding.meeting.CreateMeeting">';
$xml .= '<accessControl>';
$xml .= '<meetingPassword>'.$meeting_password.'</meetingPassword>';
$xml .= '</accessControl>';

$xml .= '<metaData>';
$xml .= '<confName>'.$title.'</confName>';
$xml .= '<meetingType>123</meetingType>';
$xml .= '</metaData>';

$xml .= '<enableOptions>';
$xml .= '<multiVideo>True</multiVideo>';
$xml .= '<audioVideo>True</audioVideo>';
$xml .= '<supportUCFRichMedia>true</supportUCFRichMedia>';
$xml .= '<chatAllAttendees>true</chatAllAttendees>';
$xml .= '<chatHost>true</chatHost>';
$xml .= '<chatPresenter>true</chatPresenter>';
$xml .= '<attendeeList>true</attendeeList>';
$xml .= '</enableOptions>';

$xml .='<telephony>';
$xml .='<telephonySupport>CALLBACK</telephonySupport>';
$xml .=</telephony>';


$xml .='<participants>';
$xml .='<maxUserNumber>'.$userNumbers.'</maxUserNumber>';
$xml .='<attendees>';
$xml .='<attendee>';
$xml .='<person>';
$xml .='<name>'.$host_name.'</name>';
$xml .='<email>'.$host_email.'</email>';
$xml .='</person>';
$xml .='<role>HOST</role>';
$xml .='</attendee>';
$xml .='<attendee>';
$xml .='<person>';
$xml .='<name>'.$speaker_name.'</name>';
$xml .='<email>'.$speaker_email.'</email>';
$xml .='</person>';
$xml .='<role>ATTENDEE</role>';
$xml .='</attendee>';
$xml .='</attendees>';
$xml .='</participants>';

$xml .= '<schedule>';
$xml .= '<startDate>'.$start_date.'</startDate>';
$xml .= '<duration>'.$duration.'</duration>';
$xml .= '<timeZoneID>20</timeZoneID>';
$xml .= '</schedule>';
$xml .= '</bodyContent>';
$xml .= '</body>';
$xml .= '</serv:message>';
}
?>

Hey Nathan,

Thank you for the swift response. I was wondering what has changed (in WebEx platform), since the code as it used to provide a call-in / conference number before? The platform was steady for close to a year. I'm just wondering what may have changed. This allows users to call in OR listen to the audio conference via webex too right? Finding the documentation for WebEx XML API 7.0 was a tad difficult . This site isn't the easiest to navigate, then again I'm poof at site navigation..

Thanks again for your reply,

Pierre

Hello,

There was no change to the APIs. Telephony support has always defaulted to NONE. For computer audio, voip needs to be set to TRUE in your enableOptions block as well. I would expect to find a code change occurred with your integration or past meetings may have been updated directly from the WebEx user interface to enable audio.

As for documentation, the latest reference guide available is for XML 5.8, but it can be used to design your 7.0 integration. We do provide release notes for 6.0 and 7.0 by using the Develop menu at the top of this page and navigating to XML API -> Reference.

Hey Nathan,
 
Thanks again for the quick response. I'm the only one that maintains the code for our site and I haven't touched it in since I took over the project (1 year ago). So I'm wondering if / when we updated to WebEx Meeting center (I know it got renamed to this now) if possibly that did it and stopped the availability of calling in. So If I simply add the callback option and the enable voip users will be prompted with a number to dial in with a conference line?
 
thanks again for swift responses,
Pierre

Hello,

That's right. If your site has callback telephony, setting telephonySupport to CALLBACK will result in the popup asking for telephone number, setting telephonySupport to CALLIN will give a dial-in number and attendee ID. Setting voip to TRUE will result in computer audio being made available.

Hey Nathan,

Sorry for not getting back to you sooner. I was just wondering, again I
know what you've said however for whatever the reason being it doesn't
seem to make sense as it used to work and suddenly does not after
receiving an e-mail stating that WebEx has changed. If all I need to do
is simply add that CALLIN part of the XML api then that's what I will
do. I hope this fixes my issue.

Thank you again for all the responses.

Pierre

Hello,

I would only be able to guess about why it may have worked in the past but the design of the XML API has always been to default telephonySupport to NONE, resulting in telephony being unavailable during the session. Setting telephonySupport to CALLIN during your scheduling request would result in the teleconference popup prompting for the user to dial in, as long as your site and host account have telephony privileges.

Hello,

That's right. If your site has callback telephony, setting telephonySupport to CALLBACK will result in the popup asking for telephone number, setting telephonySupport to CALLIN will give a dial-in number and attendee ID. Setting voip to TRUE will result in computer audio being made available.

 
Hi there, I am working with a customer that has callback telephony (when I join their meetings it prompts me to enter a callback number). Creating a meeting via the API however is coming back with the error The TelephonyType is not supported. Would this be an individual user account issue perhaps?
 
Sample XML:
 

<pre id="line1"><confName>XYZ Conference</confName>
<meetingType></meetingType></metaData>
<accessControl>
<meetingPassword></meetingPassword>
</accessControl>
<enableOptions>
</enableOptions>
<schedule>
<startDate>09/20/2012 11:00:00</startDate>
<openTime>900</openTime>
<joinTeleconfBeforeHost>false</joinTeleconfBeforeHost>
<duration>360</duration>
<timeZoneID>4</timeZoneID>
</schedule>
<telephony>
<telephonySupport>CALLBACK</telephonySupport>
</telephony></pre>
<pre id="line1">
</pre>
<pre id="line1">Response:</pre>
<pre id="line1">
</pre>
<pre id="line1">
<serv:header>
<serv:response>
<serv:result>FAILURE</serv:result>
<serv:reason>The TelephonyType is not supported.</serv:reason>
<serv:gsbStatus>PRIMARY</serv:gsbStatus>
<serv:exceptionID>010004</serv:exceptionID>
</serv:response>
</serv:header>
<serv:body>
<serv:bodyContent/>
</serv:body>
</serv:message></pre>

Hi Ken,

Can you please confirm what WebEx site URL (i.e. sitename.webex.com) you were POSTing the above request to? This error is generally returned when the site itself doesn't support Telephony.

Regards,

Jayde Moors
API Developer Services

Hi Jayde,

They use Meetingplace integrated in I discovered. I am assuming I need to set the telephony support to OTHER and enableTSP to True.

Haven't researched yet what other tags within the telephone section I need to add...

I apologize for resurecting an older thread I was wondering how would I change the above code to support my own toll-free support number with my voip options.
$xml .= '<voip>true</voip>';
  $xml .= '</enableOptions>';
    $xml .='<telephony>';
         $xml .='<telephonySupport>CALLIN</telephonySupport>';
            $xml .='<extTelephonyDescription>Call 1-800-957-9658, Passcode 187194</extTelephonyDescription>';
     $xml .='</telephony>';
 
But it still prompts the toll number. If I change the CALLIN to OTHER it prompts the number HOWEVER it doesn't allow VoIP. what am I doing wrong here?
 
Thanks in advance.

Create a Cisco account today and gain access across all Cisco Collaboration Developer sites.

 

Follow the WebEx Developer program on Twitter for the latest industry and WebEx Meetings related information.