Authenticate LDAP user / Password with Asterisk SIP Peers

Hello Team,

I’m using Asterisk 16.30.1 Version on Centos 7.9 and need some help on Authentication from LDAP to Asterisk on Realtime SIPPEERS.

in my extconfig.conf setting of sippers are like this

sipusers => odbc,asterisk,ast_sipfriends
sippeers => odbc,asterisk,ast_sipfriends

Real Time SIPPEERS is working fine with MySQL table ast_sipfriends but my requirement has changed and Authentication should route via all user from LDAP (Active Directory).

User/Password mapping should only work through AD/LDAP and it should work on Real time SIP PEERS.

Can anyone suggest how it done :slight_smile:

I don’t want to create SIP PEERS/USERS in either sip.conf or real time DB.

Awaiting for your response.

@support_team

Can anyone help on this.

There is no formal team.

My guess is that the use of LDAP, with Asterisk is very rare, and no-one here has used it.

1 Like

Have you looked at this…?

http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/ExternalServices_id291590.html

Or maybe this will help, google is your friend…