Plantronics + Polycom. Now together as Poly Logo

Corporate ldap listing goes missing after search

Highlighted
Occasional Advisor

Re: Corporate ldap listing goes missing after search

I am facing same problem. when i search the person and come out of corp dirctory and go to check new contact there is blank search area which is prompting input. as pictures is showing above.

Message 11 of 27
Highlighted
Polycom Employee & Community Manager

Re: Corporate ldap listing goes missing after search

Hello qasimkhans,

welcome back to the Polycom Community.

It is always useful to include the currently used SIP or UC Software version as issues experienced may already be addressed in a newer release.

Please also include if you are using a SIP server or a LYNC server.

 

It also helps if you state what phone you are using.

This also allows yourself and others to check against current software release notes.

The above is also stated in the "Read First: Welcome to the Polycom VoIP Forum"

Therefore the Polycom VoIP FAQ contains this post here:

Question: How can I find out my SIP UC Software Version or the BootROM Version of my Phone?
Resolution: Please check here

 

As the original post is rather old I suggest you work with your Polycom reseller if you require any assistance or support.


Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 12 of 27
Highlighted
Occasional Advisor

Re: Corporate ldap listing goes missing after search

Hi Steffen,

                    Following are the details of my phone and UC software. i cannot see any contact at all even i try to search there is message "No entries found"

 

BootROM Software Version 5.0.9.0001 UC Software Version 4.0.9.0509 Phone Model SoundPoint IP 670

i am using SIP (Asterisk) and my LDAP server is Win 2008 (i am using Active Directory). following is my Corp Directory config.

 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!-- Generated features.cfg Configuration File -->
<polycomConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="polycomConfig.xsd">
<dir>
<dir.corp dir.corp.address="itcdc001.itc.com" dir.corp.autoQuerySubmitTimeout="1" dir.corp.backGroundSync="1" dir.corp.baseDN="DC=itc, DC=com" dir.corp.bindOnInit="1" dir.corp.cacheSize="128" dir.corp.customError="Server Not Found!!!" dir.corp.domain="" dir.corp.filterPrefix="(objectclass=person)" dir.corp.pageSize="64" dir.corp.password="Polycom456" dir.corp.port="389" dir.corp.querySupportedControlOnInit="1" dir.corp.scope="sub" dir.corp.sortControl="0" dir.corp.transport="TCP" dir.corp.user="polycom@itc.com" dir.corp.viewPersistence="0">
<dir.corp.alt dir.corp.alt.address="" dir.corp.alt.autoQuerySubmitTimeout="0" dir.corp.alt.backGroundSync="0" dir.corp.alt.cacheSize="128" dir.corp.alt.domain="" dir.corp.alt.label="Global Address Book" dir.corp.alt.pageSize="32" dir.corp.alt.password="" dir.corp.alt.port="0" dir.corp.alt.protocol="sopi" dir.corp.alt.secCacheSize="32" dir.corp.alt.sortControl="0" dir.corp.alt.transport="TCP" dir.corp.alt.user="" dir.corp.alt.verifyCert="1" dir.corp.alt.viewPersistence="0">
<dir.corp.alt.attribute dir.corp.alt.attribute.1.filter="" dir.corp.alt.attribute.1.label="" dir.corp.alt.attribute.1.name="" dir.corp.alt.attribute.1.sticky="0" dir.corp.alt.attribute.1.type="last_name" dir.corp.alt.attribute.2.filter="" dir.corp.alt.attribute.2.label="" dir.corp.alt.attribute.2.name="" dir.corp.alt.attribute.2.sticky="0" dir.corp.alt.attribute.2.type="last_name"></dir.corp.alt.attribute>
<dir.corp.alt.auth dir.corp.alt.auth.useLoginCredentials="0"></dir.corp.alt.auth>
<dir.corp.alt.backGroundSync dir.corp.alt.backGroundSync.period="86400"></dir.corp.alt.backGroundSync>
<dir.corp.alt.utfSubset dir.corp.alt.utfSubset.1.start="" dir.corp.alt.utfSubset.1.stop="" dir.corp.alt.utfSubset.2.start="" dir.corp.alt.utfSubset.2.stop=""></dir.corp.alt.utfSubset>
</dir.corp.alt>
<dir.corp.attribute dir.corp.attribute.1.addstar="1" dir.corp.attribute.1.filter="" dir.corp.attribute.1.label="First Name" dir.corp.attribute.1.name="giveName" dir.corp.attribute.1.searchable="1" dir.corp.attribute.1.sticky="0" dir.corp.attribute.1.type="first_name" dir.corp.attribute.2.addstar="1" dir.corp.attribute.2.filter="" dir.corp.attribute.2.label="Last Name" dir.corp.attribute.2.name="sn" dir.corp.attribute.2.searchable="1" dir.corp.attribute.2.sticky="0" dir.corp.attribute.2.type="last_name" dir.corp.attribute.3.addstar="1" dir.corp.attribute.3.filter="" dir.corp.attribute.3.label="Exten" dir.corp.attribute.3.name="telephoneNumber" dir.corp.attribute.3.searchable="1" dir.corp.attribute.3.sticky="0" dir.corp.attribute.3.type="phone_number"></dir.corp.attribute>
<dir.corp.auth dir.corp.auth.useLoginCredentials="0"></dir.corp.auth>
<dir.corp.backGroundSync dir.corp.backGroundSync.period="86400"></dir.corp.backGroundSync>
<dir.corp.viewPersistence dir.corp.viewPersistence.form="0"></dir.corp.viewPersistence>
<dir.corp.vlv dir.corp.vlv.allow="0" dir.corp.vlv.sortOrder=""></dir.corp.vlv>
</dir.corp>
<dir.local dir.local.readonly="0">
<dir.local.contacts dir.local.contacts.maxNum="9999" dir.local.contacts.maxNum.SPIP235T="99" dir.local.contacts.maxNum.SPIP321="99" dir.local.contacts.maxNum.SPIP331="99" dir.local.contacts.maxNum.SPIP335="99" dir.local.contacts.maxNum.SSIP5000="99" dir.local.contacts.maxNum.SSIP6000="99" dir.local.contacts.maxNum.SSIP7000="99" dir.local.contacts.maxNum.VVX500="500"></dir.local.contacts>
</dir.local>
<dir.search dir.search.field="0"></dir.search>
</dir>
<feature>
<feature.corporateDirectory feature.corporateDirectory.enabled="1"></feature.corporateDirectory>
</feature>
</polycomConfig>

  

 

if i check phone log i get following.

 

000025.480|cfg |5|03|Prm|Parameter dir.corp.backGroundSync.period requested type 2 but is of type 0
000025.480|cfg |5|03|Prm|Parameter dir.corp.attribute.x.addstar requested type 4 but is of type 7
000025.482|cfg |5|03|Prm|Type 4 7 for array parameter 63 index 1 is not valid
000025.544|efk |*|03|Initial log entry. Current logging level 4
000027.454|app1 |4|03|[AppUserLoginC::Init]:flushing user cache file failed
Message 13 of 27
Highlighted
Polycom Employee & Community Manager

Re: Corporate ldap listing goes missing after search

Hello ,

The community's VoIP FAQ contains this post here:

Jan 30, 2012 Question: Can I use a central Phone book or is LDAP / Corporate Directory supported?

Resolution: Please check => here <=

 

The post shows an example which can be utliized with Active Directory as an example.

 

The above also contains a link to this Technical Bulletin => here <= which has troubleshooting tips.

 

So far you have not yet stated what AD is being used either.


Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 14 of 27
Highlighted
Occasional Advisor

Re: Corporate ldap listing goes missing after search

I have followed above link you mentioned and i am having problem. when i restart the phone by Menu -> settings -> Basic -> Restart Phone   and as phone come back after restart and i go to corp dir i can see list. when i come out from corp dir the go back there is blank search area as there is picture in this message. i am using AD for getting users info, First Name , Last Name, Phone Num, 

how can i just get only those users how have phone number?

Message 15 of 27
Highlighted
Polycom Employee & Community Manager

Re: Corporate ldap listing goes missing after search

Hello qasimkhans,

you are mentioning different issues in each reply.

 

One reply states  "No entries found" and another states after a reboot the search is blank.

 

The standard feature of LDPA / Corporate Directory is to search for users.

 

Once these are searched and found they are displayed. Leaving this menu or waiting until it times out and returning to the search will no longer display the results.

 

The above linked post explains how to troubleshoot this via the logs to check if you can even sign into LDAP.

 

An example from my own logs:

 

0903181712|ldap |1|00|ldapCfg::lookupHost:No srvLookup host=<10.252.122.120> port=<389>
0903181712|ldap |1|00|ldapCfg::lookupHost:No srvLookup host=<10.252.122.120> port=<389>
0903181712|ldap |4|00|cDynamicData&colon;:activate:cDynamicData&colon;:activate() m_pCfg->lookupHost() = 1

0903181712|ldap |0|00|ldapData&colon;:newFilter:baseRequest=ldap://10.252.122.120/dc=t3voipuk,dc=lab?sn,givenName,telephoneNumber,department,homePhone?sub
0903181712|clist|4|00|dbCfg::getServerDir:Unknown dbCfg type
0903181712|clist|4|00|dbCfg::getServerDir:Unknown dbCfg type
0903181712|moh  |*|00|Initial log entry. Current logging level 4
0903181712|moh  |4|00|SoNcasMohC::soNcasmohCfgInit: File provisioning for Moh is defined only for Lync Profile and if Moh feature is enabled
0903181712|ldap |1|00|ldapData&colon;:queryResults:Sort-Yes Persist-No VLV-No
0903181712|ldap |1|00|ldapCfg::show:<LDAP configuration:> status=<1>
0903181712|ldap |1|00|   <server version=3> <sort:ctrl=0x4-cfg=0x0> <vlv=No> <vrCrt=Yes>
0903181712|ldap |1|00|   <host=ldap://10.252.122.120> <pfix=ldap://> <port=389> <trans=tcp> <bindOnInit=Yes>
0903181712|ldap |1|00|   <baseDN=dc=t3voipuk,dc=lab> <filterPrefix=(objectclass=person)(!(objectclass=computer))(telephoneNumber=*)> <sortOrder=sn> <invSortOrder=NULL>
0903181712|ldap |1|00|ldapCfg::getCaFile:LDAP:CA filepath = /ffs0/ca1.crt
0903181712|ldap |1|00|ldapCfg::getCaFile:LDAP:CA filepath = /ffs0/ca1.crt
0903181712|ldap |1|00|   <attrib=sn,givenName,telephoneNumber,department,homePhone><sub></ffs0/ca1.crt>
0903181712|ldap |1|00|   <persistView=No> <persistSearch=No>
0903181712|ldap |1|00|   <backgroundSyncPeriod=0> <autoQuerySubmitTimeout=0>
0903181712|ldap |1|00|   <domain=NULL> <user=ldap@t3voipuk.lab> <pass=***>
0903181712|ldap |1|00|ldapCfg::getSSLv2v3Enabled:LDAP:SSLv2v3 Enabled = 0
0903181712|ldap |1|00|   <SSLv2v3Enabled=0>
0903181712|ldap |1|00|ldapCfg::showAttr:   Attributes:
0903181712|ldap |1|00|ldapCfg::showAttr:   [0] <name=sn><label=Last Name><type=last_name><filter=><sticky=No><srch=Yes>
0903181712|ldap |1|00|ldapCfg::showAttr:   [1] <name=givenName><label=First Name><type=first_name><filter=><sticky=No><srch=No>
0903181712|ldap |1|00|ldapCfg::showAttr:   [2] <name=telephoneNumber><label=Phone Number><type=phone_number><filter=><sticky=No><srch=No>
0903181712|ldap |1|00|ldapCfg::showAttr:   [3] <name=department><label=Department><type=other><filter=><sticky=No><srch=No>
0903181712|ldap |1|00|ldapCfg::showAttr:   [4] <name=homePhone><label=HomePhone><type=phone_number><filter=><sticky=No><srch=No>
0903181712|ldap |1|00|cDynamicData&colon;:finalizeInit:finalizeInit state=<4>

The above shows the phone connecting to LDAP initially after a reboot.

 

Searching for ST produces the following log:

 

0903182023|ldap |3|00|ldapQuerySimple::assmCondition:empty query attribute
0903182023|ldap |1|00|cDynamicData&colon;:getData&colon;get enabled - filter OK <(&(objectclass=person)(!(objectclass=computer))(telephoneNumber=*)(sn=St*))>
0903182023|ldap |0|00|ldapData&colon;:newFilter:baseRequest=ldap://10.252.122.120/dc=t3voipuk,dc=lab?sn,givenName,telephoneNumber,department,homePhone?sub
0903182023|ldap |1|00|ldapData&colon;:runSearch:dir=<DOWN> reverse=<No> index=<OFF> filter=<(&(objectclass=person)(!(objectclass=computer))(telephoneNumber=*)(sn=St*))>
0903182023|ldap |0|00|ldapEntry::show:->new: <Stallone> 
0903182023|ldap |0|00|ldapEntry::show:->new: <Statham> 
0903182023|ldap |1|00|ldapEntry::iCmpEntry: 'Statham,Jason' > ','
0903182023|ldap |0|00|ldapQuerySimple::show:updateQuery
0903182023|ldap |0|00|ldapEntry::show:top= <Stallone> 
0903182023|ldap |0|00|ldapEntry::show:bot= <Statham> 
0903182023|ldap |1|00|cDynamicData&colon;:dataReady:total=2-process
0903182023|ldap |1|00|cDynamicData&colon;:getData&colon;get enabled - filter OK <(&(objectclass=person)(!(objectclass=computer))(telephoneNumber=*)(sn%3E=Statham)(|(!(sn=Statham))(!(givenName%3C=Jason))))>
0903182023|ldap |1|00|cDynamicData&colon;:getData&colon;get enabled - filter NOK <>
0903182023|ldap |0|00|ldapData&colon;:newFilter:baseRequest=ldap://10.252.122.120/dc=t3voipuk,dc=lab?sn,givenName,telephoneNumber,department,homePhone?sub
0903182023|ldap |1|00|ldapData&colon;:runSearch:dir=<DOWN> reverse=<No> index=<OFF> filter=<(&(objectclass=person)(!(objectclass=computer))(telephoneNumber=*)(sn>=Statham)(|(!(sn=Statham))(!(givenName<=Jason))))>
0903182023|ldap |0|00|ldapEntry::show:->new: <Travolta> 
0903182023|ldap |0|00|ldapEntry::show:->new: <Washington> 
0903182023|ldap |0|00|ldapEntry::show:->new: <Williams> 
0903182023|ldap |0|00|ldapEntry::show:->new: <Willis> 
0903182023|ldap |0|00|ldapEntry::show:->new: <Wilson> 
0903182023|ldap |1|00|ldapEntry::iCmpEntry: 'Wilson,Owen' > 'Statham,Jason'
0903182023|ldap |0|00|ldapQuerySimple::show:updateQuery
0903182023|ldap |0|00|ldapEntry::show:top= <Stallone> 
0903182023|ldap |0|00|ldapEntry::show:bot= <Wilson> 
0903182023|ldap |1|00|cDynamicData&colon;:dataReady:total=5-process
0903182023|ldap |1|00|cDynamicData&colon;:getData&colon;get enabled - filter OK <(&(objectclass=person)(!(objectclass=computer))(telephoneNumber=*)(sn%3E=Wilson)(|(!(sn=Wilson))(!(givenName%3C=Owen))))>
0903182023|ldap |1|00|cDynamicData&colon;:getData&colon;get enabled - filter NOK <>
0903182023|ldap |1|00|cDynamicData&colon;:getData&colon;get enabled - filter NOK <>
0903182023|ldap |1|00|cDynamicData&colon;:getData&colon;get enabled - filter NOK <>
0903182023|ldap |1|00|cDynamicData&colon;:getData&colon;get enabled - filter NOK <>
0903182023|ldap |1|00|cDynamicData&colon;:getData&colon;get enabled - filter NOK <>
0903182023|ldap |0|00|ldapData&colon;:newFilter:baseRequest=ldap://10.252.122.120/dc=t3voipuk,dc=lab?sn,givenName,telephoneNumber,department,homePhone?sub
0903182023|ldap |1|00|ldapData&colon;:runSearch:dir=<DOWN> reverse=<No> index=<OFF> filter=<(&(objectclass=person)(!(objectclass=computer))(telephoneNumber=*)(sn>=Wilson)(|(!(sn=Wilson))(!(givenName<=Owen))))>
0903182023|ldap |1|00|ldapData&colon;:parseControls:ldap_parse_sort_control: no matching data - rc=0xfffffff3 <Control not found>
0903182023|ldap |0|00|ldapQuerySimple::show:updateQuery
0903182023|ldap |0|00|ldapEntry::show:top= <Stallone> 
0903182023|ldap |0|00|ldapEntry::show:bot= <Wilson> 
0903182023|ldap |1|00|cDynamicData&colon;:dataReady:total=0-process

My own configuration for an Microsoft Active Directory Server:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- PlcmConversionCreatedFile version=1.2 converted=Wed Jun 22 13:50:12 2011 -->
<!-- LDAP Example for Active Directorty Server -->
<!-- 10.252.75.201-->
<polycomConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="polycomConfig.xsd">
<feature feature.corporateDirectory.enabled="1"/>
  <dir>
    <dir.corp dir.corp.address="ldap://10.252.122.120" dir.corp.backGroundSync="0" dir.corp.baseDN="dc=t3voipuk,dc=lab" dir.corp.filterPrefix="(objectclass=person)(!(objectclass=computer))(telephoneNumber=*)" dir.corp.password="T3ch!ab" dir.corp.scope="sub" dir.corp.port="389" dir.corp.transport="tcp" dir.corp.user="ldap@t3voipuk.lab">
      <dir.corp.attribute dir.corp.attribute.1.label="Last Name" dir.corp.attribute.1.name="sn" dir.corp.attribute.1.type="last_name " dir.corp.attribute.2.label="First Name" dir.corp.attribute.2.name="givenName" dir.corp.attribute.2.type="first_name" dir.corp.attribute.3.name="telephoneNumber" dir.corp.attribute.3.label="Phone Number" dir.corp.attribute.3.type="phone_number" dir.corp.attribute.4.label="Department" dir.corp.attribute.4.name="department" dir.corp.attribute.4.type="other" dir.corp.attribute.5.label="HomePhone" dir.corp.attribute.5.name="homePhone" dir.corp.attribute.5.type="phone_number" dir.corp.sortControl="0"/>
    </dir.corp>
  </dir>
</polycomConfig>

 

I can only advise you to contact your Polycom reseller for support if you are struggling with the above.

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 16 of 27
Highlighted
Occasional Advisor

Re: Corporate ldap listing goes missing after search

your config is working now. i took directory paramenters from features.cfg. 

 

if Leaving this menu or waiting until it times out and returning to the search will no longer display the results. then why it shows all contacts first time after reboot? 

Message 17 of 27
Highlighted
Polycom Employee & Community Manager

Re: Corporate ldap listing goes missing after search

Hello qasimkhans,

As now already mentioned twice in my prior replies I can only advise you to contact your Polycom reseller for support.

Best Regards

Steffen Baier

Polycom Global Services

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 18 of 27
Highlighted
Occasional Advisor

Re: Corporate ldap listing goes missing after search

Thanks Steffen, currentlly contacts are showing on list as,

 

Last Name, First Name, phone number.

 

can we change it to 

 

First Name, Last Name, phone number.

 

my attributes as below

 

<attr1 dir.corp.attribute.1.name="givenName" dir.corp.attribute.1.label="First Name" dir.corp.attribute.1.type="first_name" dir.corp.attribute.1.filter="" dir.corp.attribute.1.sticky="0" dir.corp.attribute.1.searchable="1" />
<attr2 dir.corp.attribute.2.name="sn" dir.corp.attribute.2.label="Last Name" dir.corp.attribute.2.type="last_name" dir.corp.attribute.2.filter="" dir.corp.attribute.2.sticky="0" dir.corp.attribute.2.searchable="1" />
<attr3 dir.corp.attribute.3.name="telephoneNumber" dir.corp.attribute.3.label="Phone Number" dir.corp.attribute.3.type="phone_number" dir.corp.attribute.3.filter="" dir.corp.attribute.3.sticky="0" dir.corp.attribute.3.searchable="1" />

Message 19 of 27
Highlighted
Polycom Employee & Community Manager

Re: Corporate ldap listing goes missing after search

Hello qasimkhans,

you have the community FAQ, the Technical documentation linked and in addition the admin guide.

 

If all of the above and in addition a Internet search does not assist you enough you must proceed and contact your Polycom reseller.

 

Your Polycom reseller is your first level support and they can open a Polycom support ticket for you.


Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

Polycom Global Services

----------------

Notice: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 20 of 27