Susbcribing/Unsubscribing Services for Phone and the Device Profile

Version 1
    This document was generated from CDN thread

    Created by: Manas Varma on 01-12-2009 10:43:54 AM
     this is very urgent please help. How to subscribe for the services while creating the phone/profile itself.
     
      I created a phone and a profile, and  used the following code to enable extension mobility.
     
      XIPPhone  phone =new XIPPhone();
     phone.EnableExtensionMobility=true;
     
     Although my phone and profile is added, but when i go to related links (subscribe/unsubscribe services), no services is selected. What should I do so that Extension Mobility service is selected by default.
     
     Thanks in advance.. Please reply

    Subject: RE: Susbcribing/Unsubscribing Services for Phone and the Device Profile
    Replied by: Paul Wilkinson on 02-12-2009 11:21:15 PM
    Hi,
     
    You need to fill in the services block for your phone or device profile.  Probably the easiest way is to manually assign the required services to a device or profile and then in your program read that profile, extract the services block and copy the values to the services section of your new phone or profile.
     
    Paul

    Subject: RE: Susbcribing/Unsubscribing Services for Phone and the Device Profile
    Replied by: Manas Varma on 04-12-2009 05:32:56 AM
    Hi,
       I tried using what you said, but in Xsubscribedservices , there are mandatory fields. name , item and url.
     
     I am getting problems in filling the url field
     
     my server address is -  ipadress:8043
     
     Can you please specify what should be filled in the "URL" field.
     
     Thanks
     
    Manas

    Subject: RE: Susbcribing/Unsubscribing Services for Phone and the Device Profile
    Replied by: Paul Wilkinson on 06-12-2009 10:18:07 PM
    Hi,
     
    As I said you should be able to copy the URL value from a device where you have assigned the service manually, but for the Extension Mobility application, your URL should be:
     
    http://x.x.x.x:8080/emapp/EMAppServlet?device=#DEVICENAME#
     
    Where x.x.x.x is the IP address of your CUCM publisher.
     
    Paul

    Subject: RE: Susbcribing/Unsubscribing Services for Phone and the Device Profile
    Replied by: Manas Varma on 08-12-2009 03:44:11 AM
    Hi Paul,
     
       I tried using the url what you said. But it still says  "URL not found". Is there any other way for selecting Extension Mobility service by default?
     
     Thanks in Advance
     
    Manas