[OpenSIPS-Users] ldap as the sip location server

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Mar 22 10:32:02 CET 2012


Hi Harry,

On 03/22/2012 10:52 AM, songhr86115 wrote:
> Thank you Bogdon,
> 1)Now , I want to insert the user contact information into ldap by
> perl scripts using exec(ct.field(uri)) function in opensips.cfg. When
> A communicate with B, A can query ldap to get the Contact Information
> of B , can I modify the Contact Information in opensips.cfg to build
> connection with B? How to do that?
> In opensips with MySQL, I think A can find the B's CONTACT INFORMATION
> in MySQL,then build connection with B. So I want to use ldap instead
> of MySQL. Am I right?
Getting over the fact that the way you plan the use LDAP (writing via
exec and reading from script) is a bit messy, keep in mind that the the
information you need to save for a registered contact is really complex
(take a look at the location table in mysql). Also the registration part
is connected to the nat traversal part (like doing pinging for the
registered contact), so you would need to manually do this part also.
Why are you so keen to go for LDAP for registration and not using
something more natively ?
> 2)Do you know something about open unified communication with ldap?
Not me.

Regards,
Bogdan

> Regards
> Harry
> 2012-03-22
> ------------------------------------------------------------------------
> songhr86115
> ------------------------------------------------------------------------
> *发件人:* Bogdan-Andrei Iancu
> *发送时间:* 2012-03-16 20:05:24
> *收件人:* OpenSIPS users mailling list
> *抄送:* songhr86115
> *主题:* Re: [OpenSIPS-Users] ldap as the sip location server
> Hi Harry,
>
> On 03/16/2012 03:22 AM, songhr86115 wrote:
>> Hello all,
>> 1)How to use the ldap as the location server of the opensips? And
>> shuld the sip user's contact uri to be stored in ldap? How to do that?
> Actually you cannot use LDAP as backend for user registration in
> OpenSIPS - only SQL like backends are supported .
>
> Of course OpenSIPS has generic LDAP support for running queries over
> LDAP trees, but : 1) you cannot insert, 2) user location lookups are
> more complicated than a simple LDAP query.
>> 2)ITU-T H.350 and H.350.4 describes a ldap architecturefor multimedia
>> conferencing using a SIP, How to use this information in LDAP? And
>> How this information deal with SIP communication?
> I'm not familiar with the ITU-T specs, but as said, in OpenSIPS you
> have support for querying LDAP trees, so you get any info from there
> and use it for whatever routing purpose you have - you can do that
> from scripting. See the LDAP module:
> http://www.opensips.org/html/docs/modules/1.7.x/ldap.html
>
> For H.350, see:
> http://www.opensips.org/html/docs/modules/1.7.x/h350.html
>
> Regards,
> Bogdan
>
> -- 
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com


-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120322/c1839cfd/attachment.htm>


More information about the Users mailing list