Add a Line
Problem
Your application needs to add a new line to Cisco Unified CM.
Solution
Cisco UC Manager Version: 8.5
Use the addLine AXL API to add a new line to Unified Communications Manager.
Step 1: Add line and specify required and optional information.
The pattern (or DN) is the only required field, but you can specify many other attributes and options such as call forwarding behavior in the addLine request. The addLine response returns the uuid of the new line.
addLine
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:addLine sequence="?">
<line>
<pattern>59999</pattern>
<description>59999</description>
<usage>Device</usage>
<routePartitionName uuid="?">Generated_Everyone</routePartitionName>
<callForwardAll>
<forwardToVoiceMail>true</forwardToVoiceMail>
<callingSearchSpaceName uuid="?">Generated_CSS_I_E</callingSearchSpaceName>
<destination>1010</destination>
</callForwardAll>
<callForwardBusy>
<forwardToVoiceMail>false</forwardToVoiceMail>
<callingSearchSpaceName uuid="?">Generated_CSS_I_E</callingSearchSpaceName>
<destination>1010</destination>
</callForwardBusy>
<callForwardNoAnswer>
<forwardToVoiceMail>false</forwardToVoiceMail>
<callingSearchSpaceName uuid="?">Generated_CSS_I_E</callingSearchSpaceName>
<destination>1010</destination>
</callForwardNoAnswer>
<callPickupGroupName uuid="?">Pickup group 1</callPickupGroupName>
</line>
</ns:addLine>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:addLineResponse xmlns:ns="http://www.cisco.com/AXL/API/8.5">
<return>{6671F374-F124-74F5-81BD-473F1AC30337}</return>
</ns:addLineResponse>
</soapenv:Body>
</soapenv:Envelope>
