addPhone and "Common Phone Profile"

Version 1
    This document was generated from CDN thread

    Created by: Csaba Virag on 15-02-2010 10:06:31 PM
    Hi All,
     
    I would like to add a phone with addPhone (to CCM 6.1.4
    or 7.1). The new record should have "Common Phone Profile" different
    than default, but I can't find the necessary XML tag in the
    documentation.
    I thought <commonPhoneConfigName> is the right one, but I can't see any effect even if I try with uuid, or plain text.
     
    Can somebody tell me how to set this value through AXL addPhone/updatePhone?
     
    Thanks,
    Csaba

    Subject: RE: addPhone and "Common Phone Profile"
    Replied by: Anitha V on 17-02-2010 09:33:19 AM
    Hi Csaba,
     
    It could be a defect.
     
    Could you please send us the corresponding AXL logs for this issue? Also the corresponding request which you are using?
     
    Thanks and Regards,
    Anitha
    Cisco Developer Services.

    Subject: RE: addPhone and "Common Phone Profile"
    Replied by: Anitha V on 19-02-2010 08:52:42 AM
    Hi Csaba,
     
    I reproduced this issue with addPhone request and it is working fine.
     
    <commonPhoneConfigName> is the right one to change the 'Common phone profile'.
     
    Please find below the sample request for 7.1.
     
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/7.1">
       <soapenv:Header/>
       <soapenv:Body>
                                          <axlapi:addPhone sequence="1" xmlns:axlapi="http://www.cisco.com/AXL/API/7.1" xmlns:axl="http://www.cisco.com/AXL/7.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cisco.com/AXL/API/7.1 axlsoap.xsd">
                                                    <newPhone>
                                                                    <name>SEP123456789101</name>
                                                                    <product>Cisco 7960</product>
                                                                    <model>Cisco 7960</model>
                                                                    <class>Phone</class>
                                                                    <protocol>SCCP</protocol>
                                                                    <protocolSide>User</protocolSide>
                                                                    <devicePoolName>Default</devicePoolName>
                                                                    <commonPhoneConfigName>test</commonPhoneConfigName>
                                                                    <presenceGroupName>Standard Presence group</presenceGroupName>
                                                    </newPhone>
                                    </axlapi:addPhone>
       </soapenv:Body>
    </soapenv:Envelope>
     
    Kindly check your request and do the needful.
     
    Hope this helps.
     
    Regards,
    Anitha
     
     

    Subject: RE: addPhone and "Common Phone Profile"
    Replied by: Csaba Virag on 19-02-2010 03:56:06 PM
    Hi Anitha,
     
    Thanks for the reply. I will check it and come back with my results.
     
    Thanks,
    Csaba

    Subject: RE: addPhone and "Common Phone Profile"
    Replied by: Csaba Virag on 22-02-2010 02:40:55 PM
    HI Anitha,
     
    it did not work. Neither on v6, nor on V7. I got the default value instead of the new one.
     
    I opened a TAC on it.
     
    Thanks for your efforts,
    Csaba