Managing CUCM User Options

Version 1
    This document was generated from CDN thread

    Created by: JAMES DEPHILLIP II on 05-03-2012 09:11:55 PM
    Is there a way to manage the CUCM User options such as Sinble Number Reach with AXL or some other interface that I am not aware of? If not using AXL would it be possible to use AXL for a SQL query and just update the database tables and if so does anyone know what tables and columns I should look under?
     
    Thanks,
    Jim

    Subject: RE: Managing CUCM User Options
    Replied by: WILL DELAUGHTER on 05-03-2012 10:01:49 PM
    I do it with the following to add it to an existing user:

    addRemoteDestinationProfile - self explanatory
    updateUser - enable mobility and associate primary device
    addRemoteDestination - self explanatory
    updatePhone - set owneruserid and a softkeytemplatename with the mobility buttons

    You can always set up a test user and phone and then do getUser and getPhone to see the option names you need to change.

    Subject: RE: Managing CUCM User Options
    Replied by: JAMES DEPHILLIP II on 05-03-2012 10:37:15 PM
    I need to be able to manage the cucmuser page options is that possible?

    Subject: RE: Managing CUCM User Options
    Replied by: Erick Wellnitz on 06-03-2012 08:43:09 AM
    In a sense, yes you can.  User options only exposes certain aspects of the entire database therefore, with some research and planning you should be able to come up with a reasonable surrogate.

    Depending on your version, it may require some SQL and detective work in the data dictionary.

    Subject: RE: Managing CUCM User Options
    Replied by: Hossam Yahia on 06-03-2012 12:37:41 PM
    Dear All,

    Can anyone help me with this.
    <axlcode>5003</axlcode>
    <axlmessage>Error getting the password.</axlmessage>

    addUserPhoneAssociation - It complains about the password while I have tried every possible format, I even deleted the tag but still same thing.
    Can anyone help please? Thanks in advance.

    ===================================================
    SOAPAction: "CUCMB ver=8.0"
    Content-length: 1098


    <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:addUserPhoneAssociation sequence="1234" xmlns:axl="http://www.cisco.com/AXL/API/8.0">
    <userPhoneAssociation>
    <userId>ABCXp17</userId>
    <password>0188083986</password>
    <pin>123</pin>
    <lastName>HossamXB18</lastName>
    <middleName>HossamX8</middleName>
    <firstName>HossamX1</firstName>
    <productType>Cisco 7940</productType>
    <name>SEPABABA0993335</name>
    <dnCssName>CSS-B</dnCssName>
    <phoneCssName>CSS-U1</phoneCssName>
    <e164Mask>20987772</e164Mask>
    <extension>3377</extension>
    <routePartitionName>P12</routePartitionName>
    <voiceMailProfileName/>
    <enableExtensionMobility>true</enableExtensionMobility>
    </userPhoneAssociation>
    </axl:addUserPhoneAssociation>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>


    ==========================================Response===================================================

    <?xml version='1.0' encoding='UTF-8'?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>Error getting the password.</faultstring>
    <detail>
    <axlError>
    <axlcode>5003</axlcode>
    <axlmessage>Error getting the password.</axlmessage>
    <request>addUserPhoneAssociation</request>
    </axlError>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>