Update callForwardAll number in a Line
Problem
You want to set or clear a phone number for the CallForwardAll of a given Directory Number
Solution
Cisco UC Manager Version: 8.6
Use the updateLine AXL API to update a line info to Unified Communications Manager.
Step 1: Update the line with required information.
The <pattern> is the only required field that indicates the DN you are trying to set or clear a callForwardAll phone number from.
- To update the phone number, enter the new number in the <destination>
- To clear the phone number, just leave the <destination> elements empty
updateLine
Request Response
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.5"> <soapenv:Header/> <soapenv:Body> <ns:updateLine sequence="?"> <pattern>DN Number</pattern> <callForwardAll> <destination>123456</destination> </callForwardAll> </ns:updateLine> </soapenv:Body> </soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns:updateLineResponse xmlns:ns="http://www.cisco.com/AXL/API/8.5"> <return>{FC6F5923-7F4C-CDCD-69F3-0FDA4B8D9C0F}</return> </ns:updateLineResponse> </soapenv:Body> </soapenv:Envelope>