Custom LDAP directory - IP Phone Services

Version 1
    This document was generated from CDN thread

    Created by: Sebastian Grana on 17-01-2012 03:16:38 PM
    Hi all,
     
    I'd installed the sdk into a win server and created the customdirectory to pull the users from my AD.
    Everythnig works fine with 79XX phones, but not with 6921-61.
    They can reach the http server and search, but the Next button to change to the next page does not work, and also searching by name or surname doesn´t work either.
    And results are not ordered alphabetically.
    All of this works ok from 79XX.
    Phone firmware is 9.1.1.0.
    Call manager is 8.5.1.
     
    Does anyone know wich could be the problem?
     
    Thanks
     
    Regards

    Subject: RE: Custom LDAP directory - IP Phone Services
    Replied by: David Staudt on 20-01-2012 06:00:02 PM
    Can you provide a network packet capture (e.g. via Wireshark) from the phone during these tests?

    Subject: RE: Custom LDAP directory - IP Phone Services
    Replied by: Sebastian Grana on 23-01-2012 08:46:43 AM
    Hello David,

    Thanks for taking the time to answer.

    I'd made some captures but unfortunetly i don't have them with me.
    I'll take new captures on Thursday and upload them here.

    Meanwhile, what I could see in the captures is that when the 69XX queries it appends all the variables despite they have data or not and the 79XX only when there is data in the variables.

    Example 1:

    69XX with only the firstname field populated, url is like this:

    GET /CiscoIPServices/customdirectory/customer.asp?action=list&f=mau&l=&n=

    Same with 79XX

    GET /CiscoIPServices/customdirectory/customer.asp?action=list&f=mau

    In the 79XX works and returns only the user that start with "mau", in the 69XX all the users are returned, but not ordered and the next button does not work.

    Example 2:

    69XX with all fileds blak:

    GET /CiscoIPServices/customdirectory/customer.asp?action=list&f=&l=&n=

    Same with 79XX

    GET /CiscoIPServices/customdirectory/customer.asp?action=list

    In the 79XX works and returns all users ordered, in the 69XX all the users are returned, but not ordered and the next button does not work.


    I can emulate the ordered or not problem with a web browser, I get the same result as doing in the phone.
    Will upload the captures.

    Thanks

    Subject: RE: Custom LDAP directory - IP Phone Services
    Replied by: Sebastian Grana on 23-01-2012 02:10:50 PM
    Hi,

    I'm updating the captures in this post as I went to the customer today.
    There is one capture for a 6961 and one capture for an IP Comm (same behaviuor as the 7962 we have here).

    Three searches:

    1 - Only populating firstname field with "mau".
    2 - Only populating the number field with 2217.
    3 - All fields empty.

    Thanks

    Subject: RE: Custom LDAP directory - IP Phone Services
    Replied by: Sascha Monteiro on 24-01-2012 06:36:07 PM
    Hi,

    There is a slight difference in how the 2 phone types send the request,
    6961 always seems to send all query string parameters, i..e f=&l=mau&n=
    the IPcomm doesn't seem to, and only sends the parameter that is filled in, i.e. l=mau
    your ASP script will have to deal with these differences...

    The Next key only works if there is a refresh url in the header, not sure why it doesn't work,
    but I see n= in the refresh header, and your entries are sorted by number (n=)

    You can't rely on the SDK on itself for production applications, they are examples to show you some of the details of how to do certain tasks, and haven't been coded to be fully reliable/functional, you are better off building scripts from scratch

    Subject: RE: Custom LDAP directory - IP Phone Services
    Replied by: Sebastian Grana on 24-01-2012 09:17:16 PM
    Hi Sascha,

    I'm already working in that direction.
    Will update the post If I can make this work


    Thanks

    Subject: RE: Custom LDAP directory - IP Phone Services
    Replied by: CHRISTIAN PARVEX on 17-07-2012 09:15:48 AM
    Hi,

    Upgrade your 69xx to the 9.3.1.3 load, the bug in the XML Paser seems to be fixed.
    I had the same issue with the multidirectoty.asp (SDK) deployment. 

    Thanks

    Regards