cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
391
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Pierre n.a on 26-11-2012 09:55:31 AM
Hello, I haven't posted here in a long time. I was trying to update my code to use our own toll-free number. I'm not sure if I'm doing this properly. I attempted to create a test meeting but when I tried starting the meeting I'm still prompted with the TOLL number and the option of voip too. If I change the telephonySupport to OTHER it works however VoIP option to call in using the computer it doesn't seem to show up.
 
<?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 .= '<voip>true</voip>';
        $xml .= '</enableOptions>';
       $xml .='<telephony>';
           $xml .='<telephonySupport>OTHER</telephonySupport>';
           $xml .='<extTelephonyDescription>!#TollFreeCallInCountryCode:1_1
!#TollFreeCallInTelephonyCountryCode:+1
!#TollFreeCallInNumber:8003477829
!#ParticipantCode:194187</extTelephonyDescription>';
        $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>';
}
$resp = curl_it($xml);
?>
But when I run the code it doesn't seem to allow VoIP and the text looks all jumbled up. Anyone able to see what I did wrong? Thanks in advance.

Subject: RE: telephonySupport CALLIN / OTHER and VoIP
Replied by: Pierre n.a on 26-11-2012 12:36:00 PM
Thank you for the reply,
I have a toll-free number provided by WebEx. Is there a way of getting both VoIP AND the toll free number? I noticed in the XML API reference specifying a toll-free is only upon user creation. How would one specify a toll-free number and enable VoIP? Or is it just not possible? I know that If I use the CALLIN I'm prompted with a Toll number provided by WebEX AND VoIP. What if I want to use a toll-free number provided by WebEx AND VoIP?
 
Thank you again

Subject: RE: telephonySupport CALLIN / OTHER and VoIP
Replied by: Jade Moors on 26-11-2012 11:40:17 AM
Hi Pierre,
 
This would be by design as the VoIP feature cannot be bridged together with "Other Teleconference" and only with WebEx Teleconference.  You can either use VoIP by itself or VoIP with WebEx Teleconference.
 
In regards to the text, it's being sent over as follows so show the same in the audio pop-up window:
 
!#TollFreeCallInCountryCode:1_1
!#TollFreeCallInTelephonyCountryCode:+1
!#TollFreeCallInNumber:8003477829
!#ParticipantCode:194187
 
Regards,
 
Jayde Moors
WebEx API Developer Services

Subject: RE: telephonySupport CALLIN / OTHER and VoIP
Replied by: Jade Moors on 26-11-2012 07:01:35 PM
Hi Pierre,
 
There are additional elements you can pass for <meet:telephony> (see page 736 Figure-45 in the XML API 5.9 Reference Guide), such as <intLocalCallIn> (enables international numbers) and <tollFree> (enable Toll Free call-in).  So you should be able to set <voip>TRUE</voip> as well as <telephony><telephonySupport>CALLIN</telephonySupport><tollFree>TRUE</tollFree></telephony> to enable WebEx Toll Free Call-in and VoIP.
 
Regards,
 
Jayde Moors
WebEx API Developer Services

Subject: RE: telephonySupport CALLIN / OTHER and VoIP
Replied by: Pierre n.a on 27-11-2012 08:21:05 AM
Hey Jade,
Thanks again for the reply. I tried to add the tollFree now the meetings don't seem to schedule properly.
  $xml .= '<enableOptions>';
       $xml .= '<voip>true</voip>';
  $xml .= '</enableOptions>';
  $xml .='<telephony>';
  $xml .='<telephonySupport>CALLIN</telephonySupport>';
             $xml .= '<tollFree>true</tollFree>';
  $xml .='</telephony>';
 
Any hand you can led would be awesome. thanks again.

Subject: RE: telephonySupport CALLIN / OTHER and VoIP
Replied by: Jade Moors on 27-11-2012 07:27:39 PM
Hi Pierre,
 
Are you receiving an error when using this?  I
scheduled a meeting successfully with Toll Free Call-in and VoIP enabled
using the following:
 
<body>
<bodyContent xsi:type="java:com.webex.service.binding.meeting.CreateMeeting">
<accessControl>
<meetingPassword>1q2w3e4r5t</meetingPassword>
</accessControl>
<metaData>
<confName>VoIP/TollFree Test</confName>
</metaData>
<enableOptions>
<voip>TRUE</voip>
</enableOptions>
<schedule>
<startDate>11/28/2012 10:00:00</startDate>
</schedule>
<telephony>
<telephonySupport>CALLIN</telephonySupport>
<tollFree>TRUE</tollFree>
</telephony>
</bodyContent>
</body>
</serv:message>
 
If you are able to provide additional information on what problem you are experiencing (including the WebEx site and WebEx user's first/last name so I can check the account) that would be much appreciated.
 
Regards,
 
Jayde

Subject: RE: telephonySupport CALLIN / OTHER and VoIP
Replied by: Oronzo Lezzi on 19-06-2013 08:58:59 AM
Jade Moors:
Hi Pierre,
 
Are you receiving an error when using this?  I
scheduled a meeting successfully with Toll Free Call-in and VoIP enabled
using the following:
 
<body>
<bodyContent xsi:type="java:com.webex.service.binding.meeting.CreateMeeting">
<accessControl>
<meetingPassword>1q2w3e4r5t</meetingPassword>
</accessControl>
<metaData>
<confName>VoIP/TollFree Test</confName>
</metaData>
<enableOptions>
<voip>TRUE</voip>
</enableOptions>
<schedule>
<startDate>11/28/2012 10:00:00</startDate>
</schedule>
<telephony>
<telephonySupport>CALLIN</telephonySupport>
<tollFree>TRUE</tollFree>
</telephony>
</bodyContent>
</body>
</serv:message>
 
If you are able to provide additional information on what problem you are experiencing (including the WebEx site and WebEx user's first/last name so I can check the account) that would be much appreciated.
 
Regards,
 
Jayde

Hello we want to start meeting with only VOIP support
but we have always this error

" The telephonytype is not  supported"
this is our XML transaction

<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:serv="http://www.webex.com/schemas/2002/06/service" xsi:schemaLocation="http://www.webex.com/schemas/2002/06/service">
    <header>
        <securityContext>
            <webExID>...</webExID>
            <password>...</password>
            <siteID>...</siteID>
            <partnerID>...</partnerID>
        </securityContext>
    </header>
    <body>
        <bodyContent xsi:type="java:com.webex.service.binding.meeting.CreateMeeting">
            <accessControl>
                <meetingPassword>...</meetingPassword>
            </accessControl>
            <metaData>
                <confName>VoIP/TollFree Test</confName>
                <agenda>Test</agenda>
            </metaData>
            <participants>
                <maxUserNumber>4</maxUserNumber>
                <attendees>
                    <attendee>
                        <person>
                            <name>Oronzo</name>
                            <email>...</email>
                        </person>
                    </attendee>
                </attendees>
            </participants>
            <enableOptions>
                <chat>true</chat>
                <voip>true</voip>
                <poll>true</poll>
                <audioVideo>true</audioVideo>
                <meet:attendeeList>true</meet:attendeeList>
                <meet:fileShare>true</meet:fileShare>
                <meet:presentation>true</meet:presentation>
                <meet:applicationShare>true</meet:applicationShare>
                <meet:desktopShare>true</meet:desktopShare>
                <meet:webTour>true</meet:webTour>
                <meet:rcAppShare>true</meet:rcAppShare>
                <meet:rcDesktopShare>true</meet:rcDesktopShare>
                <meet:rcWebTour>true</meet:rcWebTour>
                <meet:supportRemoteComputer>true</meet:supportRemoteComputer>
            </enableOptions>
            <schedule>
                <startDate>06/19/2013 15:48:55</startDate>
                <openTime>900</openTime>
                <joinTeleconfBeforeHost>true</joinTeleconfBeforeHost>
                <duration>20</duration>
                <timeZoneID>23</timeZoneID>
            </schedule>
            <attendeeOptions>
                <emailInvitations>true</emailInvitations>
            </attendeeOptions>
            <telephony>
                <telephonySupport>CALLIN</telephonySupport>
                <tollFree>true</tollFree>
            </telephony>
        </bodyContent>
    </body>
</serv:message>


Regards

Oronzo Lezzi
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:

Quick Links