Picture of Anton
Registered 4 years 341 days
Anton Monday, 4 May 2020, 11:11 AM
1 of 1 users consider this post helpful
Connecting with an LDAP Server
Hello,

for our App we need to connect to an LDAP server on which we need to retrieve, write and delete data. Basic LDAP funtcions...

But we are struggling on finding the best way to do this. Can someone give us a direction or a hint, on how to add LDAP connectivity in an App.

Thanks and regards,
Anton

Picture of Matthias Schertler (innovaphone)
Moderator Registered 11 years 359 days
Matthias Schertler (innovaphone) Monday, 4 May 2020, 03:10 PM
0 of 1 users consider this post helpful
Re: Connecting with an LDAP Server
Hello Anton,

we don't have an LDAP client in the SDK libraries.

A possible solution would be to find an open source library for it and include it in your app.

BR
Matthias
Picture of Daniel 450
Registered 14 years 34 days
Daniel 450 Tuesday, 23 August 2022, 08:48 PM
Re: Connecting with an LDAP Server
Hello Matthias,

has anything changed since your answer.
I didn´t understand why there is no LDAP Integration in your SDK, because i think you have to do also LDAP querys for example in your Reporting/Call List app. And how great would it be to could use it in c++ and js serverside then every programmer has to do this work again and again.

We didn´t find a library for a duktape/c++ serverside.
And for c++ its also difficult to integrate something, because there is everytime something missing... but we will try more things.

Also no ASN.1 is ready to use for js serverside.

Or has anybody a working library solution for LDAP querys?
Picture of Matthias Schertler (innovaphone)
Moderator Registered 11 years 359 days
Matthias Schertler (innovaphone) Wednesday, 7 September 2022, 10:13 AM
Re: Connecting with an LDAP Server
If we had an LDAP client implementation, we would add it to the SDK. But we don't have one.

Reporting/Call list don't use LDAP. All our app services use JSON/Websocket communication only.

BR
Matthias
Picture of Daniel 450
Registered 14 years 34 days
Daniel 450 Sunday, 11 September 2022, 10:18 AM
Re: Connecting with an LDAP Server
Hello Matthias,

ok, sorry for my assumption.
I thought that, because you could show the LDAP Information of a Calling Number then the Calling Number in the Report, CallList, Phone, etc. myApps App.

So i thought that you have any integration of ldap request solution in the app or pbx plattform. And if there is something my idea was, that that could be integrate in the sdk so that everybody could use it on an "easy" way and hat not to do a tricky own implementation.
Picture of Daniel 450
Registered 14 years 34 days
Daniel 450 Monday, 26 September 2022, 08:56 AM in response to Matthias Schertler (innovaphone)
Re: Connecting with an LDAP Server
Hello,

i have one more question to LDAP.
I saw today on your Website an icon with the description LDAP API App
https://www.innovaphone.com/de/mediengalerie/produktfoto.html?id=915
and here i could suggest that it is the LDAP function of the Softphone / Phone App:
https://www.innovaphone.com/de/mediengalerie/produktfoto.html?id=940
I didn´t know that App, so could you explain it, please.
Or is it a new app which is comming with V13r3?
Picture of Daniel 450
Registered 14 years 34 days
Daniel 450 Sunday, 2 October 2022, 02:01 PM
Re: Connecting with an LDAP Server
Hello,

maybe i got the answer on the innovaphone round table.
Andreas Fink
Moderator Registered 12 years 277 days
Andreas Fink (innovaphone) Friday, 14 October 2022, 01:30 PM in response to Daniel 450
Re: Connecting with an LDAP Server
Hello Daniel,

it seems to be a graphic asset image, for a contacts app.

An app called "LDAP API" do not exist, es i know.

The simplest way would be to use any existing C++ LDAP library.

Edit:

The LDAP Object on the PBX could be configured to connect to the specific LDAP Server. Your App cloud consume the com.innovaphone.search API to send search requests to the configured LDAP server via the PBX.

Best Regards
Andreas Fink
Picture of Daniel 450
Registered 14 years 34 days
Daniel 450 Tuesday, 25 October 2022, 08:13 AM
Re: Connecting with an LDAP Server
Good morning Andreas,

is there a hidden config solution to read more then the fields shown in the LDAP PBX object>Attributes? Maybe is it possible to config more directly in the config file, but not through the advanced gui, like you could do more CDR destinations in the config file then in the advanced gui.

I think you could do a dirty mapping to get for example a custom field, so i think you could put that field in privatecity. And then output privatecity for the custom field. But thats not fine.
← You can define your color theme preference here