ldap authentication for asterisk sip user

119 views
Skip to first unread message

Trần Mạnh Đức

unread,
Nov 1, 2010, 6:31:15 AM11/1/10
to VoIP Discussion [www.icnsolutions.net]
I want to use Windows Server 2003 to manage user passwords in
asterisk. You just help me.
Asterisk version 1.4.36

John Opoku

unread,
Nov 1, 2010, 9:48:42 AM11/1/10
to tranmanh...@gmail.com, VoIP Discussion [www.icnsolutions.net]
Simple, use the DUBTEL One API [http://developer.dubtel.com]. I think they offer their API as open source.

Thanks,
JO


--
You received this message because you are subscribed to the Google Groups "VoIP Discussion" group.
To post to this group, send email to voip...@googlegroups.com
To unsubscribe from this group, send email to voipinfo-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/voipinfo?hl=en

Andrius Kairiukstis

unread,
Feb 5, 2013, 3:49:42 AM2/5/13
to voip...@googlegroups.com, tranmanh...@gmail.com
I did it (LDAP integration) for another things with asterisk, five years ago.

Here is short howto regarding SIP:

Make an crontab job which will
1. in cylce read all LDAP users and passwords
2. compare them with asterisk sip realtime database
3. if user details was updated (phone numbers, passwords) - do:
    a) update sip realtime
    b) update sip user (asterisk -rx "sip prune realtime USERNAME" && asterisk -rx "sip show peer USERNAME load")
4. By the end delete all non-existing in LDAP base, but existing in SIP realtime users and execute sip prune realtime USERNAME for each.

You can create this CLI script even with bash, but perl, php or ruby is much better.

Reply all
Reply to author
Forward
0 new messages