Reply
Highlighted
Occasional Advisor
Posts: 13
0
Accepted Solution

RMX api returns ambiguous error : Value is out of range

[ Edited ]

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?

Polycom Employee & Community Manager
Posts: 12,804
0

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

Please be aware:

The purpose of these forums is to allow community members collaborate and help each other.
Questions posted here do not follow Polycom’s SLA guidelines.
If you require assistance from Polycom technical support, please open a
web service request or call us .

The above is necessary in order to track issue internally within Polycom.

You are welcome to post more questions or configuration or logs for other community members to look at but if your issue requires a fix via Polycom you must go via the official support structure.

Please ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

Please remember, if you see a post that helped you , and it answers your question, please mark it as an "Accept as Solution".

This forum reply or post is based upon my personal experience and does not reflect the opinion or view of my employer.
Polycom employee participation within this community is not mandatory and any post or FAQ article provided by myself is done either during my working hours or outside working hours, in my private time, and may be answered on weekends, bank holidays or personal holidays.
Occasional Advisor
Posts: 13
0

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>
Occasional Advisor
Posts: 13
0

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?

Occasional Advisor
Posts: 13
0

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

Occasional Advisor
Posts: 13
0

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