Device Phone Number

Version 1
    This document was generated from CDN thread

    Created by: Russell Mitchell on 09-11-2010 03:55:22 PM
    Is there a system property available that a midlet could use to retrieve the device phone number?

    Subject: RE: Device Phone Number
    Replied by: Craig Knighton on 09-11-2010 05:29:24 PM
    Good question - we would like this too.  For now we have resorted to using the device's MAC address as a unique identifier but what we really want is the extension that the user is using.
     
    FYI - to get the MAC address:
     
      String phoneNumber = System.getProperty("com.cisco.device.settings.network.macaddress");

    Subject: RE: Device Phone Number
    Replied by: David Staudt on 11-01-2011 05:08:39 PM
    The phone's local web server has some information - including the primary DN - at /DeviceInformationX (xml format).  Note however that the phones can have more than one DN, and only the primary is listed on the page.  More specific info can be retrieved from UCM using the AXL API and the device's name/MAC, but would require a separate service running somewhere.