cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
493
Views
0
Helpful
1
Replies

AddPhone XML, is there a way to use the DN instead of the UUID for it?

clairetaylor1
Level 1
Level 1

See below...dirn uuid - is there a way to use the directory number in this command instead of the uuid?

<axl:addPhone xmlns:axl="http://www.cisco.com/AXL/API/1.0" sequence="1">

<newPhone>

  <name>SEPF41FC26718CF</name>

  <lines>

    <line>

<index>1</index>

       <label>Dicks Test</label>

<display></display>

       <dirn uuid="1362B08C-0DF8-2548-ECC3-E4B8A3DEB45D"/>

       <ringSetting>Use System Default</ringSetting>

<consecutiveRingSetting></consecutiveRingSetting>

<dialPlanWizardId>0</dialPlanWizardId>

    </line>

  </lines>

  <model>Cisco 7945</model>

  <product>Cisco 7945</product>

  <protocol>SCCP</protocol>

  <protocolSide>User</protocolSide>

  <callingSearchSpaceName>CSS-NCOS 4 - National_International</callingSearchSpaceName>

  <class>Phone</class>

  <devicePoolName>Default</devicePoolName>

</newPhone>

</axl:addPhone>

1 Reply 1

npetrele
Cisco Employee
Cisco Employee

I think you want <pattern>, for example:

            <dirn>                

              <pattern>12345678</pattern>                

              <routePartitionName>Some Route Partition</routePartitionName>             

            </dirn>