I am using AXL to add a User in the CUCM. I am using the following AXL syntax:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/9.1">
<soapenv:Header/>
<soapenv:Body>
<ns:addUser sequence="?">
<user>
<firstName>John</firstName>
<lastName>Doe</lastName>
<userid>john.doe</userid>
<password>1234</password>
<mailid>jd@g.com</mailid>
<department>IT</department>
<enableMobility>T</enableMobility>
<phoneProfiles>
<profileName>john.doe_EM</profileName>
</phoneProfiles>
<associatedDevices>
<device>SEP001F3A924223</device>
</associatedDevices>
</user>
</ns:addUser>
</soapenv:Body>
</soapenv:Envelope>
The above works when I remove the tags for adding defaultProfile and primaryExtension. As a turn around i used the SQL statement for adding the defaultProfile but I am still not able to add the primaryExtension. is there an SQL statement for that?