I tried AXL addPhone. After a lot of work it returns:
<faultstring><![CDATA[Item not valid: Directory Number 6673 not found.]]></faultstring>
First: I thought, that you are able to add a line too - do I have to add first the line and then the phone?
Second: I tried a line which is present ... same result.
Any one with any ideas?
yes, you should add the line first
can you please post your SOAP envelope so we can see what you are trying to send?
here is the my envelope (see attachment). If it is true, that you can't add a line during adding a phone, it is not sensefull to specify that much parameters for a line.
In this case I tried against CM 4.1(3)es124.
The Reply of the CM is:
Item not valid: Directory Number 6673 not found.
http://www.cisco.com/AXL/API/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cisco.com/AXL/API/1.0 http://ccm/CCMApi/AXL/V1/axlsoap.xsd">
p.s. it's true 6673 does not exist. But even if I use a DN, which exists, I get the same error.
it should work if the line exists, use this format;
Use System Default