[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 - anonymous1675184009882 - 01-26-2014, 05:14 PM
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
  Yealink T27P -Incoming call issue rsarceno 0 154 01-25-2023 08:54 AM
Last Post: rsarceno
Information T27G call foward all Aerium 0 488 09-13-2022 04:36 PM
Last Post: Aerium
  Remebering call volume settings SystemCraft 1 1,132 07-15-2022 07:42 PM
Last Post: complex1
  No IP address for W60 but T42 working ok heathb 2 2,219 03-09-2022 05:11 PM
Last Post: complex1
  Passing only LDAP traffic through OPENVPN Commensus 0 1,220 02-23-2022 09:47 PM
Last Post: Commensus
  Disable Call Rejection nicknomo 6 19,354 01-28-2022 03:51 PM
Last Post: K4n4lj3
  LDAP "problem" softnetvoip 1 2,899 09-30-2021 05:07 PM
Last Post: softnetvoip
  Ldap search cabijuan 0 2,379 07-01-2021 12:58 AM
Last Post: cabijuan
  DHCP not working on T26P when OpenVPN is enabled. LandonL 11 31,419 05-12-2021 10:46 AM
Last Post: 1sae
  Problem with LDAP hausrocker 0 3,486 03-24-2021 08:28 PM
Last Post: hausrocker

Forum Jump:


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

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