Re: [asterisk-users] sip.conf, realtime, and LDAP
On Mon, Dec 27, 2010 at 3:38 AM, Olivier oza_4...@yahoo.fr wrote: 2010/12/26 Richard Kenner ken...@gnat.com I'm confused exactly what's supported with LDAP and Asterisk. What I want to do is to have SIP peer information read directly (in realtime) from LDAP. Can this be done? If so, with what Asterisk versions? I'm also a bit confused about what's possible and not possible. Anyway, my understanding is : - you can directly query an LDAP directory from your dialplan (LDAPget), - you can also use Asterisk Realtime Architecture and use LDAP as a backend. It can be used with any Asterisk version (at least 1.4 and later). Cheers http://www.zentyal.org/ does a really good job with the LDAP integration. Try it out and see what they did. ~~~ Andrew lathama Latham lath...@gmail.com ~~~ -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] sip.conf, realtime, and LDAP
2010/12/26 Richard Kenner ken...@gnat.com I'm confused exactly what's supported with LDAP and Asterisk. What I want to do is to have SIP peer information read directly (in realtime) from LDAP. Can this be done? If so, with what Asterisk versions? I'm also a bit confused about what's possible and not possible. Anyway, my understanding is : - you can directly query an LDAP directory from your dialplan (LDAPget), - you can also use Asterisk Realtime Architecture and use LDAP as a backend. It can be used with any Asterisk version (at least 1.4 and later). Cheers -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] sip.conf, realtime, and LDAP
I'm confused exactly what's supported with LDAP and Asterisk. What I want to do is to have SIP peer information read directly (in realtime) from LDAP. Can this be done? If so, with what Asterisk versions? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] sip.conf, realtime, and LDAP
On Sat, Dec 25, 2010 at 8:58 PM, Richard Kenner ken...@gnat.com wrote: I'm confused exactly what's supported with LDAP and Asterisk. What I want to do is to have SIP peer information read directly (in realtime) from LDAP. Can this be done? If so, with what Asterisk versions? -- Here is the link https://wiki.asterisk.org/wiki/display/AST/LDAP+Realtime+Driver Test and add comments to help the documentation grow. ~~~ Andrew lathama Latham lath...@gmail.com ~~~ -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] sip.conf realtime
At the moment in order to register you must use static configs in sip.conf. As far as the friend/peer etc. settings you can do that in sip.conf or in real time. You can also mix and match (use real time and static configuration). - Original Message - From: hugolivude To: Asterisk Users Mailing List - Non-Commercial Discussion Sent: Saturday, December 29, 2007 12:10 AM Subject: [asterisk-users] sip.conf realtime Hi - I'm looking into realtime and I'm having a bit of a problem with the SIP part. My review of the posts seems to indicate that I should use realtime static for the [general] part of my sip.conf including the registration commands: register=did:secret@domain/did context and use realtime realtime (funny name!) for peers and friends: [myprovider] type=peer auth=md5 username=... fromuser=... fromdomain=... secret=... host=... port=5060 nat=yes canreinvite=yes qualify=no disallow=all allow=ulaw dtmfmode=rfc2833 insecure=port,invite context=incoming-sip Is this correct? What's throwing me off is this statment found here: NOTE: You can only store a static config OR a RealTime config. You cannot, for example, store sip.conf and use sipfriends via RealTime. This would suggest that I'll have to do a reload when I add a DiD, but a reload won't be necessary if a new SIP client is added. Do I have it right? Also, what's the difference between a peer and a user? I used to think that a user was an agent authorized to call in to my * box, a peer was an agent I could reach and a freind was both. What's throwing me off now is the statement found here: With newer versions of Asterisk the concept of SIP 'users' will be phased out. I can't understand this especially in the context of extconfig.conf that uses both a sipuser and sippeer entry. Could someone clarify for me? Thanks, H -- ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] sip.conf realtime
Hi - I'm looking into realtime and I'm having a bit of a problem with the SIP part. My review of the posts seems to indicate that I should use realtime static for the [general] part of my sip.conf including the registration commands: register=did:secret@domain/did context and use realtime realtime (funny name!) for peers and friends: [myprovider] type=peer auth=md5 username=... fromuser=... fromdomain=... secret=... host=... port=5060 nat=yes canreinvite=yes qualify=no disallow=all allow=ulaw dtmfmode=rfc2833 insecure=port,invite context=incoming-sip Is this correct? What's throwing me off is this statment found here:http://www.voip-info.org/wiki/index.php?page=Asterisk%20RealTime%20Static * NOTE:* You can only store a static config OR a RealTime config. You cannot, for example, store sip.conf and use sipfriends via RealTime. This would suggest that I'll have to do a reload when I add a DiD, but a reload won't be necessary if a new SIP client is added. Do I have it right? Also, what's the difference between a peer and a user? I used to think that a user was an agent authorized to call in to my * box, a peer was an agent I could reach and a freind was both. What's throwing me off now is the statement found here:http://www.voip-info.org/wiki/index.php?page=Asterisk%20RealTime%20Static With newer versions of Asterisk the concept of SIP 'users' will be phased out. I can't understand this especially in the context of extconfig.conf that uses both a sipuser and sippeer entry. Could someone clarify for me? Thanks, H ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users