How to change phone extension and check battery level

Version 1
    This document was generated from CDN thread

    Created by: Feng Song Kam on 06-07-2011 01:49:15 AM
    Hi all
     
    Anyone know how to do following:
    1) Change a phone extension
    I searched all properties in XIPPhone and XPhone but couldn't find anything related to phone extension.
    I tried to use XNPCTIDirectoryNumber and XNPDirectoryNumber instead, but couldn't see any property related to associated phone.<font size="2" color="#008080"><font size="2" color="#008080">
     
    </font></font><font size="2" color="#008080">
     
    </font>
     
    2) Check battery level of a wireless phone
    Is there a battery level property I can use in XIPPhone and XPhone?
     
    cheers

    Subject: RE: How to change phone extension and check battery level
    Replied by: Doug Kartio on 06-07-2011 10:57:35 AM
    #1 - look at the updatePhone request and the primaryExtension setting in that call.

    #2 - no idea...  sorry

    Subject: Re: New Message from Feng Song Kam in Administration XML (AXL) - Administra
    Replied by: Sascha Monteiro on 06-07-2011 06:30:57 PM
    Hi,

    1. getPhone    and get the line uuid
    2. getLine    to get the details of the line
    3. updateLine  to set a new extension

    Subject: RE: How to change phone extension and check battery level
    Replied by: Feng Song Kam on 06-07-2011 09:55:15 PM
    #1 - look at the updatePhone request and the primaryExtension setting in that call.
    #2 - no idea... sorry


    I can only find the primaryextension in xuser
    I can't find any updatedphone method in the AXLAPIservice.cs
    btw, I am using the API downloaded from call manager version 6.1

    Subject: RE: Re: New Message from Feng Song Kam in Administration XML (AXL) - Admini
    Replied by: Feng Song Kam on 06-07-2011 09:58:24 PM
    Hi,
    1. getPhone and get the line uuid
    2. getLine to get the details of the line
    3. updateLine to set a new extension

    Hi

    I can find getphonereq and getphoneres, is this what you refering to?
    My call manager is version 6.1, can I use the API of newer version?