Add parameter to my own Corporate Directory.

Version 1
    This document was generated from CDN thread

    Created by: Baptiste Visentin on 30-01-2012 08:13:09 AM
    Hi everybody ! 
     
    Here is my problem:
     
    I recently develloped my own Corporate Directory with some SoftKeys i needed.
    The fact is that my CD is to be used with phones from different states of my country.
    I want to associate a parameter to my Service URL (http://X.X.X.X/caisses.php) to have something like that :
    http://X.X.X.X/caisses.php?state=VIC
    where state is a parameter registered in the phone's "Device information"
     
    But i really don't know how to process
     
    Thanks for your help !
     
    Baptiste

    Subject: RE: New Message from Baptiste Visentin in IP Phone Services (IPPS) - IP Pho
    Replied by: Cindy Brozyno on 30-01-2012 08:23:41 AM
    When you place the service in the CCM, you can list parameters.


    Cindy Brozyno
    IT Programmer
    DBI Services
    (570) 459-1112  x6269

    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Monday, January 30, 2012 8:13 AM
    To: cdicuser@developer.cisco.com
    Subject: New Message from Baptiste Visentin in IP Phone Services (IPPS) - IP Phone Services Questions: Add parameter to my own Corporate Directory.

    Baptiste Visentin has created a new message in the forum "IP Phone Services Questions":

    --------------------------------------------------------------
    Hi everybody !

    Here is my problem:

    I recently develloped my own Corporate Directory with some SoftKeys i needed.
    The fact is that my CD is to be used with phones from different states of my country.
    I want to associate a parameter to my Service URL (http://X.X.X.X/caisses.php) to have something like that :
    http://X.X.X.X/caisses.php?state=VIC
    where state is a parameter registered in the phone's "Device information"

    But i really don't know how to process

    Thanks for your help !

    Baptiste
    --
    To respond to this post, please click the following link:

    <http://developer.cisco.com/web/ipps/forums/-/message_boards/view_message/5077298>

    or simply reply to this email.

    Subject: RE: Add parameter to my own Corporate Directory.
    Replied by: Baptiste Visentin on 30-01-2012 08:34:17 AM
    Hi Cindy,

    I already tried to create a parameter that way, but afther saving, even if there is no problem, I can't find any parameter available to add to my Corporate Directory.

    When i try again , it says to me that this parameter already exists.

    And i still don't know how to link this parameter to the "state" information of user's phone.

    Baptiste

    Subject: RE: Add parameter to my own Corporate Directory.
    Replied by: David Staudt on 09-02-2012 02:07:01 PM
    When you define the service you can specify parameters for the service - e.g. 'State'.  When you configure that service onto an individual phone, you then have the option of specifying values for the parameters, e.g. 'State' value 'Texas'.  The parameter/value pair will be added to the servcie URL for the specific phone, so when the phone requests the service, the URL parameters will be present and you can extract and use them in your web service.