Set display and displayASCII in a profile

Version 1
    This document was generated from CDN thread

    Created by: Development TeamOne on 01-06-2010 01:59:24 PM
    Hi,
    is it possible to specify the 'display' and 'displayASCII' labels for a profile?
    I'm setting up a device profile, thus I add a line using an AddLineReq:
     
        AddLineReq addLineRequest = new AddLineReq();
        addLineRequest.newLine = new XNPDirectoryNumber();
        (...)
    then I add the line to the profile:
       XNumplanIdentifier line = new XNumplanIdentifier();
       line.directoryNumber = shortTelephoneNumber;
       line.routePartitionName = routeName
       addDeviceProfileRequest.newProfile.lines = new XIPPhoneLines();
       addDeviceProfileRequest.newProfile.lines.Items = new object[] { line };
       (...)
     
    in this case there are no fields like 'dsplay' and 'displayASCII' which I would find in a XLine structure:
    is it possible to add them in a profile?
     
    Thanks
    Mauro
     
     

    Subject: RE: Set display and displayASCII in a profile
    Replied by: David Staudt on 01-06-2010 04:44:58 PM
    When specifying the line, you have the option of using XNPDirectoryNumber or XLine.  Use the latter, which will have elements for display/displayAscii

    Subject: RE: Set display and displayASCII in a profile
    Replied by: Development TeamOne on 03-06-2010 08:43:48 AM
    How can I specify a XLine? The newLine member of AddLineReq is of type XNPDirectoryNumber, not XLine.
    Should I use another request instead of AddLineReq ?
     
    Thanks
    Mauro