[asterisk-users] Authenticating SIP user in LDAP database instead of SIP.conf file

2007-08-16 Thread Abhishek M S
Dear all,
 May I first introduce myself. I'm a student of HAW Hamburg University
currently working for my professor on a VOIP project.  We have a Debian
Linux system (server) on which Asterisk 1.2.6 has been successfully
installed and running. Also the asterisk SIP server has been connected to
the PSTN so users could make calls externally. We use Xlite softphone to
make calls between users in the network.  Currently there are very few users
and I have been able to register them in the in *sip.conf *file and declare
extensions in the *extensions.conf *file.
   Now there is a requirement to assign extensions to all students in the
university(over thousand) whose credentials and information is stored in the
Novel based LDAP database. Moving along I've managed to successfully install
astirectory which is a real time database driver that allows to fetch
configuration data from LDAP directories. Have also installed the LDAPget
module that can lookup data in the LDAP directory. I'm looking for SIP
attributes on LDAP  or an LDAP schema that would facilitate astirectory or
LDAPget to retrieve the username, telephone number and password from the LDAP
database to register the soft phone user.  I'd be extremely grateful for any
help or suggestion in this connection.
Thanks in advance,
Abhishek
___
--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

Re: [asterisk-users] Authenticating SIP user in LDAP database instead of SIP.conf file

2007-08-16 Thread Abhishek M S
Dear Mr.Anthony,
Thank you so much for your responce.. Did go through the link as I'd done in
the past. Would really appreciate if you could give me more specific links
that could show a schema examples listing SIP attributes for LDAP.
Appreciate your time and patience
thanx
Abhishek


On 8/16/07, Anthony Francis <[EMAIL PROTECTED]> wrote:
>
> You will need to extend your schema to include all of the attributes
> that can be used in sip.conf plus the extra ones that allow realtime to
> store connection information. Please refer to the realtime info at
> voipinfo.org to get a feel for what your schema should look like.
>
> Anthony
>
> Abhishek M S wrote:
> > Dear all,
> >  May I first introduce myself. I'm a student of HAW Hamburg University
> > currently working for my professor on a VOIP project.  We have a
> > Debian Linux system (server) on which Asterisk 1.2.6 has been
> > successfully installed and running. Also the asterisk SIP server has
> > been connected to the PSTN so users could make calls externally. We
> > use Xlite softphone to make calls between users in the network.
> > Currently there are very few users and I have been able to register
> > them in the in *sip.conf *file and declare extensions in the
> > *extensions.conf *file.
> >Now there is a requirement to assign extensions to all students in
> > the university(over thousand) whose credentials and information is
> > stored in the Novel based LDAP database. Moving along I've managed to
> > successfully install astirectory which is a real time database driver
> > that allows to fetch configuration data from LDAP directories. Have
> > also installed the LDAPget module that can lookup data in the LDAP
> > directory. I'm looking for SIP attributes on LDAP  or an LDAP schema
> > that would facilitate astirectory or LDAPget to retrieve the username,
> > telephone number and password from the LDAP database to register the
> > soft phone user.  I'd be extremely grateful for any help or suggestion
> > in this connection.
> > Thanks in advance,
> > Abhishek
> >
> >
> >
> >
> > 
> >
> > ___
> > --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
>
___
--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

Re: [asterisk-users] Authenticating SIP user in LDAP database instead of SIP.conf file

2007-08-24 Thread Abhishek M S
Dear All,
Am happy to say that I've successfully been able to register a SIP user from
a soft phone terminal via LDAP. The biggest hurdle that I had to overcome
was the  LDAP-Asterisk schema.  The schema example given in the astirectory
installation document is incomplete.
Here's are a few pointers in this regard:

The attributes have to be defined in the following way. Also tab spaces
should be avoided.

dn: cn=schema
changetype: modify
add: attributetypes
attributeTypes: ( 1.3.6.1.4.1.23935.5.4.1
NAME 'astUsername'
DESC ''
SUP name
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
NAME should be the same as objectIdentifier

 DESC should be the description of the attribute

 EQUALITY is the rule to use when doing a search/compare for an
  attribute value.

 SUBSTR is the rule to use when doing a substring search (*foo*)

 SYNTAX is the syntax (i.e., type) of the attribute. We should
 probably stick to syntaxes:

   1.3.6.1.4.1.1466.115.121.1.15   -> directoryString (UTF-8 string)
   1.3.6.1.4.1.1466.115.121.1.26   -> IA5String (ASCII String)
   1.3.6.1.4.1.1466.115.121.1.27   -> integer (Integer value)

The object class has to be always defined as AUXILLARY and never ABSTRACT.

dn: cn=schema
changetype: modify
add: objectclasses
objectClasses: ( 1.3.6.1.4.1.23935.5.5.1
NAME 'astSipGeneric'
DESC ''
SUP top AUXILIARY
MUST ( astContext )
MAY ( astSecret $ astPermit $ astDeny $ astMd5Secret $
astDtmfmode $ astCanreinvite $ astNat $ astCallgroup $ astPickupgroup $
astAllow $ astDisallow $ astInsecure $ astTrustrpid $ astProgressinband $
astPromiscredir $ astRegseconds $ astname $ astLanguage ) )

Best Regards
Abhishek



On 8/16/07, Anthony Francis <[EMAIL PROTECTED]> wrote:
>
> You will need to extend your schema to include all of the attributes
> that can be used in sip.conf plus the extra ones that allow realtime to
> store connection information. Please refer to the realtime info at
> voipinfo.org to get a feel for what your schema should look like.
>
> Anthony
>
> Abhishek M S wrote:
> > Dear all,
> >  May I first introduce myself. I'm a student of HAW Hamburg University
> > currently working for my professor on a VOIP project.  We have a
> > Debian Linux system (server) on which Asterisk 1.2.6 has been
> > successfully installed and running. Also the asterisk SIP server has
> > been connected to the PSTN so users could make calls externally. We
> > use Xlite softphone to make calls between users in the network.
> > Currently there are very few users and I have been able to register
> > them in the in *sip.conf *file and declare extensions in the
> > *extensions.conf *file.
> >Now there is a requirement to assign extensions to all students in
> > the university(over thousand) whose credentials and information is
> > stored in the Novel based LDAP database. Moving along I've managed to
> > successfully install astirectory which is a real time database driver
> > that allows to fetch configuration data from LDAP directories. Have
> > also installed the LDAPget module that can lookup data in the LDAP
> > directory. I'm looking for SIP attributes on LDAP  or an LDAP schema
> > that would facilitate astirectory or LDAPget to retrieve the username,
> > telephone number and password from the LDAP database to register the
> > soft phone user.  I'd be extremely grateful for any help or suggestion
> > in this connection.
> > Thanks in advance,
> > Abhishek
> >
> >
> >
> >
> > 
> >
> > ___
> > --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
>
___
--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

Re: [asterisk-users] Authenticating SIP user in LDAP database instead of SIP.conf file

2007-08-25 Thread Abhishek M S
Dear Mr Galvin,

Thank you for the links. Had gone through the bug tracker before though. I
was specifically referring to the schema for the driver 'Astirectory' and
not the one related to the real time LDAP driver for Open LDAP. In the
'Astirectory'  documentation there's a file defining the schema for LDAP
which is incomplete. By incomplete I mean the Syntax and few other fields
are not defined let alone the schema being a static file. I do understand
that for Open LDAP a static file schema should be defined.
The only reason why I preferred Astirectory over the LDAP real time driver
was the fact that there is no mapping required for SIP users and peers.

Regards
Abhishek

On 8/24/07, Gavin Henry <[EMAIL PROTECTED]> wrote:
>
> Please see the official tracker in the Digium buglist:
>
> http://bugs.digium.com/view.php?id=5768
>
> Here are the schemas we did for OpenLDAP:
>
> http://bugs.digium.com/file_download.php?file_id=14842&type=bug
> http://bugs.digium.com/file_download.php?file_id=14841&type=bug
>
> Also, for Novell eDirectory, see:
>
> http://forge.voicerd.org/frs/?group_id=7&release_id=17
>
> Gavin.
>
> --
> http://www.suretecsystems.com/services/openldap/
>
> ___
> --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

Re: [asterisk-users] Authenticating SIP user in LDAP database instead of SIP.conf file

2007-08-27 Thread Abhishek M S
Dear Mr Galvin,

As of today I am using the res_config_ldap of Astirectory in my test
Asterisk system to connect to a test LDAP database of my University. Things
seem to be working fine so far. Now I'm faced with the task of installing
this in the productive system. Before doing so, I'd sure like to consider
trying the RealTime database driver that you people have developed. Why so?
because I trust your judgment.

> >I see it is res_config_ldap. You'd be much better using the latest
> >version in the bug tracker.

This would mean removing Astirectory module, installing the new driver and
loading the new schema into LDAP. In my view, the latter part shouldn't be a
concern because the old attributes and object classes (Astirectory) should
in no way interfere with the new ones. Besides the old object classes could
be deleted from LDAP. Also the former part shouldn't be of much concern
either.

My only concern as of now is in the installation of the RealTime database
driver because the 'readme' file does not say anything about the
installation. It only says about the configuration after installation.
>From the link:
http://svn.digium.com/svn/asterisk/team/group/res_config_ldap/
Would it be sufficiant if I were to copy the makefile and res_config_ldap.c
to the res/ directory of my running Asterisk and do make; make install? or
do I have to do LIBS=-lldap export LIBS ./configure before that? My asterisk
version is 1.2.6.

Thanks in advance,
Abhishek

*
*
* *
On 8/27/07, Gavin Henry <[EMAIL PROTECTED]> wrote:
>
> I see it is res_config_ldap. You'd be much better using the latest
> version in the bug tracker.
>
> On 27/08/07, Gavin Henry <[EMAIL PROTECTED]> wrote:
> > On 26/08/07, Abhishek M S <[EMAIL PROTECTED]> wrote:
> > > Dear Mr Galvin,
> >
> > Gavin ;-)
> >
> > >
> > > Thank you for the links. Had gone through the bug tracker before
> though. I
> > > was specifically referring to the schema for the driver 'Astirectory'
> and
> > > not the one related to the real time LDAP driver for Open LDAP.
> >
> > It's for any LDAP Compliant Directory Server.
> >
> >  In the
> > > 'Astirectory'  documentation there's a file defining the schema for
> LDAP
> > > which is incomplete. By incomplete I mean the Syntax and few other
> fields
> > > are not defined let alone the schema being a static file. I do
> understand
> > > that for Open LDAP a static file schema should be defined.
> >
> > Not really. in the RealTime driver you can specify which LDAP
> > attributes map to which Asterisk Config settings.
> >
> > > The only reason why I preferred Astirectory over the LDAP real time
> driver
> > > was the fact that there is no mapping required for SIP users and
> peers.
> >
> > OK, maybe I need to go and read more about Astirectory.
> >
> > >
> > > Regards
> > > Abhishek
> > >
> > >
> > > On 8/24/07, Gavin Henry <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Please see the official tracker in the Digium buglist:
> > > >
> > > > http://bugs.digium.com/view.php?id=5768
> > > >
> > > > Here are the schemas we did for OpenLDAP:
> > > >
> > > >
> > > http://bugs.digium.com/file_download.php?file_id=14842&type=bug
> > > >
> > > http://bugs.digium.com/file_download.php?file_id=14841&type=bug
> > > >
> > > > Also, for Novell eDirectory, see:
> > > >
> > > > http://forge.voicerd.org/frs/?group_id=7&release_id=17
> > > >
> > > > Gavin.
> > > >
> > > > --
> > > > http://www.suretecsystems.com/services/openldap/
> > > >
> > > > ___
> > > > --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
> > >
> >
> >
> > --
> > http://www.suretecsystems.com/services/openldap/
> >
>
>
> --
> http://www.suretecsystems.com/services/openldap/
>
> ___
> --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

Re: [asterisk-users] No LongDistance for 1 Extension?

2007-08-27 Thread Abhishek M S
Dear all,

I'm faced with a similar situation of segregating users in 3 different
categories to be able to make: internal calls only (students); internal &
local calls (staff); and internal, local & international calls (profs). I do
understand that 3 different contexts would have to be defined in the
extensions.conf file. Are there custom context modules for Asterisk
1.2.6version as well? If not, I'd really appreciate any suggestions or
help in
this regard.

thanks,
Abhishek

On 8/27/07, Seysan <[EMAIL PROTECTED]> wrote:
>
>
> Thank you.
>
> Now that the conexts are different can all the extension call to echother
> ?
>
> Seysan
>
>
> On 8/27/07, Steven < [EMAIL PROTECTED]> wrote:
> >
> > This is what I did in Trixbox:
> >
> > I added this to extensions_custom.conf
> > -
> > [restrict-local-only]
> > include => from-internal-additional-custom
> > include => app-recordings
> > include => app-callwaiting-cwoff
> > include => app-callwaiting-cwon
> > include => app-dialvm
> > include => app-vmmain
> > include => app-cf-busy-off
> > include => app-cf-busy-off-any
> > include => app-cf-busy-on
> > include => app-cf-off
> > include => app-cf-off-any
> > include => app-cf-on
> > include => app-cf-unavailable-off
> > include => app-cf-unavailable-on
> > include => ext-meetme
> > include => app-calltrace
> > include => app-directory
> > include => app-echo-test
> > include => app-speakextennum
> > include => app-speakingclock
> > include => app-dnd-off
> > include => app-dnd-on
> > include => app-pickup
> > include => app-chanspy
> > include => ext-test
> > include => ext-local
> > include => outrt-007-local-only
> > include => restrict-invalid
> > exten => h,1,Hangup
> >
> > [restrict-invalid]
> > exten => _9.,1,Playback(feature-not-avail-line)
> > exten => _9.,n,Playback(that-number)
> > exten => _9.,n,Playback(is)
> > exten => _9.,n,Playback(privacy-not)
> > exten => _9.,n,Playback(accessible-through-system)
> > exten => _9.,n,Busy()
> > --
> >
> > Then in trixbox, each extension has a context field.
> >
> > Change it from the default to "restrict-local-only".
> >
> > Also, I added a Route called "local-only"
> > This includes just our local exchanges, emergency, and toll free.
> >
> > Dial Patterns:
> > 911
> > 9|1248.
> > 9|1576.
> > 9|1713.
> > 9|1800.
> > 9|1810.
> > 9|1866.
> > 9|1877.
> > 9|1888.
> >
> > I created the "restrict-invalid" context to play a recording when a call
> > was blocked.
> > It matches anything not specified in "restrict-local-only" or higher
> > included contexts.
> >
> > This scenario work great for me.
> >
> > Supposedly there is a Trixbox module called "CustomContexts" 
> > http://aussievoip.com.au/wiki/freePBX-CustomContexts
> > , but it is in
> > beta and seems more complicated than my approach.
> > It should be much more versatile, but I went with the quick fix.
> >
> > --
> > --
> > Steven
> >
> > http://www.glimasoutheast.org
> >
> >
> >
> > "Thomas Kenyon" <[EMAIL PROTECTED]> wrote in message news:
> > [EMAIL PROTECTED]
> > > Seysan wrote:
> > >> Hi all,
> > >>
> > >> I want to limit the outgoing trunk to certain extensions, so for
> > example
> > >> 6 extensions can call long distance, but 4 other extensions are not
> > >> allowed to do so.
> > >>
> > >> How can I do it in FreePBX specially?
> > >>
> > > I don't know about Trixbox per say, but normally you would have all
> > the
> > > handsets that can make long distance calls in one context and all the
> > > ones that can't in another, then use dialplan logic to glue it all
> > together.
> > >
> > >
> > > ___
> > > --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
> >
>
>
> ___
> --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

Re: [asterisk-users] Authenticating SIP user in LDAP database instead of SIP.conf file

2007-08-27 Thread Abhishek M S
Dear Mr Gavin,

Sorry for having miss pelt  your name twice... Thank you once again for your
prompt reply. Is this the correct version of the driver for Asterisk 1.2.x :
res_config_ldap-v0.7.tar.gz<http://bugs.digium.com/file_download.php?file_id=9565&type=bug>
from the link  http://bugs.digium.com/view.php?id=5768

Thank you for your time and patience,
Abhishek




On 8/27/07, Gavin Henry <[EMAIL PROTECTED]> wrote:
>
> On 27/08/07, Abhishek M S <[EMAIL PROTECTED]> wrote:
> > Dear Mr Galvin,
>
> Gavin! ;-)
>
> >
> > As of today I am using the res_config_ldap of Astirectory in my test
> > Asterisk system to connect to a test LDAP database of my University.
> Things
> > seem to be working fine so far. Now I'm faced with the task of
> installing
> > this in the productive system. Before doing so, I'd sure like to
> consider
> > trying the RealTime database driver that you people have developed. Why
> so?
> > because I trust your judgment.
>
> Thanks, but you should still test it yourself.
>
> >
> > > >I see it is res_config_ldap. You'd be much better using the latest
> > > >version in the bug tracker.
> >
> > This would mean removing Astirectory module, installing the new driver
> and
> > loading the new schema into LDAP. In my view, the latter part shouldn't
> be a
> > concern because the old attributes and object classes (Astirectory)
> should
> > in no way interfere with the new ones. Besides the old object classes
> could
> > be deleted from LDAP. Also the former part shouldn't be of much concern
> > either.
>
> Nope, you are correct.
>
> >
> > My only concern as of now is in the installation of the RealTime
> database
> > driver because the 'readme' file does not say anything about the
> > installation. It only says about the configuration after installation.
> > From the link:
> > http://svn.digium.com/svn/asterisk/team/group/res_config_ldap/
> > Would it be sufficiant if I were to copy the makefile and
> res_config_ldap.c
> > to the res/ directory of my running Asterisk and do make; make install?
> or
> > do I have to do LIBS=-lldap export LIBS ./configure before that? My
> asterisk
> > version is 1.2.6.
>
> This Digium version is for 1.4.x, not 1.2
>
> >
> > Thanks in advance,
> > Abhishek
> >
> >
> >
> >
> >
> >
> > On 8/27/07, Gavin Henry <[EMAIL PROTECTED] > wrote:
> > > I see it is res_config_ldap. You'd be much better using the latest
> > > version in the bug tracker.
> > >
> > > On 27/08/07, Gavin Henry <[EMAIL PROTECTED]> wrote:
> > > > On 26/08/07, Abhishek M S < [EMAIL PROTECTED]> wrote:
> > > > > Dear Mr Galvin,
> > > >
> > > > Gavin ;-)
> > > >
> > > > >
> > > > > Thank you for the links. Had gone through the bug tracker before
> > though. I
> > > > > was specifically referring to the schema for the driver
> 'Astirectory'
> > and
> > > > > not the one related to the real time LDAP driver for Open LDAP.
> > > >
> > > > It's for any LDAP Compliant Directory Server.
> > > >
> > > >  In the
> > > > > 'Astirectory'  documentation there's a file defining the schema
> for
> > LDAP
> > > > > which is incomplete. By incomplete I mean the Syntax and few other
> > fields
> > > > > are not defined let alone the schema being a static file. I do
> > understand
> > > > > that for Open LDAP a static file schema should be defined.
> > > >
> > > > Not really. in the RealTime driver you can specify which LDAP
> > > > attributes map to which Asterisk Config settings.
> > > >
> > > > > The only reason why I preferred Astirectory over the LDAP real
> time
> > driver
> > > > > was the fact that there is no mapping required for SIP users and
> > peers.
> > > >
> > > > OK, maybe I need to go and read more about Astirectory.
> > > >
> > > > >
> > > > > Regards
> > > > > Abhishek
> > > > >
> > > > >
> > > > > On 8/24/07, Gavin Henry <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Please see the official tracker in the Digium buglist:
> > > > > >
> > > > > > http://bugs.digium.com/view.php?id=57

Re: [asterisk-users] Authenticating SIP user in LDAP database instead of SIP.conf file

2007-08-29 Thread Abhishek M S
Dear Mr Gavin,
Thank you once again. Will have to talk it over with my prof before
upgrading to Asterisk 1.4. The productive system is currently running on
1.2.6.
Thanks
Abhishek

On 8/28/07, Gavin Henry <[EMAIL PROTECTED]> wrote:
>
> On 27/08/07, Abhishek M S <[EMAIL PROTECTED]> wrote:
> > Dear Mr Gavin,
> >
> > Sorry for having miss pelt  your name twice... Thank you once again for
> your
> > prompt reply. Is this the correct version of the driver for Asterisk
> 1.2.x :
> >  res_config_ldap-v0.7.tar.gz  from the link
> > http://bugs.digium.com/view.php?id=5768
>
> If you use an old version of res_config_ldap with Asterisk version
> 1.2, I'm pretty sure you'll be asked to upgrade to Asterisk 1.4 if you
> seek any help via the lists or bug tracker.
>
> If you can use the latest release of Asterisk, you should.
>
> >
> > Thank you for your time and patience,
> >
> > Abhishek
> >
> >
> >
> >
> >  On 8/27/07, Gavin Henry <[EMAIL PROTECTED]> wrote:
> > > On 27/08/07, Abhishek M S <[EMAIL PROTECTED]> wrote:
> > > > Dear Mr Galvin,
> > >
> > > Gavin! ;-)
> > >
> > > >
> > > > As of today I am using the res_config_ldap of Astirectory in my test
> > > > Asterisk system to connect to a test LDAP database of my University.
> > Things
> > > > seem to be working fine so far. Now I'm faced with the task of
> > installing
> > > > this in the productive system. Before doing so, I'd sure like to
> > consider
> > > > trying the RealTime database driver that you people have developed.
> Why
> > so?
> > > > because I trust your judgment.
> > >
> > > Thanks, but you should still test it yourself.
> > >
> > > >
> > > > > >I see it is res_config_ldap. You'd be much better using the
> latest
> > > > > >version in the bug tracker.
> > > >
> > > > This would mean removing Astirectory module, installing the new
> driver
> > and
> > > > loading the new schema into LDAP. In my view, the latter part
> shouldn't
> > be a
> > > > concern because the old attributes and object classes (Astirectory)
> > should
> > > > in no way interfere with the new ones. Besides the old object
> classes
> > could
> > > > be deleted from LDAP. Also the former part shouldn't be of much
> concern
> > > > either.
> > >
> > > Nope, you are correct.
> > >
> > > >
> > > > My only concern as of now is in the installation of the RealTime
> > database
> > > > driver because the 'readme' file does not say anything about the
> > > > installation. It only says about the configuration after
> installation.
> > > > From the link:
> > > >
> > http://svn.digium.com/svn/asterisk/team/group/res_config_ldap/
> > > > Would it be sufficiant if I were to copy the makefile and
> > res_config_ldap.c
> > > > to the res/ directory of my running Asterisk and do make; make
> install?
> > or
> > > > do I have to do LIBS=-lldap export LIBS ./configure before that? My
> > asterisk
> > > > version is 1.2.6.
> > >
> > > This Digium version is for 1.4.x, not 1.2
> > >
> > > >
> > > > Thanks in advance,
> > > > Abhishek
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 8/27/07, Gavin Henry < [EMAIL PROTECTED] > wrote:
> > > > > I see it is res_config_ldap. You'd be much better using the latest
> > > > > version in the bug tracker.
> > > > >
> > > > > On 27/08/07, Gavin Henry < [EMAIL PROTECTED]> wrote:
> > > > > > On 26/08/07, Abhishek M S < [EMAIL PROTECTED]> wrote:
> > > > > > > Dear Mr Galvin,
> > > > > >
> > > > > > Gavin ;-)
> > > > > >
> > > > > > >
> > > > > > > Thank you for the links. Had gone through the bug tracker
> before
> > > > though. I
> > > > > > > was specifically referring to the schema for the driver
> > 'Astirectory'
> > > > and
> > > > > > > not the one related to the real time LDAP driver for Open
> LDAP.
> > > > > >
> > > > > > It's for any LDAP Compli

Re: [asterisk-users] Authenticating SIP user in LDAP database instead of SIP.conf file

2007-09-05 Thread Abhishek M S
Hi,
There isn't an astirectory driver for Asterisk version 1.4. So I guess
you'll have to use the asterisk realtime (res_config_ldap) driver.
cheers
Abhishek

On 9/5/07, Alessandro Russo <[EMAIL PROTECTED]> wrote:
>
> Hi to all
> I'm using Asterisk 1.4 and I'd like to use LDAP instead of sip.conf...
> Now you suggest to use asterisk realtime (res_config_ldap) or
> astirectory??
> Can I use one of them with version 1.4?
> thx
>
>
>
> On 8/30/07, Gavin Henry <[EMAIL PROTECTED]> wrote:
> >
> > No probs.
> >
> > On 29/08/2007, Abhishek M S <[EMAIL PROTECTED]> wrote:
> > > Dear Mr Gavin,
> > > Thank you once again. Will have to talk it over with my prof before
> > > upgrading to Asterisk 1.4. The productive system is currently running
> > on
> > > 1.2.6.
> > > Thanks
> > > Abhishek
> > >
> > >
> > >  On 8/28/07, Gavin Henry < [EMAIL PROTECTED]> wrote:
> > > > On 27/08/07, Abhishek M S <[EMAIL PROTECTED]> wrote:
> > > > > Dear Mr Gavin,
> > > > >
> > > > > Sorry for having miss pelt  your name twice... Thank you once
> > again for
> > > your
> > > > > prompt reply. Is this the correct version of the driver for
> > Asterisk
> > > 1.2.x :
> > > > >  res_config_ldap-v0.7.tar.gz  from the link
> > > > > http://bugs.digium.com/view.php?id=5768
> > > >
> > > > If you use an old version of res_config_ldap with Asterisk version
> > > > 1.2, I'm pretty sure you'll be asked to upgrade to Asterisk 1.4 if
> > you
> > > > seek any help via the lists or bug tracker.
> > > >
> > > > If you can use the latest release of Asterisk, you should.
> > > >
> > > > >
> > > > > Thank you for your time and patience,
> > > > >
> > > > > Abhishek
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >  On 8/27/07, Gavin Henry <[EMAIL PROTECTED] > wrote:
> > > > > > On 27/08/07, Abhishek M S <[EMAIL PROTECTED]> wrote:
> > > > > > > Dear Mr Galvin,
> > > > > >
> > > > > > Gavin! ;-)
> > > > > >
> > > > > > >
> > > > > > > As of today I am using the res_config_ldap of Astirectory in
> > my test
> > > > > > > Asterisk system to connect to a test LDAP database of my
> > University.
> > > > > Things
> > > > > > > seem to be working fine so far. Now I'm faced with the task of
> > > > > installing
> > > > > > > this in the productive system. Before doing so, I'd sure like
> > to
> > > > > consider
> > > > > > > trying the RealTime database driver that you people have
> > developed.
> > > Why
> > > > > so?
> > > > > > > because I trust your judgment.
> > > > > >
> > > > > > Thanks, but you should still test it yourself.
> > > > > >
> > > > > > >
> > > > > > > > >I see it is res_config_ldap. You'd be much better using the
> >
> > > latest
> > > > > > > > >version in the bug tracker.
> > > > > > >
> > > > > > > This would mean removing Astirectory module, installing the
> > new
> > > driver
> > > > > and
> > > > > > > loading the new schema into LDAP. In my view, the latter part
> > > shouldn't
> > > > > be a
> > > > > > > concern because the old attributes and object classes
> > (Astirectory)
> > > > > should
> > > > > > > in no way interfere with the new ones. Besides the old object
> > > classes
> > > > > could
> > > > > > > be deleted from LDAP. Also the former part shouldn't be of
> > much
> > > concern
> > > > > > > either.
> > > > > >
> > > > > > Nope, you are correct.
> > > > > >
> > > > > > >
> > > > > > > My only concern as of now is in the installation of the
> > RealTime
> > > > > database
> > > > > > > driver because the 'readme' file does not say anything about
> &g