02-22-2007 05:05 AM - edited 03-13-2019 03:56 PM
Hi All
I'm submitting an AXL SOAP query as follows to try to change the busy trigger and max calls parameters for a line.
It appears that when I submit this, regardless of the attributes I set in the AXL POST, the two parameters are set to the default of 2/4 respectively.
I suspect this is because of the way the query works; i.e. it removes all lines, then reassigns the specified lines to the phone.
Anyone seen this or have any ideas?
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<axl:updatePhone xmlns:axl="http://www.cisco.com/AXL/API/1.0" sequence="1">
<name>SEP001AA27AE6F5</name>
<lines>
<line index="1">
<label>NumCallTest</label>
<display>CLITest</display>
<dirn>
<pattern>8486</pattern>
<usage></usage>
<routePartitionName>PT_Phones</routePartitionName>
</dirn>
<ringSetting>Use System Default</ringSetting>
<maxNumcalls>6</maxNumcalls>
<busyTrigger>3</busyTrigger>
<callInfoDisplay>
<callerName>true</callerName>
<callerNumber>true</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</callInfoDisplay>
</line>
</lines>
</axl:updatePhone>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Thanks!
Aaron
02-26-2007 09:34 AM
I'm afraid you're using
and that's it for the directory number.
As having a
BTW, what do you get in terms of return value?
If the update worked out, you should get a new uuid.
03-20-2007 05:18 AM
Hi Stephan
Thanks for the suggestion - I've used the UUID, however still no luck. Get a 200 back, all other lines on the phone disappear, and the line I ask for is applied (just as before).
No change to the maxcalls/busy trigger though.
Content-type: text/xml
Content-length: 791
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 521
Any other suggestions?
Thanks
Aaron
03-20-2007 09:48 AM
Aaron,
Just a suggestion, on the
An I think you already stated but just to be thorough, this does overwrite the existing lines.
Thanks
Fred
03-23-2007 05:17 AM
Hi Fred
Erm...yeah... that was it. I feel sheepish!
I am cursing my Windows background now.
Of course, it would have been nice to get an error back from the service intead of a 200/OK...
Thanks
Aaron
03-26-2007 07:24 AM
Dude I feel your pain. Plenty of times I've had the minor typo in an AXL script which has led to hours of frustration. Glad it works now.
Thanks
Fred
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide