Plantronics + Polycom. Now together as Poly Logo

RMX api returns ambiguous error : Value is out of range

SOLVED
Highlighted
Advisor

RMX api returns ambiguous error : Value is out of range

When creating conferences via the api, there are occasional errors saying "Value is out of range" but there is no place to see which field has the bad value.  I have looked in logs and all over the returned object but found nothing.  Is there anyway to find which field is causing the error to be returned?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Advisor

Re: RMX api returns ambiguous error : Value is out of range

               <MEETING_ROOM>
                  <ON>false</ON>
                  <LIMITED_SEQ>off</LIMITED_SEQ>
               </MEETING_ROOM>

is whats needed to create a reservation/meeting on the rmx without a profile.  Thanks for the help (showing guidelines) these forums are always so helpful

 

 

View solution in original post

Message 6 of 6
5 REPLIES 5
Highlighted
Polycom Employee & Community Manager

Re: RMX api returns ambiguous error : Value is out of range

Hello owengerig,

welcome back to the Polycom Community.

It is always useful to include the currently used Software version as issues experienced or a question asked may already be addressed in a newer release.

This also allows yourself and others to check against current software release notes, Administrator Guides or FAQ post’s.

The above is also stated in the "Read First"

Also maybe include an example of what code you use to post?


Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services

----------------
The title Polycom Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. My official "day" Job is 3rd Level support at Poly but I am unable to provide official support via the community.

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 2 of 6
Highlighted
Advisor

Re: RMX api returns ambiguous error : Value is out of range

RMX version: 8.5.3.47

XML

 

<?xml version="1.0" encoding="UTF-8"?>
<TRANS_RES_1>
   <TRANS_COMMON_PARAMS>
      <MCU_TOKEN>89334</MCU_TOKEN>
      <MCU_USER_TOKEN>89334</MCU_USER_TOKEN>
   </TRANS_COMMON_PARAMS>
   <START>
      <RESERVATION>
            <ID>0</ID>
         <NAME>Name</NAME>
         <START_TIME>2017-03-03T20:20:08</START_TIME>
         <DURATION>
            <HOUR>0</HOUR>
            <MINUTE>20</MINUTE>
            <SECOND>0</SECOND>
         </DURATION>
         <AUTO_LAYOUT>true</AUTO_LAYOUT>
         <NUMERIC_ID>5803718</NUMERIC_ID>
         <ENCRYPTION>false</ENCRYPTION>
         <DISPLAY_NAME>5803718_NP-UTest3452310000</DISPLAY_NAME>
         <IS_TELEPRESENCE_MODE>false</IS_TELEPRESENCE_MODE>
         <LPR>true</LPR>
         <HD_RESOLUTION>hd_1080</HD_RESOLUTION>
         <CONTENT_TO_LEGACY_EPS>true</CONTENT_TO_LEGACY_EPS>
         <ENCRYPTION_TYPE>all_non_encrypted</ENCRYPTION_TYPE>
         <TRANSFER_RATE>1024</TRANSFER_RATE>
         <PARTY_LIST>
            <PARTY>
               <NAME>UTest1973410000</NAME>
               <ID>0</ID>
               <INTERFACE>h323</INTERFACE>
               <ALIAS>
                  <NAME>7771991015</NAME>
                  <ALIAS_TYPE>e164</ALIAS_TYPE>
               </ALIAS>
               <VIDEO_BIT_RATE>1024</VIDEO_BIT_RATE>
               <TELEPRESENCE_MODE>none</TELEPRESENCE_MODE>
            </PARTY>
            <PARTY>
               <NAME>UTest7602710000</NAME>
               <ID>0</ID>
               <INTERFACE>h323</INTERFACE>
               <ALIAS>
                  <NAME>7771991016</NAME>
                  <ALIAS_TYPE>e164</ALIAS_TYPE>
               </ALIAS>
               <VIDEO_BIT_RATE>1024</VIDEO_BIT_RATE>
               <TELEPRESENCE_MODE>none</TELEPRESENCE_MODE>
            </PARTY>
            <PARTY>
               <NAME>UTest1348510000</NAME>
               <ID>0</ID>
               <INTERFACE>sip</INTERFACE>
               <ALIAS>
                  <NAME>571-257-8515@IT65GcDBJPsF4ljakUNOonGx3kEcqcEoi7YqrRGHvVlx.ef</NAME>
                  <ALIAS_TYPE>323_id</ALIAS_TYPE>
               </ALIAS>
               <VIDEO_BIT_RATE>1024</VIDEO_BIT_RATE>
               <SIP_ADDRESS>571-257-8515@IT65GcDBJPsF4ljakUNOonGx3kEcqcEoi7YqrRGHvVlx.ef</SIP_ADDRESS>
               <SIP_ADDRESS_TYPE>uri_type</SIP_ADDRESS_TYPE>
               <TELEPRESENCE_MODE>none</TELEPRESENCE_MODE>
            </PARTY>
            <PARTY>
               <NAME>UTest6400910000</NAME>
               <ID>0</ID>
               <PHONE_LIST>
                  <PHONE1>2573046323</PHONE1>
               </PHONE_LIST>
               <INTERFACE>isdn</INTERFACE>
               <NET_CHANNEL_NUMBER>auto</NET_CHANNEL_NUMBER>
               <ALIAS>
                  <NAME>2573046323</NAME>
                  <ALIAS_TYPE>323_id</ALIAS_TYPE>
               </ALIAS>
               <VIDEO_BIT_RATE>1024</VIDEO_BIT_RATE>
               <TELEPRESENCE_MODE>none</TELEPRESENCE_MODE>
            </PARTY>
         </PARTY_LIST>
      </RESERVATION>
   </START>
</TRANS_RES_1>
Message 3 of 6
Highlighted
Advisor

Re: RMX api returns ambiguous error : Value is out of range

So the issue seems to revolve around 

         <AUTO_LAYOUT>true</AUTO_LAYOUT>

Because if I swap that out for 

         <AD_HOC_PROFILE_ID>38</AD_HOC_PROFILE_ID>
         <AUTO_LAYOUT>false</AUTO_LAYOUT>

I do not get the error.  But than what am i missing when i want a call to be adhoc and not reference a profile?

Message 4 of 6
Highlighted
Advisor

Re: RMX api returns ambiguous error : Value is out of range

I have been reading over the release notes for 8.5.12 but i do not see any mention of this loss in functionality (ad hoc / no profile reservation).  

its really not a big deal since we can still override video layout but i would like to quote something for my team.  Anyone have any idea what version this changed?

 

Out unit test, which produces the xml posted earier shows how it use to work (setting auto layout to true and leaving the ad hoc profile id null), but that doesnt work any longer.  It was something in the later [than when our test was created] releases

Message 5 of 6
Highlighted
Advisor

Re: RMX api returns ambiguous error : Value is out of range

               <MEETING_ROOM>
                  <ON>false</ON>
                  <LIMITED_SEQ>off</LIMITED_SEQ>
               </MEETING_ROOM>

is whats needed to create a reservation/meeting on the rmx without a profile.  Thanks for the help (showing guidelines) these forums are always so helpful

 

 

View solution in original post

Message 6 of 6