Cti port config

Version 1
    This document was generated from CDN thread

    Created by: Gionata Navarra on 20-07-2010 03:53:56 PM
    Hi,
     
    I'm trying to configure a Cti Port via Axl, with this code:
     
    BigInteger val = BigInteger.valueOf(20000000);
    XIPPhone newPhone = new XIPPhone();
                newPhone.setCtiid(val);
                newPhone.setName("CTIPort2000");
                newPhone.setDescription("ProvaCti");
                newPhone.setProduct("CTI Port");
                newPhone.setModel("CTI Port");
                newPhone.setClazz("Media Termination Point");
                newPhone.setProtocol("SCCP");
                newPhone.setSecurityProfile("Cisco CTI Port - Standard SCCP Non-Secure Profile");
                newPhone.setSecurityProfileName("Cisco CTI Port - Standard SCCP Non-Secure Profile");
     
    but I obtain an exception on setSecurityProfile().
     
    What kind of object I must insert in this field?
     
    thank you.
    GIonata Navarra