cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2559
Views
1
Helpful
5
Replies

Enable Collaboration Meeting Room using Create User XML API

jeanborgonia
Level 1
Level 1

Hi all

How do I create a user with CMR automatically enabled? So far, what I know is that the isEnableCET tag enables CMR for a user. However when I send a request with isEnableCET set to TRUE, I get back "TelephonySupport can not be NONE or OTHER for CET user". Upon checking the XML response of Get User api, there is no tag named telephonySupport. The only other tag that has "telephony" in it is otherTelephony but when I tried to send a request with otherTelephony set to TRUE, I get the same error. Is there another tag I'm required to send?

5 Replies 5

ryanhunt
Level 5
Level 5

In the body of your request try adding an element like:

    <telephony>

      <telephonySupport>CALLIN</telephonySupport>

    </telephony>


Valid values are: NONE, CALLIN, CALLBACK, and OTHER.


Can you provide an example of the request you are trying to send?

Hi Ryan

I added the element but got this error: unable to find FieldDescriptor for 'telephony' in ClassDescriptor of privilegeType

Below is an example of the request I am trying to send.

<?xml version="1.0" encoding="UTF8"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:serv="http://www.webex.com/schemas/2002/06/service">

<header>

<securityContext>

<siteID>xxxxxx</siteID>

<webExID>xxxxxxx</webExID>

<password>xxxxxxx</password>

<partnerID>xxxxxxx</partnerID>

</securityContext>

</header>

<body>

<bodyContent xsi:type="java:com.webex.service.binding.user.CreateUser">

<firstName>testUserCMR2</firstName>

<lastName>Testuser</lastName>

<webExId>testUserCMR2</webExId>

<email>xxxxxxx</email>

<password>xxxxxxxx</password>

<active>ACTIVATED</active>

<meetingTypes>

<meetingType>xxxxxxx</meetingType>

</meetingTypes>

<phones>

<phone></phone>

<phone2></phone2>

<mobilePhone></mobilePhone>

<mobilePhone2></mobilePhone2>

<fax></fax>

<pager></pager>

</phones>

<personalUrl></personalUrl><options>

<firstNameVisible></firstNameVisible>

<lastNameVisible></lastNameVisible>

<addressVisible></addressVisible>

<workPhoneVisible></workPhoneVisible>

<cellPhoneVisible></cellPhoneVisible>

<pagerVisible></pagerVisible>

<faxVisible></faxVisible>

<officeUrlVisible></officeUrlVisible>

<pictureVisible></pictureVisible>

<notifyOnNewMessage></notifyOnNewMessage>

<notifyOnMeeting></notifyOnMeeting>

<followMeEnable></followMeEnable>

<emailVisible></emailVisible>

<listInCategory></listInCategory>

<titleVisible></titleVisible>

<folderRead></folderRead>

<folderWrite></folderWrite>

<messageVisible></messageVisible>

<iconSelect1></iconSelect1>

<iconSelect2></iconSelect2>

<acceptLinkRequest></acceptLinkRequest>

<holdOnLinkRequest></holdOnLinkRequest>

<notifyOnLinkRequest></notifyOnLinkRequest>

<supportVideo></supportVideo>

<supportApp></supportApp>

<supportFileShare></supportFileShare>

<supportDesktopShare></supportDesktopShare>

<supportMeetingRecord></supportMeetingRecord>

<supportAppshareRemote></supportAppshareRemote>

<supportWebTourRemote></supportWebTourRemote>

<supportDesktopShareRemote></supportDesktopShareRemote>

<subscriptionOffice></subscriptionOffice>

</options>

<privilege>

<host></host>

<teleConfCallOut></teleConfCallOut>

<teleConfCallOutInternational></teleConfCallOutInternational>

<teleConfCallIn></teleConfCallIn>

<teleConfTollFreeCallIn></teleConfTollFreeCallIn>

<siteAdmin></siteAdmin>

<voiceOverIp></voiceOverIp>

<roSiteAdmin></roSiteAdmin>

<labAdmin></labAdmin>

<otherTelephony></otherTelephony>

<teleConfCallInInternational></teleConfCallInInternational>

<attendeeOnly></attendeeOnly>

<recordingEditor></recordingEditor>

<meetingAssist></meetingAssist>

<HQvideo></HQvideo>

<HDvideo></HDvideo>

<isEnableCET>true</isEnableCET>

<telephony>

<telephonySupport>CALLIN</telephonySupport>

</telephony>

<allowExtAttendees></allowExtAttendees>

<teleCLIAuthEnabled></teleCLIAuthEnabled>

<teleCLIPINEnabled></teleCLIPINEnabled>

</privilege>

<supportedServices>

<meetingCenter>true</meetingCenter>

<trainingCenter></trainingCenter>

<supportCenter></supportCenter>

<eventCenter></eventCenter>

<salesCenter></salesCenter>

</supportedServices>

<sessionOptions>

<autoDeleteAfterMeetingEnd></autoDeleteAfterMeetingEnd>

<displayQuickStartHost></displayQuickStartHost>

<displayQuickStartAttendees></displayQuickStartAttendees>

</sessionOptions>

<remoteSupport>

<recording>

<enforce>

</enforce>

<location>

</location>

</recording>

<autoRequest>

<enable>

</enable>

</autoRequest>

</remoteSupport>

<sendWelcome>

</sendWelcome>

</bodyContent>

</body>

</serv:message>

What meeting type did you use? I see you removed that element, does it support CMR?

I used Meeting Center PRO with custom configurations.

Hi Rejean,

Sorry for the delay! I believe the elements Ryan referenced are more for the actual scheduling of meetings. I've run a test with the following XML CreateUser request and it was successful. Basically, you just need to enable telephony options for the user to be able to use for these meetings. The user doesn't have to have all telephony privileges, but in this case I enabled all available.

CreateUser:

<?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">

  <header>

    <securityContext>

      <webExID>redacted</webExID>

      <password>redacted</password>

      <siteName>redacted</siteName>

    </securityContext>

  </header>

  <body>

    <bodyContent xsi:type="java:com.webex.service.binding.user.CreateUser">

      <firstName>testUserCMR2</firstName>

      <lastName>Testuser</lastName>

      <webExId>testUserCMR2</webExId>

      <email>redacted/email>

      <password>redacted</password>

      <active>ACTIVATED</active>

      <privilege>

        <host>true</host>

        <teleConfCallOut>true</teleConfCallOut>

        <teleConfCallOutInternational>true</teleConfCallOutInternational>

        <teleConfCallIn>true</teleConfCallIn>

        <teleConfTollFreeCallIn>true</teleConfTollFreeCallIn>

        <isEnableCET>true</isEnableCET>

      </privilege>

      <supportedServices>

        <meetingCenter>true</meetingCenter>

      </supportedServices>

    </bodyContent>

  </body>

</serv:message>

To confirm that CMR was enabled, I called GetUser and this is the response:

<?xml version="1.0" encoding="UTF-8"?>

<serv:message>

  <serv:header>

    <serv:response>

      <serv:result>SUCCESS</serv:result>

      <serv:gsbStatus>PRIMARY</serv:gsbStatus>

    </serv:response>

  </serv:header>

  <serv:body>

    <serv:bodyContent xsi:type="use:getUserResponse">

      <use:firstName>testUserCMR2</use:firstName>

      <use:lastName>Testuser</use:lastName>

      <use:categoryId>36</use:categoryId>

      <use:webExId>testUserCMR2</use:webExId>

      <use:address>

        <com:addressType>PERSONAL</com:addressType>

      </use:address>

      <use:phones>

        <use:PIN/>

      </use:phones>

      <use:email>redacted</use:email>

      <use:password>******</use:password>

      <use:personalUrl>testusercmr2</use:personalUrl>

      <use:expirationDate>12/31/2049 23:59:59</use:expirationDate>

      <use:commOptions>

        <use:prodAnnounce>true</use:prodAnnounce>

        <use:trainingInfo>true</use:trainingInfo>

        <use:electronicInfo>true</use:electronicInfo>

        <use:promos>true</use:promos>

        <use:press>true</use:press>

        <use:email>true</use:email>

        <use:fax>true</use:fax>

        <use:phone>true</use:phone>

        <use:mail>true</use:mail>

      </use:commOptions>

      <use:meetingTypes>

        <use:meetingType>3</use:meetingType>

        <use:meetingType>10</use:meetingType>

        <use:meetingType>16</use:meetingType>

      </use:meetingTypes>

      <use:options>

        <use:firstNameVisible>false</use:firstNameVisible>

        <use:lastNameVisible>false</use:lastNameVisible>

        <use:addressVisible>false</use:addressVisible>

        <use:workPhoneVisible>false</use:workPhoneVisible>

        <use:cellPhoneVisible>false</use:cellPhoneVisible>

        <use:pagerVisible>false</use:pagerVisible>

        <use:faxVisible>false</use:faxVisible>

        <use:officeUrlVisible>false</use:officeUrlVisible>

        <use:pictureVisible>false</use:pictureVisible>

        <use:notifyOnNewMessage>false</use:notifyOnNewMessage>

        <use:notifyOnMeeting>false</use:notifyOnMeeting>

        <use:followMeEnable>false</use:followMeEnable>

        <use:emailVisible>false</use:emailVisible>

        <use:listInCategory>false</use:listInCategory>

        <use:titleVisible>false</use:titleVisible>

        <use:folderRead>false</use:folderRead>

        <use:folderWrite>false</use:folderWrite>

        <use:messageVisible>false</use:messageVisible>

        <use:iconSelect1>false</use:iconSelect1>

        <use:iconSelect2>false</use:iconSelect2>

        <use:acceptLinkRequest>false</use:acceptLinkRequest>

        <use:holdOnLinkRequest>false</use:holdOnLinkRequest>

        <use:notifyOnLinkRequest>false</use:notifyOnLinkRequest>

        <use:supportVideo>false</use:supportVideo>

        <use:supportApp>false</use:supportApp>

        <use:supportFileShare>false</use:supportFileShare>

        <use:supportDesktopShare>false</use:supportDesktopShare>

        <use:supportMeetingRecord>false</use:supportMeetingRecord>

        <use:supportAppshareRemote>false</use:supportAppshareRemote>

        <use:supportWebTourRemote>false</use:supportWebTourRemote>

        <use:supportDesktopShareRemote>false</use:supportDesktopShareRemote>

        <use:subscriptionOffice>false</use:subscriptionOffice>

        <use:workPhoneCallback>false</use:workPhoneCallback>

        <use:cellPhoneCallback>false</use:cellPhoneCallback>

        <use:faxCallback>false</use:faxCallback>

        <use:pagerCallback>false</use:pagerCallback>

      </use:options>

      <use:timeZoneID>4</use:timeZoneID>

      <use:timeZone>GMT-08:00, Pacific (San Jose)</use:timeZone>

      <use:timeZoneWithDST>San Francisco (Pacific Daylight Time, GMT-07:00)</use:timeZoneWithDST>

      <use:tracking/>

      <use:service>FREE_OFFICE</use:service>

      <use:privilege>

        <use:host>true</use:host>

        <use:teleConfCallOut>true</use:teleConfCallOut>

        <use:teleConfCallOutInternational>true</use:teleConfCallOutInternational>

        <use:teleConfCallIn>true</use:teleConfCallIn>

        <use:teleConfTollFreeCallIn>true</use:teleConfTollFreeCallIn>

        <use:siteAdmin>false</use:siteAdmin>

        <use:voiceOverIp>true</use:voiceOverIp>

        <use:roSiteAdmin>false</use:roSiteAdmin>

        <use:labAdmin>false</use:labAdmin>

        <use:otherTelephony>true</use:otherTelephony>

        <use:teleConfCallInInternational>true</use:teleConfCallInInternational>

        <use:attendeeOnly>false</use:attendeeOnly>

        <use:recordingEditor>true</use:recordingEditor>

        <use:meetingAssist>false</use:meetingAssist>

        <use:HQvideo>true</use:HQvideo>

        <use:HDvideo>true</use:HDvideo>

        <use:isEnableCET>true</use:isEnableCET>

        <use:isEnablePMR>true</use:isEnablePMR>

        <use:teleCLIAuthEnabled>false</use:teleCLIAuthEnabled>

        <use:teleCLIPINEnabled>false</use:teleCLIPINEnabled>

      </use:privilege>

      <use:language>ENGLISH</use:language>

      <use:locale>U.S.</use:locale>

      <use:active>ACTIVATED</use:active>

      <use:defaultCallIn/>

      <use:tspAccount/>

      <use:supportedServices>

        <use:meetingCenter>true</use:meetingCenter>

        <use:trainingCenter>false</use:trainingCenter>

        <use:supportCenter>false</use:supportCenter>

        <use:eventCenter>false</use:eventCenter>

        <use:salesCenter>false</use:salesCenter>

      </use:supportedServices>

      <use:myWebEx>

        <use:isMyWebExPro>true</use:isMyWebExPro>

        <use:myContact>true</use:myContact>

        <use:myProfile>true</use:myProfile>

        <use:myMeetings>true</use:myMeetings>

        <use:myFolders>true</use:myFolders>

        <use:trainingRecordings>true</use:trainingRecordings>

        <use:recordedEvents>true</use:recordedEvents>

        <use:totalStorageSize>1000</use:totalStorageSize>

        <use:myReports>true</use:myReports>

        <use:myComputer>3</use:myComputer>

        <use:personalMeetingRoom>true</use:personalMeetingRoom>

        <use:myPartnerLinks>true</use:myPartnerLinks>

        <use:myWorkspaces>false</use:myWorkspaces>

        <use:additionalRecordingStorage>0</use:additionalRecordingStorage>

      </use:myWebEx>

      <use:videoSystems/>

      <use:personalMeetingRoom>

        <use:title>testUserCMR2 Testuser's Personal Room</use:title>

        <use:personalMeetingRoomURL>redacted</use:personalMeetingRoomURL>

        <use:sipURL>redacted</use:sipURL>

        <use:accessCode>redacted</use:accessCode>

        <use:hostPIN>redacted</use:hostPIN>

        <use:applyPMRForInstantMeeting>true</use:applyPMRForInstantMeeting>

        <use:PMRAutoLock>false</use:PMRAutoLock>

        <use:PMRAutoLockWaitTime>0</use:PMRAutoLockWaitTime>

        <use:PRNotifications>

          <use:mode>EMAIL</use:mode>

        </use:PRNotifications>

      </use:personalMeetingRoom>

      <use:sessionOptions>

        <use:defaultSessionType>3</use:defaultSessionType>

        <use:defaultServiceType>MeetingCenter</use:defaultServiceType>

        <use:autoDeleteAfterMeetingEnd>false</use:autoDeleteAfterMeetingEnd>

        <use:displayQuickStartHost>true</use:displayQuickStartHost>

        <use:displayQuickStartAttendees>false</use:displayQuickStartAttendees>

      </use:sessionOptions>

      <use:supportCenter>

        <use:serviceDesk>

          <use:enable>false</use:enable>

        </use:serviceDesk>

      </use:supportCenter>

      <use:security>

        <use:forceChangePassword>false</use:forceChangePassword>

        <use:resetPassword>false</use:resetPassword>

        <use:lockAccount>false</use:lockAccount>

      </use:security>

      <use:languageID>1</use:languageID>

      <use:webACDPrefs>

        <use:isAgent>false</use:isAgent>

        <use:isMgr>false</use:isMgr>

        <use:numAgentSessions>0</use:numAgentSessions>

        <use:agentMonitorAllRSQueues>false</use:agentMonitorAllRSQueues>

        <use:managerMonitorAllRSQueues>false</use:managerMonitorAllRSQueues>

        <use:monitorAllRSAgents>false</use:monitorAllRSAgents>

      </use:webACDPrefs>

      <use:remoteSupport>

        <use:sharingView>FS</use:sharingView>

        <use:sharingColor>16BIT</use:sharingColor>

        <use:recording>

          <use:enforce>false</use:enforce>

        </use:recording>

        <use:autoRequest>

          <use:enable>false</use:enable>

        </use:autoRequest>

        <use:defaultClient>

          <use:type>SINGLE_SESS</use:type>

          <use:singleSessClient>NEW_CONSL</use:singleSessClient>

        </use:defaultClient>

      </use:remoteSupport>

      <use:registrationDate>07/21/2016 16:40:59</use:registrationDate>

      <use:visitCount>0</use:visitCount>

      <use:userId>redacted</use:userId>

      <use:eventCenter>

        <use:optimizeAttendeeBandwidthUsage>true</use:optimizeAttendeeBandwidthUsage>

      </use:eventCenter>

      <use:passwordExpires>false</use:passwordExpires>

      <use:passwordDaysLeft>0</use:passwordDaysLeft>

      <use:avatar>

        <use:url>redacted</use:url>

        <use:lastModifiedTime>1454450452000</use:lastModifiedTime>

        <use:initials>TT</use:initials>

        <use:isUploaded>false</use:isUploaded>

      </use:avatar>

    </serv:bodyContent>

  </serv:body>

</serv:message>

Hope this helps,

Kasey

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: