[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 lookup old behavior?!
Author Message
powermatz Offline
Junior Member
**

Posts: 15
Joined: Jun 2014
Reputation: 0
Post: #1
Thumbs Down LDAP lookup old behavior?!
Hi,

just updated the firmware of my T46G to this beta version. I wanted to see if the bug with the not working LDAP search for incoming calls is still present.

For me the behavior hasn't changed. Can anyone say if this feature is working for him? My numbers in the directory all start with +49 for Germany.
I think the plus sign is the problem.

Matthias
12-11-2014 01:18 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink_Jim Offline
Super Moderator
******

Posts: 127
Joined: Aug 2014
Reputation: 2
Post: #2
RE: LDAP lookup old behavior?!
Hi,
I test in my side and it can work well. I test with 28.73.0.16.

Please help to confirm below item:

[Image: attachment.php?aid=639]

Hope this helps!


Attached File(s) Thumbnail(s)
   
12-11-2014 05:40 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
powermatz Offline
Junior Member
**

Posts: 15
Joined: Jun 2014
Reputation: 0
Post: #3
RE: LDAP lookup old behavior?!
(12-11-2014 05:40 PM)Yealink_Jim Wrote:  Hi,
I test in my side and it can work well. I test with 28.73.0.16.

Please help to confirm below item:

[Image: attachment.php?aid=639]

Hope this helps!

Hi Jim,

thank you for the answer. I have enabled the setting in your thumbnail, of course.
I found out that looking up a number starting with the + sign initiates a LDAP search only in the fields sn and cn. I saw this in the PCAP file.
So I changed the setting. The telephoneNumber is also a name field for example.
Then the search is also in telephoneNumber (I see this in PCAP file). But the answer from the LDAP server is error 3!?

Matthias
12-11-2014 07:16 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
zonder Offline
Junior Member
**

Posts: 18
Joined: May 2014
Reputation: 1
Post: #4
RE: LDAP lookup old behavior?!
Hello,

"LDAP Lookup For Incoming Call" works for me (T42G - 29.73.0.16, T46G - 28.73.0.16)

PBX: Yeastar MyPBX U500
Gateways: NeoGate TG800, NeoGate TA1610
IP phones: Yealink SIP-T23/T32/T42/T46/VP530P/CP860
VoIP adapters: Linksys SPA2102
12-11-2014 09:16 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
powermatz Offline
Junior Member
**

Posts: 15
Joined: Jun 2014
Reputation: 0
Post: #5
RE: LDAP lookup old behavior?!
(12-11-2014 09:16 PM)zonder Wrote:  Hello,

"LDAP Lookup For Incoming Call" works for me (T42G - 29.73.0.16, T46G - 28.73.0.16)

Do you have a + sign in front of your incoming calling number?
12-11-2014 09:22 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
zonder Offline
Junior Member
**

Posts: 18
Joined: May 2014
Reputation: 1
Post: #6
RE: LDAP lookup old behavior?!
We do NOT have a + sign in front your incoming calling number.

Our T4X phones are configured to work with Active Directory where each AD user account has ipPhone attribute filled with 4 digits extension number.
When Yealink phone receives INTERNAL call it looks up on ipPhone attribute value in AD and displays the name of AD user whose ipPhone matches.

Number lookup also works for mobile attribute (tested for call from my mobile phone
2 screenshots for your reference are attached:
       

PBX: Yeastar MyPBX U500
Gateways: NeoGate TG800, NeoGate TA1610
IP phones: Yealink SIP-T23/T32/T42/T46/VP530P/CP860
VoIP adapters: Linksys SPA2102
(This post was last modified: 12-12-2014 02:27 PM by zonder.)
12-11-2014 11:21 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink_Jim Offline
Super Moderator
******

Posts: 127
Joined: Aug 2014
Reputation: 2
Post: #7
RE: LDAP lookup old behavior?!
Hi Powermatz,
Please try to use below syntax to check if it can solve this issue:
-----------------------------------------------------------------------------------------
ldap.name_filter = (|(cn=%)(sn=%)(telephoneNumber=%)(mobile=%))
ldap.number_filter = (|(telephoneNumber=%)(mobile=%))
-----------------------------------------------------------------------------------------

Hope this issue!
12-16-2014 09:19 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
powermatz Offline
Junior Member
**

Posts: 15
Joined: Jun 2014
Reputation: 0
Post: #8
RE: LDAP lookup old behavior?!
(12-16-2014 09:19 AM)Yealink_Jim Wrote:  Hi Powermatz,
Please try to use below syntax to check if it can solve this issue:
-----------------------------------------------------------------------------------------
ldap.name_filter = (|(cn=%)(sn=%)(telephoneNumber=%)(mobile=%))
ldap.number_filter = (|(telephoneNumber=%)(mobile=%))
-----------------------------------------------------------------------------------------

Hope this issue!

Hello Jim,

I am using this or a similar setting since last week (found this idea by myself too).
It is working for some numbers but not for all. Now I am figuring out where the problem is....

Thank you for the answer! Is it possible to change the firmware so it can detect a telephone number startung with the plus sign as a number? Not a name?
Matthias
12-16-2014 09:00 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  T48G w/35.73.0.16 Action URL odd behavior njackson 1 11,674 11-13-2014 03:21 PM
Last Post: James_Yealink

Forum Jump:


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

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