<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>UpdatePhone701 fails with "numPlanId was not found" message</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=2403861" />
  <subtitle>UpdatePhone701 fails with "numPlanId was not found" message</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=2403861</id>
  <updated>2013-05-24T09:53:41Z</updated>
  <dc:date>2013-05-24T09:53:41Z</dc:date>
  <entry>
    <title>RE: UpdatePhone701 fails with "numPlanId was not found" message</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2414337" />
    <author>
      <name>Craig Thrall</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2414337</id>
    <updated>2010-08-06T02:51:02Z</updated>
    <published>2010-08-06T02:51:02Z</published>
    <summary type="html">Huh. Bill, which version of CUCM are you running exactly? I wonder if the AXL changed. CUCM is trying to run "insert into DeviceNumPlanMap ( fkDevice,pkid ) values (
'78db1103-545c-4aca-a334-8c6a20b6d46c','e110be1c-07f2-18f9-5802-4bac0e8a7cd7'
)" but it looks like there is a clause on devicenumplanmap that prevents fknumplan from being null.
 
I would suggest taking a look at the AXL documentation and database schema as well.
 
Craig
 
[quote]Thanks, Abhishek &amp; Craig for your replies.
 
I created a directory number of 2000 in CUCM and ran my CUAE script again, but still got an error.  Log snippets from CUAE/CUCM are included.
 
From CUAE:
 
2010:08:05::14:18:19(26): Warning: TestScript-2 Soap Fault.
&lt;axl:Error xmlns:axl="[url=http://www.cisco.com/AXL/API/7.0"&gt;&lt;axl:code&gt;-391&lt;/axl:code&gt;&lt;axl:message&gt;Cannot]http://www.cisco.com/AXL/API/7.0"&gt;&lt;axl:code&gt;-391&lt;/axl:code&gt;&lt;axl:message&gt;Cannot[/url] insert a null into column (devicenumplanmap.fknumplan).&lt;/axl:message&gt;&lt;request&gt;updatePhone&lt;/request&gt;&lt;/axl:Error&gt;
From CUCM:
 
2010-08-05 08:58:16,858 DEBUG [http-8443-5] axl.Handler - insert into DeviceNumPlanMap ( fkDevice,pkid ) values ( '78db1103-545c-4aca-a334-8c6a20b6d46c','e110be1c-07f2-18f9-5802-4bac0e8a7cd7' ) 
2010-08-05 08:58:16,951 ERROR [http-8443-5] axl.Handler - [url=mailto:com.cisco.ccm.axl.PhoneHandler@1117dbf]com.cisco.ccm.axl.PhoneHandler@1117dbf[/url]
java.sql.SQLException: Cannot insert a null into column (devicenumplanmap.fknumplan).
 at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3171)
 at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3484)
 
Complete logs are also attached.
 
Thanks,
 
Bill
 

Hi Bill,
 
Yes, you first must create the line in CUCM before you attempt to add it to a device.
 
Craig


Hi,
 
I have a script in which I am attempting to add a line to a phone.  Using the AddLineItem701, I set DirectoryNumberId to the extension that I want to create, say 2000.  Then I pass the lines output to my UpdatePhone701 control, but I get the following error.
 
 
2010:08:03::18:17:29(42): Warning: TestScript-2 Soap Fault.
&lt;axl:Error xmlns:axl="http://www.cisco.com/AXL/API/7.0"&gt;&lt;axl:code&gt;5007&lt;/axl:code&gt;&lt;axl:message&gt;Item not valid: The specified numPlanId was not found&lt;/axl:message&gt;&lt;request&gt;updatePhone&lt;/request&gt;&lt;/axl:Error&gt;
 
Can somebody explain the correct procedure to me?  Does the line have to exist in CUCM before I can pass it to AddLineItem?
 
CUCM version - 7.1.3, CUAE version - 2.5.1.
 
Thanks very much.
 
Bill[/quote]</summary>
    <dc:creator>Craig Thrall</dc:creator>
    <dc:date>2010-08-06T02:51:02Z</dc:date>
  </entry>
  <entry>
    <title>RE: UpdatePhone701 fails with "numPlanId was not found" message</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2412828" />
    <author>
      <name>William Honneus</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2412828</id>
    <updated>2010-08-06T01:25:15Z</updated>
    <published>2010-08-06T01:25:15Z</published>
    <summary type="html">Thanks, Abhishek &amp; Craig for your replies.
 
I created a directory number of 2000 in CUCM and ran my CUAE script again, but still got an error.  Log snippets from CUAE/CUCM are included.
 
From CUAE:
 
2010:08:05::14:18:19(26): Warning: TestScript-2 Soap Fault.
&lt;axl:Error xmlns:axl="[url=http://www.cisco.com/AXL/API/7.0"&gt;&lt;axl:code&gt;-391&lt;/axl:code&gt;&lt;axl:message&gt;Cannot]http://www.cisco.com/AXL/API/7.0"&gt;&lt;axl:code&gt;-391&lt;/axl:code&gt;&lt;axl:message&gt;Cannot[/url] insert a null into column (devicenumplanmap.fknumplan).&lt;/axl:message&gt;&lt;request&gt;updatePhone&lt;/request&gt;&lt;/axl:Error&gt;
From CUCM:
 
2010-08-05 08:58:16,858 DEBUG [http-8443-5] axl.Handler - insert into DeviceNumPlanMap ( fkDevice,pkid ) values ( '78db1103-545c-4aca-a334-8c6a20b6d46c','e110be1c-07f2-18f9-5802-4bac0e8a7cd7' ) 
2010-08-05 08:58:16,951 ERROR [http-8443-5] axl.Handler - [url=mailto:com.cisco.ccm.axl.PhoneHandler@1117dbf]com.cisco.ccm.axl.PhoneHandler@1117dbf[/url]
java.sql.SQLException: Cannot insert a null into column (devicenumplanmap.fknumplan).
 at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3171)
 at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3484)
 
Complete logs are also attached.
 
Thanks,
 
Bill
 

Hi Bill,
 
Yes, you first must create the line in CUCM before you attempt to add it to a device.
 
Craig


Hi,
 
I have a script in which I am attempting to add a line to a phone.  Using the AddLineItem701, I set DirectoryNumberId to the extension that I want to create, say 2000.  Then I pass the lines output to my UpdatePhone701 control, but I get the following error.
 
 
2010:08:03::18:17:29(42): Warning: TestScript-2 Soap Fault.
&lt;axl:Error xmlns:axl="http://www.cisco.com/AXL/API/7.0"&gt;&lt;axl:code&gt;5007&lt;/axl:code&gt;&lt;axl:message&gt;Item not valid: The specified numPlanId was not found&lt;/axl:message&gt;&lt;request&gt;updatePhone&lt;/request&gt;&lt;/axl:Error&gt;
 
Can somebody explain the correct procedure to me?  Does the line have to exist in CUCM before I can pass it to AddLineItem?
 
CUCM version - 7.1.3, CUAE version - 2.5.1.
 
Thanks very much.
 
Bill</summary>
    <dc:creator>William Honneus</dc:creator>
    <dc:date>2010-08-06T01:25:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: UpdatePhone701 fails with "numPlanId was not found" message</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2409898" />
    <author>
      <name>Craig Thrall</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2409898</id>
    <updated>2010-08-05T17:24:14Z</updated>
    <published>2010-08-05T17:23:08Z</published>
    <summary type="html">Hi Bill,
 
Yes, you first must create the line in CUCM before you attempt to add it to a device.
 
Craig


Hi,
 
I have a script in which I am attempting to add a line to a phone.  Using the AddLineItem701, I set DirectoryNumberId to the extension that I want to create, say 2000.  Then I pass the lines output to my UpdatePhone701 control, but I get the following error.
 
 
2010:08:03::18:17:29(42): Warning: TestScript-2 Soap Fault.
&lt;axl:Error xmlns:axl="http://www.cisco.com/AXL/API/7.0"&gt;&lt;axl:code&gt;5007&lt;/axl:code&gt;&lt;axl:message&gt;Item not valid: The specified numPlanId was not found&lt;/axl:message&gt;&lt;request&gt;updatePhone&lt;/request&gt;&lt;/axl:Error&gt;
 
Can somebody explain the correct procedure to me?  Does the line have to exist in CUCM before I can pass it to AddLineItem?
 
CUCM version - 7.1.3, CUAE version - 2.5.1.
 
Thanks very much.
 
Bill</summary>
    <dc:creator>Craig Thrall</dc:creator>
    <dc:date>2010-08-05T17:23:08Z</dc:date>
  </entry>
  <entry>
    <title>RE: UpdatePhone701 fails with "numPlanId was not found" message</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2410676" />
    <author>
      <name>Abhishek Singh</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2410676</id>
    <updated>2010-08-05T16:13:23Z</updated>
    <published>2010-08-05T16:13:23Z</published>
    <summary type="html">Hi Bill,
 
Looks like you are missing some action parameter or entering a wrong data in the action parameter. 
 
You can get the details of which from the AXL logs.
 
You can collect the AXL Logs from RTMT. Download RTMT from the CUCM and install in your system.
 
1. Login to RTMT using the CUCM credentials.
2. Go to Trace and Log Central -&gt; Collect Files.
3. Select the Cisco AXL Web services from the list. 
4. Select the time duration relative range and Zip the files. The file will get downloaded to the specified location.
 
Before doing all this set the Trace configuration settings for AXL web services to Debug.
 
Do let us know what error you get in the logs of AXL.
 
Thanks,
Abhishek
 
[quote]Hi,
 
I have a script in which I am attempting to add a line to a phone.  Using the AddLineItem701, I set DirectoryNumberId to the extension that I want to create, say 2000.  Then I pass the lines output to my UpdatePhone701 control, but I get the following error.
 
 
2010:08:03::18:17:29(42): Warning: TestScript-2 Soap Fault.
&lt;axl:Error xmlns:axl="http://www.cisco.com/AXL/API/7.0"&gt;&lt;axl:code&gt;5007&lt;/axl:code&gt;&lt;axl:message&gt;Item not valid: The specified numPlanId was not found&lt;/axl:message&gt;&lt;request&gt;updatePhone&lt;/request&gt;&lt;/axl:Error&gt;
 
Can somebody explain the correct procedure to me?  Does the line have to exist in CUCM before I can pass it to AddLineItem?
 
CUCM version - 7.1.3, CUAE version - 2.5.1.
 
Thanks very much.
 
Bill[/quote]</summary>
    <dc:creator>Abhishek Singh</dc:creator>
    <dc:date>2010-08-05T16:13:23Z</dc:date>
  </entry>
  <entry>
    <title>UpdatePhone701 fails with "numPlanId was not found" message</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2403860" />
    <author>
      <name>William Honneus</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2403860</id>
    <updated>2010-08-04T04:50:58Z</updated>
    <published>2010-08-04T04:50:58Z</published>
    <summary type="html">Hi,
 
I have a script in which I am attempting to add a line to a phone.  Using the AddLineItem701, I set DirectoryNumberId to the extension that I want to create, say 2000.  Then I pass the lines output to my UpdatePhone701 control, but I get the following error.
 
 
2010:08:03::18:17:29(42): Warning: TestScript-2 Soap Fault.
&lt;axl:Error xmlns:axl="http://www.cisco.com/AXL/API/7.0"&gt;&lt;axl:code&gt;5007&lt;/axl:code&gt;&lt;axl:message&gt;Item not valid: The specified numPlanId was not found&lt;/axl:message&gt;&lt;request&gt;updatePhone&lt;/request&gt;&lt;/axl:Error&gt;
 
Can somebody explain the correct procedure to me?  Does the line have to exist in CUCM before I can pass it to AddLineItem?
 
CUCM version - 7.1.3, CUAE version - 2.5.1.
 
Thanks very much.
 
Bill</summary>
    <dc:creator>William Honneus</dc:creator>
    <dc:date>2010-08-04T04:50:58Z</dc:date>
  </entry>
</feed>

