login | register
Sat 17 of May, 2008 [18:33 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Juan Ortega, Thu 15 of May, 2008 [10:33 UTC]: Hi everybody, I'm Juan, an ITCom student, and I need to know what basic elements I need to create a VoIP network. Can anybody helpme, please?,Thank you very much
  • gineta, Wed 14 of May, 2008 [03:58 UTC]: any here not fine the configuration of firewall juniper -screem for VOIP asterisk????
  • Anoop Prabhakaran, Tue 13 of May, 2008 [12:16 UTC]: I am developing Asterisk IVR, Whenever i make a internation call to the IVR system, the DTMF is not getting detected properly, this happens only for the first time, second call onwards system works fine. why this is happening
  • joe, Mon 12 of May, 2008 [04:27 UTC]: Is there an opensource browser based softphone, or a system like Busta where everything is not manages through their website?
  • Nick Barnes, Fri 09 of May, 2008 [11:36 UTC]: Christopher - yesterday I tried an Asterisk install on a CentOS 5.1 box with stock GUI and it all worked fine. Sorry I can't help.
  • aero, Fri 09 of May, 2008 [08:20 UTC]: can someone help me out on this, i tried to play some sound files on my asterisk box and this is the error message i got. WARNING[4429]: format_wav.c:169 check_header: Unexpected freqency 22050 May 8 11:17:39 WARNING[4433]: codec_gsm.c:194 gsmtolin_fra
  • Christopher Faust, Thu 08 of May, 2008 [14:15 UTC]: I beleive that I may have to change something in the xserver configuration. Please advise
  • Christopher Faust, Thu 08 of May, 2008 [14:14 UTC]: Everything was perfect. In the bios I have increased the memory allocated Still receive input not supported on my display.
  • Christopher Faust, Thu 08 of May, 2008 [14:13 UTC]: This would not be my main box. I am doing some testing to see if I can install zaptel and asterisk 1.4 on a full centos 5.1 box with development software Its bizzare, because before I went through the asterisk and zaptel installation everything was perfe
  • Nick Barnes, Thu 08 of May, 2008 [13:44 UTC]: Christopher - I can't see any way in which an Asterisk installation would muck your GUI, but remember that it is advised not to use a GUI on an Asterisk box anyway.
Server Stats
  • Execution time: 0.32s
  • Memory usage: 2.20MB
  • Database queries: 41
  • GZIP: Disabled
  • Server load: 0.39

LDAP

Lightweight Directory Access Protocol


LDAP is an open-standard protocol for accessing X.500 directory services. The protocol runs over Internet transport protocols, such as TCP.

LDAP is a lightweight alternative to the X.500 Directory Access Protocol (DAP) for use on the Internet. It uses TCP/IP stack verses the overly complex OSI stack. It also has other simplications, such as the representing most attribute values and many protocol items as textual strings, that are designed to make clients easier to implement.

The directory is a database optimized for read operations.

You can access an LDAP directory in your dialplan with LDAPget.


You can use Asterisk::LDAP to generate Asterisk 1.0 compatible configuration files from LDAP.

The Source of application module LDAPget can be
downloaded from: http://www.mezzo.net/asterisk
.



Asterisk Ldap Realtime Usage


res_config_ldap.c is now part of the Asterisk 1.6.x Beta releases (as of Feb 2008). Download any asterisk 1.6.x beta release greater than 1.6.0beta2 and follow these:

Files you need to alter:
1. /etc/asterisk/extconfig
2. /etc/asterisk/res_ldap.conf
3. /etc/asterisk/extensions.conf (for realtime extensions)

Known Bugs:
1. Pattern matching extensions do NOT work
2. Queue Member lookup fails

To save on time, I am pasting my configuration files here. Please note that:

1. res_ldap.conf is a simple mapping of Asterisk Realtime values to ldap objects (you can name your ldap objectclasses/attributes whatever you want!)
2. Schema provided with the distribution does not conform to res_ldap.conf in the distribution. use THIS schema instead


my extconfig:

[settings]
sipusers => ldap,"dc=emergen,dc=biz",sip
sippeers => ldap,"dc=emergen,dc=biz",sip
voicemail => ldap,"dc=emergen,dc=biz",voicemail
voicemail_data => ldap,"dc=emergen,dc=biz",voicemail
extensions => ldap,"dc=emergen,dc=biz",extensions
queues => ldap,"dc=emergen,dc=biz",queue
queue_members => ldap,"dc=emergen,dc=biz",queue_member
musiconhold => mysql,asterisk
queue_log => mysql,asterisk
meetme => ldap,"dc=emergen,dc=biz",meetme



In extension.conf (For Realtime Extensions) you need to enable the switch to Realtime in that particular context:

For example:

[internal]
switch => Realtime/@


A sample res_ldap.conf file is attached here with complete mappings which adheres to the schema provided above:
Created by Sven Slezák, Last modification by Faraz Khan on Mon 17 of Mar, 2008 [15:32 UTC]

Comments Filter

by Gavin Henry on Tuesday 18 of March, 2008 [11:07:10 UTC]
LDAP Realtime is used to store everything you would find in static files in an LDAP Directory.

by Gavin Henry on Tuesday 18 of March, 2008 [11:05:51 UTC]
The correct LDAP Schema is included:

/asterisk-1.6.0-beta4/contrib/scripts/asterisk.ldap-schema

and

/asterisk-1.6.0-beta4/contrib/scripts/asterisk.ldif

Good work though. I'm just uploading some fixes to it at:

http://bugs.digium.com/view.php?id=12177

Gavin.

http://www.suretecsystems.com/services/openldap/

please elaborate on usage

by sjobeck on Monday 30 of May, 2005 [23:10:21 UTC]
szunny, could you kingly elaborate on this page a bit on what this does, how you are using LDAP, big picture stuff. We use LDAP for a few things but not sure (from reading above) what youre doing with it or what we could be doing with it. Really appreciate it.

Thanks very much.

Peace.

Jason

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver