[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ldap search on incoming call is not working
Author Message
cptjack Offline
Member
***

Posts: 97
Joined: Jan 2014
Reputation: 8
Post: #16
RE: Ldap search on incoming call is not working
Can you change this line:
Code:
strNumberFilter = (&(telephoneNumber=%)(mobilePhone=%))
to
Code:
strNumberFilter = (|(telephoneNumber=%)(mobilePhone=%))
So change the & character to | (pipe) character.

If that doesn't work, try putting just:
Code:
strNumberFilter = (&(telephoneNumber=%))
This will only search the telephoneNumber field in AD, but it's a good start.
Once you have the lookup working on the telephoneNumber field, you can expand to mobilePhone.

In my opinion, using the & operator will only work if it matches the telephoneNumber AND mobilePhone field both at the same time... Therefor in my example I have the | operator to match telephoneNumber OR mobilePhone. So that would be my first suggestion.

Just as a quick test: also try putting the Called ID in BOTH the telephoneNumber and mobilePhone fields. This will validate the & operator thesis...

Please use the reputation button below if you like this post.
(This post was last modified: 10-11-2014 04:19 AM by cptjack.)
10-11-2014 04:11 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Ldap search on incoming call is not working - cptjack - 10-11-2014 04:11 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  LDAP "problem" softnetvoip 1 835 09-30-2021 05:07 PM
Last Post: softnetvoip
  Ldap search cabijuan 0 1,058 07-01-2021 12:58 AM
Last Post: cabijuan
  DHCP not working on T26P when OpenVPN is enabled. LandonL 11 24,212 05-12-2021 10:46 AM
Last Post: 1sae
  Problem with LDAP hausrocker 0 2,005 03-24-2021 08:28 PM
Last Post: hausrocker
  Add LDAP Support via Ringcentral? solveitjake 0 1,851 03-16-2021 04:19 AM
Last Post: solveitjake
  MWI not working with Fritzbox frappy 0 2,039 10-05-2020 08:34 PM
Last Post: frappy
  How to configure T27G TRAN key in Call Fwd Custom mode ? oliv 0 2,128 04-07-2020 02:20 PM
Last Post: oliv
  LDAP Directory Configuration Issue it_prevent 1 3,845 05-15-2019 05:55 AM
Last Post: Mike_Yealink
  Display Caller Picture on internal calls via LDAP dawgness 6 15,764 03-07-2019 01:41 AM
Last Post: scubes
  USB call recording David D 5 9,516 05-15-2018 07:00 PM
Last Post: YOVU Cloud

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication