cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1792
Views
17
Helpful
4
Replies

AXL 11.5 - udpatePhone fails

m.stolzenberg
Spotlight
Spotlight

Hi,

I just tried to do an updatePhone request agains cucm 11.5.

I fired the following request:

<ns:updatePhone sequence="?">

         <!--You have a CHOICE of the next 2 items at this level-->

         <name>SEP00XXXXXXXXXX</name>

       

         <description>Example</description>

         <lines>

            <!--You have a CHOICE of the next 2 items at this level-->

            <!--1 or more repetitions:-->

            <line ctiid="?">

               <index>1</index>

               <!--Optional:-->

               <label>Test</label>

               <!--Optional:-->

               <display>Test</display>

               <dirn uuid="?">

                  <pattern>233</pattern>

                  <routePartitionName uuid="?">intern</routePartitionName>

               </dirn>

               <recordingMediaSource>Gateway Preferred</recordingMediaSource>

                </line>

   

         </lines>

      

      </ns:updatePhone>

I get:

<faultstring>Item not valid: The specified numPlanId was not found</faultstring>

233/inter is an existing directory number

I tried the same with addLines

1 Accepted Solution

Accepted Solutions

dstaudt
Cisco Employee
Cisco Employee

It's possible AXL is trying to lookup the directory number based on 'uuid="?"', which is invalid.  Can you try the request while removing the XXX="?" attributes..?

View solution in original post

4 Replies 4

dstaudt
Cisco Employee
Cisco Employee

It's possible AXL is trying to lookup the directory number based on 'uuid="?"', which is invalid.  Can you try the request while removing the XXX="?" attributes..?

Hi,

Many thanks.

After changing to:

<dirn>

the request is successful

Marcus

can you share the exact code for it


@m.stolzenberg wrote:

Hi,

 

Many thanks.

 

After changing to:

<dirn>

 

 

 

the request is successful

 

Marcus


 

Thank you so much guys for sharing.

 

I got this huge project with over 6 thousands lines to update and I was doing it API, and this exactly same issue was killing my code. Thank you I remove the ="?", and it worked beatiful.

 

Thank you

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: