Re: [Freeswitch-users] LDAP Integration

2009-02-02 Thread Leon de Rooij
On Jan 31, 2009, at 4:15 AM, John Skopis (Lists) wrote:

> Leon de Rooij wrote:
>> Hi John,
>>
>> I've been trying to get your mod_xml_ldap module running, but didn't
>> get very far yet..
>>
>> What is the official way to get the module built ?
>>
>
> The official way to build all fs modules is to uncomment the entry in
> modules.conf.
>
> If you want to build a specific module there are targets
>
> make mod_name-clean
> make mod_name-install

Thanks, I'll try that.

> as for mod_xml_ldap, I really do not feel that it is as quality as I
> would expect a production quality module to be.

I understand, it's just that I'm very interested in it as we're using  
ldap everywhere over here.

>> I tried modifying trunk/freeswitch.spec so that
>>
>> XML_INT_MODULES contains xml_int/mod_xml_ldap
>>
>> There's also a directories/mod_ldap in DISABLED_MODULES in the same
>> file, but I don't suppose it's necessary to enable it, or is it ?
>>
>
> mod_ldap is a separate module, implementing the directory interface,  
> not
> to be confused with the "directory", which is queried for user +  
> domain
> configuration (e.g., conf/directory/default.xml).
>
> perhaps it should be renamed to mod_dbi?
>
>> The mod_xml_ldap doesn't get built by running make make or dpkg-
>> buildpackage from trunk/
>>
>> Also I tried building it from the module directory itself, but then I
>> get the following error:
>>
>> fsbuil...@sv:~/trunk/src/mod/xml_int/mod_xml_ldap$ make
>> Compiling mod_xml_ldap.c...
>> cc1: warnings being treated as errors
>> mod_xml_ldap.c: In function 'xml_ldap_search':
>> mod_xml_ldap.c:356: warning: cast from pointer to integer of  
>> different
>> size
>> make[1]: *** [mod_xml_ldap.o] Error 1
>> make: *** [all] Error 1
>>
>
>
>
> I have been working on a new module called mod_entity that works off a
> simple description of an xml entitiy (domain, user, extension,
> condition, action, anti-action currently) querying a db backend via  
> the
> directory interface for fields used to build the entity. It still  
> needs
> a bit of work but I am hoping to get a patch together this weekend. I
> will post it to the freeswitch-dev list asking for comments.
>
> Off the top of my head at least the wishlist TODO is:
>
> implement connection pooling for mod_directory
>
> implement a cache either as a module used by an xml_int mod or in
> switch_xml to cache a switch_xml_t
>
>
>> (Also I had to apt-get install libsasl2 libsasl2-dev, otherwise make
>> from this dir errored with missing sasl/sasl.h)
>>
>> Can you see what I'm doing wrong ?
>>
>> (I'm using svn rev 11560)
>>
>> thanks & regards,
>>
>> Leon
>>
>> On Jan 6, 2009, at 4:55 AM, John Skopis (Lists) wrote:
>>
>>> Vinicius Kobashi wrote:
 hi ppl.

 i tried hard to make it work, but still i couldnt find a complete
 openldap scheme that provides these information, and i still  
 could't
 find out where to put these configuration...

 can anyone help me?

 thankz!

 vinicius escreveu:
> thankz!
>
> ill set my openldap to provide these information..
>
> but these about these binding settings... where should i set them?
>
> best regards
>
> John Skopis (Lists) wrote:
>> vinicius wrote:
>>
>>> hi ppl.. i tried to find something at google, but i couldnt
>>> manage to find
>>> anything.
>>> i still dont know what to do to make the mod_xml_ldap work.
>>> i couldnt find information about how to build a config file for
>>> the
>>> module, and where to store it...
>>>
>>> can anyone give me a help?
>>>
>>>
>> Be advised mod_xml_ldap is probably not production quality and  
>> will
>> undoubtedly change, eventually at least.
>>
>> Here is what I used once:
>>
>> 
>>
>>
>>   
>>  
>>  
>>  
>>  
>>  ldap://172.16.75.129"; />
>>  
>>  
>>
>>  
>>  
>>  
>>  
>>  
>>  
>>  
>>  > mapfrom="FSvm-email-all-
>> messages" />
>>  > />
>>  > />
>>  
>>   
>>
>>   
>>   > bindings="configuration"/>
>>   
>>   ldap://172.16.75.129"; />
>>   
>>   
>>   
>> 
>>
>>
>> which should/probably/might work with ldap objects like these:
>>
>> dn: cn=John Skopis,ou=people,dc=example
>> objectClass: person
>> objectClass: inetOrgPerson
>> objectClass: organizationalPerson
>> objectClass: FreeSWITCH-Exten-Object
>> objectClass: top
>> cn: John Skopis
>> sn: Skopis
>> givenName: John
>> FSid: 1001
>> FSmailbox: 1001
>> FSpassword: 1234
>> FSvm-password: 1001
>> FSemail-addr: john...@skopis.com
>>

Re: [Freeswitch-users] LDAP Integration

2009-01-30 Thread John Skopis (Lists)
Leon de Rooij wrote:
> Hi John,
> 
> I've been trying to get your mod_xml_ldap module running, but didn't  
> get very far yet..
> 
> What is the official way to get the module built ?
> 

The official way to build all fs modules is to uncomment the entry in
modules.conf.

If you want to build a specific module there are targets

make mod_name-clean
make mod_name-install

as for mod_xml_ldap, I really do not feel that it is as quality as I
would expect a production quality module to be.

> I tried modifying trunk/freeswitch.spec so that
> 
> XML_INT_MODULES contains xml_int/mod_xml_ldap
> 
> There's also a directories/mod_ldap in DISABLED_MODULES in the same  
> file, but I don't suppose it's necessary to enable it, or is it ?
> 

mod_ldap is a separate module, implementing the directory interface, not
to be confused with the "directory", which is queried for user + domain
configuration (e.g., conf/directory/default.xml).

perhaps it should be renamed to mod_dbi?

> The mod_xml_ldap doesn't get built by running make make or dpkg- 
> buildpackage from trunk/
> 
> Also I tried building it from the module directory itself, but then I  
> get the following error:
> 
> fsbuil...@sv:~/trunk/src/mod/xml_int/mod_xml_ldap$ make
> Compiling mod_xml_ldap.c...
> cc1: warnings being treated as errors
> mod_xml_ldap.c: In function 'xml_ldap_search':
> mod_xml_ldap.c:356: warning: cast from pointer to integer of different  
> size
> make[1]: *** [mod_xml_ldap.o] Error 1
> make: *** [all] Error 1
> 



I have been working on a new module called mod_entity that works off a
simple description of an xml entitiy (domain, user, extension,
condition, action, anti-action currently) querying a db backend via the
directory interface for fields used to build the entity. It still needs
a bit of work but I am hoping to get a patch together this weekend. I
will post it to the freeswitch-dev list asking for comments.

Off the top of my head at least the wishlist TODO is:

implement connection pooling for mod_directory

implement a cache either as a module used by an xml_int mod or in
switch_xml to cache a switch_xml_t


> (Also I had to apt-get install libsasl2 libsasl2-dev, otherwise make  
> from this dir errored with missing sasl/sasl.h)
> 
> Can you see what I'm doing wrong ?
> 
> (I'm using svn rev 11560)
> 
> thanks & regards,
> 
> Leon
> 
> On Jan 6, 2009, at 4:55 AM, John Skopis (Lists) wrote:
> 
>> Vinicius Kobashi wrote:
>>> hi ppl.
>>>
>>> i tried hard to make it work, but still i couldnt find a complete
>>> openldap scheme that provides these information, and i still could't
>>> find out where to put these configuration...
>>>
>>> can anyone help me?
>>>
>>> thankz!
>>>
>>> vinicius escreveu:
 thankz!

 ill set my openldap to provide these information..

 but these about these binding settings... where should i set them?

 best regards

 John Skopis (Lists) wrote:
> vinicius wrote:
>
>> hi ppl.. i tried to find something at google, but i couldnt  
>> manage to find
>> anything.
>> i still dont know what to do to make the mod_xml_ldap work.
>> i couldnt find information about how to build a config file for  
>> the
>> module, and where to store it...
>>
>> can anyone give me a help?
>>
>>
> Be advised mod_xml_ldap is probably not production quality and will
> undoubtedly change, eventually at least.
>
> Here is what I used once:
>
>  
>
>
>
>   
>   
>   
>   
>   ldap://172.16.75.129"; />
>   
>   
>
>   
>   
>   
>   
>   
>   
>   
>    mapfrom="FSvm-email-all- 
> messages" />
>    />
>    />
>   
>
>
>
> bindings="configuration"/>
>
>ldap://172.16.75.129"; />
>
>
>
> 
>
>
> which should/probably/might work with ldap objects like these:
>
> dn: cn=John Skopis,ou=people,dc=example
> objectClass: person
> objectClass: inetOrgPerson
> objectClass: organizationalPerson
> objectClass: FreeSWITCH-Exten-Object
> objectClass: top
> cn: John Skopis
> sn: Skopis
> givenName: John
> FSid: 1001
> FSmailbox: 1001
> FSpassword: 1234
> FSvm-password: 1001
> FSemail-addr: john...@skopis.com
> FSvm-email-all-messages: TRUE
> FSvm-delete-file: TRUE
> FSvm-attach-file: TRUE
>
> dn: SIPIdentityUserName=1001,ou=h350,dc=example
> objectClass: person
> objectClass: SIPIdentity
> objectClass: top
> cn: 1001
> sn: 1001
> SIPIdentitySIPURI: sip:1...@172.16.75.129
> SIPIdentityRegistrarAddress: 172.16.75.128

Re: [Freeswitch-users] LDAP Integration

2009-01-30 Thread Leon de Rooij
Hi John,

I've been trying to get your mod_xml_ldap module running, but didn't  
get very far yet..

What is the official way to get the module built ?

I tried modifying trunk/freeswitch.spec so that

XML_INT_MODULES contains xml_int/mod_xml_ldap

There's also a directories/mod_ldap in DISABLED_MODULES in the same  
file, but I don't suppose it's necessary to enable it, or is it ?

The mod_xml_ldap doesn't get built by running make make or dpkg- 
buildpackage from trunk/

Also I tried building it from the module directory itself, but then I  
get the following error:

fsbuil...@sv:~/trunk/src/mod/xml_int/mod_xml_ldap$ make
Compiling mod_xml_ldap.c...
cc1: warnings being treated as errors
mod_xml_ldap.c: In function 'xml_ldap_search':
mod_xml_ldap.c:356: warning: cast from pointer to integer of different  
size
make[1]: *** [mod_xml_ldap.o] Error 1
make: *** [all] Error 1

(Also I had to apt-get install libsasl2 libsasl2-dev, otherwise make  
from this dir errored with missing sasl/sasl.h)

Can you see what I'm doing wrong ?

(I'm using svn rev 11560)

thanks & regards,

Leon

On Jan 6, 2009, at 4:55 AM, John Skopis (Lists) wrote:

> Vinicius Kobashi wrote:
>> hi ppl.
>>
>> i tried hard to make it work, but still i couldnt find a complete
>> openldap scheme that provides these information, and i still could't
>> find out where to put these configuration...
>>
>> can anyone help me?
>>
>> thankz!
>>
>> vinicius escreveu:
>>> thankz!
>>>
>>> ill set my openldap to provide these information..
>>>
>>> but these about these binding settings... where should i set them?
>>>
>>> best regards
>>>
>>> John Skopis (Lists) wrote:
 vinicius wrote:

> hi ppl.. i tried to find something at google, but i couldnt  
> manage to find
> anything.
> i still dont know what to do to make the mod_xml_ldap work.
> i couldnt find information about how to build a config file for  
> the
> module, and where to store it...
>
> can anyone give me a help?
>
>

 Be advised mod_xml_ldap is probably not production quality and will
 undoubtedly change, eventually at least.

 Here is what I used once:

  







ldap://172.16.75.129"; />










>>> mapfrom="FSvm-email-all- 
 messages" />
>>> />
>>> />




>>> bindings="configuration"/>

ldap://172.16.75.129"; />



 


 which should/probably/might work with ldap objects like these:

 dn: cn=John Skopis,ou=people,dc=example
 objectClass: person
 objectClass: inetOrgPerson
 objectClass: organizationalPerson
 objectClass: FreeSWITCH-Exten-Object
 objectClass: top
 cn: John Skopis
 sn: Skopis
 givenName: John
 FSid: 1001
 FSmailbox: 1001
 FSpassword: 1234
 FSvm-password: 1001
 FSemail-addr: john...@skopis.com
 FSvm-email-all-messages: TRUE
 FSvm-delete-file: TRUE
 FSvm-attach-file: TRUE

 dn: SIPIdentityUserName=1001,ou=h350,dc=example
 objectClass: person
 objectClass: SIPIdentity
 objectClass: top
 cn: 1001
 sn: 1001
 SIPIdentitySIPURI: sip:1...@172.16.75.129
 SIPIdentityRegistrarAddress: 172.16.75.128
 SIPIdentityProxyAddress: 172.16.75.128
 SIPIdentityPassword: 1234
 SIPIdentityUserName: 1001
 SIPIdentityServiceLevel: premium


>
> Again, the module is not production quality. Hopefully I will conjurer
> the time and know-how to put something decent together eventually.
>
> To load configuration for any fs module you need to define the XML
> configuration element under the section "configuration".
>
> A good starting point is the file
> $PREFIX/conf/freeswitch.xml
>
> http://wiki.freeswitch.org/wiki/Freeswitch.xml
>
> Also take a look at $PREFIX/logs/freeswitch.xml.fsxml
>
> to load mod_xml_ldap you would need to add something like this to
> modules.conf.xml
>
> 
>
> and create an xml_ldap.conf.xml in
> $PREFIX/autoload_configs/xml_ldap.conf.xml
>
> 
> ...
> 
>
> The ITU is doing some work called h.350:
> http://www.itu.int/ITU-T/studygroups/com16/h350/index.html
>
> Here is what I was working with:
> attributetype ( 1.3.6.1.4.1.65535.2.1.1 NAME 'FSid'
>DESC 'FreeSWITCH Extension ID'
>EQUALITY caseIgnoreIA5Match
>SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
>
> attributetype ( 1.3.6.1.4.1.65535.2.1.2 NAME 'FSmailbox'
>DESC 'FreeSWITCH Extension Mailbox'
>EQUALITY caseIgnoreIA5Match
>SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
>
> attributetype ( 1.3.6.1.4.1.65535.2.1.3 NAME 'FSpassword'
>  

Re: [Freeswitch-users] LDAP Integration

2009-01-06 Thread Vinicius Kobashi




ah ok i got it now

ill try to make it work here and ill let you know then

thank you for your help

John Skopis (Lists) escreveu:

  Vinicius Kobashi wrote:
  
  
hi ppl.

i tried hard to make it work, but still i couldnt find a complete
openldap scheme that provides these information, and i still could't
find out where to put these configuration...

can anyone help me?

thankz!

vinicius escreveu:


  thankz!

ill set my openldap to provide these information..

but these about these binding settings... where should i set them?

best regards

John Skopis (Lists) wrote:
  
  
vinicius wrote:
  


  hi ppl.. i tried to find something at google, but i couldnt manage to find
anything.
i still dont know what to do to make the mod_xml_ldap work.
i couldnt find information about how to build a config file for the
module, and where to store it...

can anyone give me a help?


  

Be advised mod_xml_ldap is probably not production quality and will
undoubtedly change, eventually at least.

Here is what I used once:

  



		
		
		
		
		"ldap://172.16.75.129" />
		
		

		
			
			
			
			
			
			
			
			
			
		





"ldap://172.16.75.129" />






which should/probably/might work with ldap objects like these:

dn: cn=John Skopis,ou=people,dc=example
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: FreeSWITCH-Exten-Object
objectClass: top
cn: John Skopis
sn: Skopis
givenName: John
FSid: 1001
FSmailbox: 1001
FSpassword: 1234
FSvm-password: 1001
FSemail-addr: john...@skopis.com
FSvm-email-all-messages: TRUE
FSvm-delete-file: TRUE
FSvm-attach-file: TRUE

dn: SIPIdentityUserName=1001,ou=h350,dc=example
objectClass: person
objectClass: SIPIdentity
objectClass: top
cn: 1001
sn: 1001
SIPIdentitySIPURI: sip:1...@172.16.75.129
SIPIdentityRegistrarAddress: 172.16.75.128
SIPIdentityProxyAddress: 172.16.75.128
SIPIdentityPassword: 1234
SIPIdentityUserName: 1001
SIPIdentityServiceLevel: premium



  

  
  
Again, the module is not production quality. Hopefully I will conjurer
the time and know-how to put something decent together eventually.

To load configuration for any fs module you need to define the XML
configuration element under the section "configuration".

A good starting point is the file
$PREFIX/conf/freeswitch.xml

http://wiki.freeswitch.org/wiki/Freeswitch.xml

Also take a look at $PREFIX/logs/freeswitch.xml.fsxml

to load mod_xml_ldap you would need to add something like this to
modules.conf.xml



and create an xml_ldap.conf.xml in
$PREFIX/autoload_configs/xml_ldap.conf.xml


...


The ITU is doing some work called h.350:
http://www.itu.int/ITU-T/studygroups/com16/h350/index.html

Here is what I was working with:
attributetype ( 1.3.6.1.4.1.65535.2.1.1 NAME 'FSid'
DESC 'FreeSWITCH Extension ID'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.65535.2.1.2 NAME 'FSmailbox'
DESC 'FreeSWITCH Extension Mailbox'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.65535.2.1.3 NAME 'FSpassword'
DESC 'FreeSWITCH Password'
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
	SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.65535.2.1.4 NAME 'FSa1hash'
DESC 'FreeSWITCH Crypted Password'
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
	SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.65535.2.1.5 NAME 'FSvm-password'
DESC 'FreeSWITCH VoiceMail Password'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
	SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.65535.2.1.6 NAME 'FSemail-addr'
DESC 'E-mail address to send voicemail'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.65535.2.1.7 NAME 'FSvm-email-all-messages'
DESC 'FreeSWITCH Email All Mesages'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
	SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.65535.2.1.8 NAME 'FSvm-delete-file'
DESC 'FreeSWITCH VoiceMail Delete File'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
	SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.65535.2.1.9 NAME 'FSvm-attach-file'
DESC 'FreeSWITCH VoiceMail Attach file'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
	SINGLE-VALUE )





objectclass ( 1.3.6.1.4.1.65535.2.2.1 NAME 'FreeSWITCH-Exten-Object'
SUP top AUXILIARY
DESC '%obj_desc%'
	MUST ( FSid $ FSpassword )
MAY ( FSmailbox $ FSa1hash $ FSvm-password $ FSemail-addr $
FSvm-email-all-messages $ FSvm-delete-file $ FSvm-attach-file ) )

hth

___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-

Re: [Freeswitch-users] LDAP Integration

2009-01-05 Thread John Skopis (Lists)
Vinicius Kobashi wrote:
> hi ppl.
> 
> i tried hard to make it work, but still i couldnt find a complete
> openldap scheme that provides these information, and i still could't
> find out where to put these configuration...
> 
> can anyone help me?
> 
> thankz!
> 
> vinicius escreveu:
>> thankz!
>>
>> ill set my openldap to provide these information..
>>
>> but these about these binding settings... where should i set them?
>>
>> best regards
>>
>> John Skopis (Lists) wrote:
>>> vinicius wrote:
>>>   
 hi ppl.. i tried to find something at google, but i couldnt manage to find
 anything.
 i still dont know what to do to make the mod_xml_ldap work.
 i couldnt find information about how to build a config file for the
 module, and where to store it...

 can anyone give me a help?

 
>>>
>>> Be advised mod_xml_ldap is probably not production quality and will
>>> undoubtedly change, eventually at least.
>>>
>>> Here is what I used once:
>>>
>>>   
>>>
>>>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ldap://172.16.75.129"; />
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> >> mapfrom="FSvm-email-all-messages" />
>>> >> />
>>> >> />
>>> 
>>> 
>>>
>>> 
>>> 
>>> 
>>> ldap://172.16.75.129"; />
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>> which should/probably/might work with ldap objects like these:
>>>
>>> dn: cn=John Skopis,ou=people,dc=example
>>> objectClass: person
>>> objectClass: inetOrgPerson
>>> objectClass: organizationalPerson
>>> objectClass: FreeSWITCH-Exten-Object
>>> objectClass: top
>>> cn: John Skopis
>>> sn: Skopis
>>> givenName: John
>>> FSid: 1001
>>> FSmailbox: 1001
>>> FSpassword: 1234
>>> FSvm-password: 1001
>>> FSemail-addr: john...@skopis.com
>>> FSvm-email-all-messages: TRUE
>>> FSvm-delete-file: TRUE
>>> FSvm-attach-file: TRUE
>>>
>>> dn: SIPIdentityUserName=1001,ou=h350,dc=example
>>> objectClass: person
>>> objectClass: SIPIdentity
>>> objectClass: top
>>> cn: 1001
>>> sn: 1001
>>> SIPIdentitySIPURI: sip:1...@172.16.75.129
>>> SIPIdentityRegistrarAddress: 172.16.75.128
>>> SIPIdentityProxyAddress: 172.16.75.128
>>> SIPIdentityPassword: 1234
>>> SIPIdentityUserName: 1001
>>> SIPIdentityServiceLevel: premium
>>>
>>>

Again, the module is not production quality. Hopefully I will conjurer
the time and know-how to put something decent together eventually.

To load configuration for any fs module you need to define the XML
configuration element under the section "configuration".

A good starting point is the file
$PREFIX/conf/freeswitch.xml

http://wiki.freeswitch.org/wiki/Freeswitch.xml

Also take a look at $PREFIX/logs/freeswitch.xml.fsxml

to load mod_xml_ldap you would need to add something like this to
modules.conf.xml



and create an xml_ldap.conf.xml in
$PREFIX/autoload_configs/xml_ldap.conf.xml


...


The ITU is doing some work called h.350:
http://www.itu.int/ITU-T/studygroups/com16/h350/index.html

Here is what I was working with:
attributetype ( 1.3.6.1.4.1.65535.2.1.1 NAME 'FSid'
DESC 'FreeSWITCH Extension ID'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.65535.2.1.2 NAME 'FSmailbox'
DESC 'FreeSWITCH Extension Mailbox'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.65535.2.1.3 NAME 'FSpassword'
DESC 'FreeSWITCH Password'
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.65535.2.1.4 NAME 'FSa1hash'
DESC 'FreeSWITCH Crypted Password'
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.65535.2.1.5 NAME 'FSvm-password'
DESC 'FreeSWITCH VoiceMail Password'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.65535.2.1.6 NAME 'FSemail-addr'
DESC 'E-mail address to send voicemail'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.65535.2.1.7 NAME 'FSvm-email-all-messages'
DESC 'FreeSWITCH Email All Mesages'
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.65535.2.1.8 NAME 'FSvm-delete-file'
DESC 'FreeSWITCH VoiceMail Delete File'
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.65535.2.1.9 NAME 'FSvm-attach-file'
DESC 'FreeSWITCH VoiceMail Attach file'
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )





objectclass ( 1.

Re: [Freeswitch-users] LDAP Integration

2009-01-05 Thread Vinicius Kobashi




hi ppl.

i tried hard to make it work, but still i couldnt find a complete
openldap scheme that provides these information, and i still could't
find out where to put these configuration...

can anyone help me?

thankz!

vinicius escreveu:

  
  
thankz!
  
ill set my openldap to provide these information..
  
but these about these binding settings... where should i set them?
  
best regards
  
John Skopis (Lists) wrote:
  
vinicius wrote:
  

  hi ppl.. i tried to find something at google, but i couldnt manage to find
anything.
i still dont know what to do to make the mod_xml_ldap work.
i couldnt find information about how to build a config file for the
module, and where to store it...

can anyone give me a help?




Be advised mod_xml_ldap is probably not production quality and will
undoubtedly change, eventually at least.

Here is what I used once:

  



		
		
		
		
		"ldap://172.16.75.129" />
		
		

		
			
			
			
			
			
			
			
			
			
		





"ldap://172.16.75.129" />






which should/probably/might work with ldap objects like these:

dn: cn=John Skopis,ou=people,dc=example
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: FreeSWITCH-Exten-Object
objectClass: top
cn: John Skopis
sn: Skopis
givenName: John
FSid: 1001
FSmailbox: 1001
FSpassword: 1234
FSvm-password: 1001
FSemail-addr: john...@skopis.com
FSvm-email-all-messages: TRUE
FSvm-delete-file: TRUE
FSvm-attach-file: TRUE

dn: SIPIdentityUserName=1001,ou=h350,dc=example
objectClass: person
objectClass: SIPIdentity
objectClass: top
cn: 1001
sn: 1001
SIPIdentitySIPURI: sip:1...@172.16.75.129
SIPIdentityRegistrarAddress: 172.16.75.128
SIPIdentityProxyAddress: 172.16.75.128
SIPIdentityPassword: 1234
SIPIdentityUserName: 1001
SIPIdentityServiceLevel: premium


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
  
  
  

___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
  


-- 
 

 Vinicius Kobashi 

Infra-Estrutura 
Infrastructure 

Ydea Desenvolvimento de Software LTDA. 
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista 
CEP.:04734-004 - Brazil - São Paulo - SP 
Tel.: 55-11-5523-0333 
Mobile: 55-11-8778-5850  


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] LDAP Integration

2008-12-17 Thread vinicius




thankz!

ill set my openldap to provide these information..

but these about these binding settings... where should i set them?

best regards

John Skopis (Lists) wrote:

  vinicius wrote:
  
  
hi ppl.. i tried to find something at google, but i couldnt manage to find
anything.
i still dont know what to do to make the mod_xml_ldap work.
i couldnt find information about how to build a config file for the
module, and where to store it...

can anyone give me a help?


  
  
Be advised mod_xml_ldap is probably not production quality and will
undoubtedly change, eventually at least.

Here is what I used once:

  



		
		
		
		
		
		
		

		
			
			
			
			
			
			
			
			
			
		












which should/probably/might work with ldap objects like these:

dn: cn=John Skopis,ou=people,dc=example
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: FreeSWITCH-Exten-Object
objectClass: top
cn: John Skopis
sn: Skopis
givenName: John
FSid: 1001
FSmailbox: 1001
FSpassword: 1234
FSvm-password: 1001
FSemail-addr: john...@skopis.com
FSvm-email-all-messages: TRUE
FSvm-delete-file: TRUE
FSvm-attach-file: TRUE

dn: SIPIdentityUserName=1001,ou=h350,dc=example
objectClass: person
objectClass: SIPIdentity
objectClass: top
cn: 1001
sn: 1001
SIPIdentitySIPURI: sip:1...@172.16.75.129
SIPIdentityRegistrarAddress: 172.16.75.128
SIPIdentityProxyAddress: 172.16.75.128
SIPIdentityPassword: 1234
SIPIdentityUserName: 1001
SIPIdentityServiceLevel: premium


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
  




___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] LDAP Integration

2008-12-16 Thread John Skopis (Lists)
vinicius wrote:
> hi ppl.. i tried to find something at google, but i couldnt manage to find
> anything.
> i still dont know what to do to make the mod_xml_ldap work.
> i couldnt find information about how to build a config file for the
> module, and where to store it...
> 
> can anyone give me a help?
> 

Be advised mod_xml_ldap is probably not production quality and will
undoubtedly change, eventually at least.

Here is what I used once:

  







ldap://172.16.75.129"; />



















ldap://172.16.75.129"; />






which should/probably/might work with ldap objects like these:

dn: cn=John Skopis,ou=people,dc=example
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: FreeSWITCH-Exten-Object
objectClass: top
cn: John Skopis
sn: Skopis
givenName: John
FSid: 1001
FSmailbox: 1001
FSpassword: 1234
FSvm-password: 1001
FSemail-addr: john...@skopis.com
FSvm-email-all-messages: TRUE
FSvm-delete-file: TRUE
FSvm-attach-file: TRUE

dn: SIPIdentityUserName=1001,ou=h350,dc=example
objectClass: person
objectClass: SIPIdentity
objectClass: top
cn: 1001
sn: 1001
SIPIdentitySIPURI: sip:1...@172.16.75.129
SIPIdentityRegistrarAddress: 172.16.75.128
SIPIdentityProxyAddress: 172.16.75.128
SIPIdentityPassword: 1234
SIPIdentityUserName: 1001
SIPIdentityServiceLevel: premium


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] LDAP Integration

2008-12-16 Thread vinicius




hi ppl.. i tried to find something at google, but i couldnt manage to
find
anything.
i still dont know what to do to make the mod_xml_ldap work.
i couldnt find information about how to build a config file for the
module, and where to store it...

can anyone give me a help?

thankz!

Vinicius Kobashi wrote:

  
  i did it... i still had some
problems with sasl, but i managed to fix them.
  
now the module is up and running but i still dunno where to put the
mod_xml_ldap configuration file.
  
does anyone have a sample of the config file? and know where to put it?
  
Michael Collins escreveu:
  
Please confirm your svn rev - I believe this was fixed recently. Do
"make current" in your source directory.
-MC

On Thu, Dec 11, 2008 at 1:35 PM, Vinicius Kobashi
 wrote:
  

  ok ill try that

i found another module thats mod_xml_ldap

but when i try to load it, during compiling i get the 404 error
http://svn.freeswitch.org/downloads/libs/openldap-2.4.11.tgz file not
found
ill try to download it myself and then try to compile freeswitch again and
test

=D thankz for the fast answer

Hadley Rich escreveu:

On Friday 12 December 2008 09:16:56 Vinicius Kobashi wrote:


i found another module called mod_xml_curl and loaded it to freeswitch
too... but still it shows me the following error:

 2008-12-11 17:04:04 [WARNING] sofia_reg.c:1501 sofia_reg_parse_auth()
Can't find user [usern...@freeswitchserver.com] You must define a domain
called 'freeswitchserver.com' in your directory and add a user with the
id="username" attribute and you must configure your device to use the
proper domain in it's authentication credentials.

 does anyone got an idea?


Yes, you need to define a domain called 'freeswitchserver.com' in your
directory and add a user with the id="username" just like the error message
says.

The directory files are in conf/directory/

If you would like to read up on mod_xml_curl there is a detailed page on the
wiki;

http://wiki.freeswitch.org/wiki/Mod_xml_curl

hads


--


Vinicius Kobashi
Infra-Estrutura

Ydea Desenvolvimento de Software LTDA.
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
CEP.:04734-004 - São Paulo - SP
Tel.: 55-11-5523-0333
___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
  
  
  
  -- 
   
  
   Vinicius Kobashi 
Infra-Estrutura 
  
Ydea Desenvolvimento de Software LTDA. 
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista 
CEP.:04734-004 - São Paulo - SP 
Tel.: 55-11-5523-0333  
  

___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
  



___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] LDAP Integration

2008-12-12 Thread Vinicius Kobashi




does anyone have a sample of the
config file for mod_xml_ldap? and know where to put it?

Vinicius Kobashi escreveu:

  
  i did it... i still had some
problems with sasl, but i managed to fix them.
  
now the module is up and running but i still dunno where to put the
mod_xml_ldap configuration file.
  
does anyone have a sample of the config file? and know where to put it?
  
Michael Collins escreveu:
  
Please confirm your svn rev - I believe this was fixed recently. Do
"make current" in your source directory.
-MC

On Thu, Dec 11, 2008 at 1:35 PM, Vinicius Kobashi
 wrote:
  

  ok ill try that

i found another module thats mod_xml_ldap

but when i try to load it, during compiling i get the 404 error
http://svn.freeswitch.org/downloads/libs/openldap-2.4.11.tgz file not
found
ill try to download it myself and then try to compile freeswitch again and
test

=D thankz for the fast answer

Hadley Rich escreveu:

On Friday 12 December 2008 09:16:56 Vinicius Kobashi wrote:


i found another module called mod_xml_curl and loaded it to freeswitch
too... but still it shows me the following error:

 2008-12-11 17:04:04 [WARNING] sofia_reg.c:1501 sofia_reg_parse_auth()
Can't find user [usern...@freeswitchserver.com] You must define a domain
called 'freeswitchserver.com' in your directory and add a user with the
id="username" attribute and you must configure your device to use the
proper domain in it's authentication credentials.

 does anyone got an idea?


Yes, you need to define a domain called 'freeswitchserver.com' in your
directory and add a user with the id="username" just like the error message
says.

The directory files are in conf/directory/

If you would like to read up on mod_xml_curl there is a detailed page on the
wiki;

http://wiki.freeswitch.org/wiki/Mod_xml_curl

hads


--


Vinicius Kobashi
Infra-Estrutura

Ydea Desenvolvimento de Software LTDA.
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
CEP.:04734-004 - São Paulo - SP
Tel.: 55-11-5523-0333
___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
  
  
  
  -- 
   
  
   Vinicius Kobashi 
Infra-Estrutura 
  
Ydea Desenvolvimento de Software LTDA. 
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista 
CEP.:04734-004 - São Paulo - SP 
Tel.: 55-11-5523-0333  
  

___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
  


-- 
 

 Vinicius Kobashi 
Infra-Estrutura 

Ydea Desenvolvimento de Software LTDA. 
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista 
CEP.:04734-004 - São Paulo - SP 
Tel.: 55-11-5523-0333  


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] LDAP Integration

2008-12-11 Thread Vinicius Kobashi




i did it... i still had some
problems with sasl, but i managed to fix them.

now the module is up and running but i still dunno where to put the
mod_xml_ldap configuration file.

does anyone have a sample of the config file? and know where to put it?

Michael Collins escreveu:

  Please confirm your svn rev - I believe this was fixed recently. Do
"make current" in your source directory.
-MC

On Thu, Dec 11, 2008 at 1:35 PM, Vinicius Kobashi
 wrote:
  
  
ok ill try that

i found another module thats mod_xml_ldap

but when i try to load it, during compiling i get the 404 error
http://svn.freeswitch.org/downloads/libs/openldap-2.4.11.tgz file not
found
ill try to download it myself and then try to compile freeswitch again and
test

=D thankz for the fast answer

Hadley Rich escreveu:

On Friday 12 December 2008 09:16:56 Vinicius Kobashi wrote:


i found another module called mod_xml_curl and loaded it to freeswitch
too... but still it shows me the following error:

 2008-12-11 17:04:04 [WARNING] sofia_reg.c:1501 sofia_reg_parse_auth()
Can't find user [usern...@freeswitchserver.com] You must define a domain
called 'freeswitchserver.com' in your directory and add a user with the
id="username" attribute and you must configure your device to use the
proper domain in it's authentication credentials.

 does anyone got an idea?


Yes, you need to define a domain called 'freeswitchserver.com' in your
directory and add a user with the id="username" just like the error message
says.

The directory files are in conf/directory/

If you would like to read up on mod_xml_curl there is a detailed page on the
wiki;

http://wiki.freeswitch.org/wiki/Mod_xml_curl

hads


--


Vinicius Kobashi
Infra-Estrutura

Ydea Desenvolvimento de Software LTDA.
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
CEP.:04734-004 - São Paulo - SP
Tel.: 55-11-5523-0333
___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



  
  
___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
  


-- 
 

 Vinicius Kobashi 
Infra-Estrutura 

Ydea Desenvolvimento de Software LTDA. 
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista 
CEP.:04734-004 - São Paulo - SP 
Tel.: 55-11-5523-0333  


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] LDAP Integration

2008-12-11 Thread Michael Collins
Please confirm your svn rev - I believe this was fixed recently. Do
"make current" in your source directory.
-MC

On Thu, Dec 11, 2008 at 1:35 PM, Vinicius Kobashi
 wrote:
> ok ill try that
>
> i found another module thats mod_xml_ldap
>
> but when i try to load it, during compiling i get the 404 error
> http://svn.freeswitch.org/downloads/libs/openldap-2.4.11.tgz file not
> found
> ill try to download it myself and then try to compile freeswitch again and
> test
>
> =D thankz for the fast answer
>
> Hadley Rich escreveu:
>
> On Friday 12 December 2008 09:16:56 Vinicius Kobashi wrote:
>
>
> i found another module called mod_xml_curl and loaded it to freeswitch
> too... but still it shows me the following error:
>
>  2008-12-11 17:04:04 [WARNING] sofia_reg.c:1501 sofia_reg_parse_auth()
> Can't find user [usern...@freeswitchserver.com] You must define a domain
> called 'freeswitchserver.com' in your directory and add a user with the
> id="username" attribute and you must configure your device to use the
> proper domain in it's authentication credentials.
>
>  does anyone got an idea?
>
>
> Yes, you need to define a domain called 'freeswitchserver.com' in your
> directory and add a user with the id="username" just like the error message
> says.
>
> The directory files are in conf/directory/
>
> If you would like to read up on mod_xml_curl there is a detailed page on the
> wiki;
>
> http://wiki.freeswitch.org/wiki/Mod_xml_curl
>
> hads
>
>
> --
>
>
> Vinicius Kobashi
> Infra-Estrutura
>
> Ydea Desenvolvimento de Software LTDA.
> Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
> CEP.:04734-004 - São Paulo - SP
> Tel.: 55-11-5523-0333
> ___
> Freeswitch-users mailing list
> Freeswitch-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>

___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] LDAP Integration

2008-12-11 Thread Brian West

Thats already fixed too.. update.

/b

On Dec 11, 2008, at 3:35 PM, Vinicius Kobashi wrote:


ok ill try that

i found another module thats mod_xml_ldap

but when i try to load it, during compiling i get the 404 error http://svn.freeswitch.org/downloads/libs/openldap-2.4.11.tgz 
 file not found
ill try to download it myself and then try to compile freeswitch  
again and test


=D thankz for the fast answer


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] LDAP Integration

2008-12-11 Thread Vinicius Kobashi




ok ill try that

i found another module thats mod_xml_ldap

but when i try to load it, during compiling i get the 404 error
http://svn.freeswitch.org/downloads/libs/openldap-2.4.11.tgz file not
found
ill try to download it myself and then try to compile freeswitch again
and test

=D thankz for the fast answer

Hadley Rich escreveu:

  On Friday 12 December 2008 09:16:56 Vinicius Kobashi wrote:
  
  
i found another module called mod_xml_curl and loaded it to freeswitch
too... but still it shows me the following error:

 2008-12-11 17:04:04 [WARNING] sofia_reg.c:1501 sofia_reg_parse_auth()
Can't find user [usern...@freeswitchserver.com] You must define a domain
called 'freeswitchserver.com' in your directory and add a user with the
id="username" attribute and you must configure your device to use the
proper domain in it's authentication credentials.

 does anyone got an idea?

  
  
Yes, you need to define a domain called 'freeswitchserver.com' in your 
directory and add a user with the id="username" just like the error message 
says.

The directory files are in conf/directory/

If you would like to read up on mod_xml_curl there is a detailed page on the 
wiki;

http://wiki.freeswitch.org/wiki/Mod_xml_curl

hads
  


-- 
 

 Vinicius Kobashi 
Infra-Estrutura 

Ydea Desenvolvimento de Software LTDA. 
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista 
CEP.:04734-004 - São Paulo - SP 
Tel.: 55-11-5523-0333  


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] LDAP Integration

2008-12-11 Thread Hadley Rich
On Friday 12 December 2008 09:16:56 Vinicius Kobashi wrote:
> i found another module called mod_xml_curl and loaded it to freeswitch
> too... but still it shows me the following error:
>
>  2008-12-11 17:04:04 [WARNING] sofia_reg.c:1501 sofia_reg_parse_auth()
> Can't find user [usern...@freeswitchserver.com] You must define a domain
> called 'freeswitchserver.com' in your directory and add a user with the
> id="username" attribute and you must configure your device to use the
> proper domain in it's authentication credentials.
>
>  does anyone got an idea?

Yes, you need to define a domain called 'freeswitchserver.com' in your 
directory and add a user with the id="username" just like the error message 
says.

The directory files are in conf/directory/

If you would like to read up on mod_xml_curl there is a detailed page on the 
wiki;

http://wiki.freeswitch.org/wiki/Mod_xml_curl

hads
-- 
http://nicegear.co.nz
VoIP, DVB and other Linux compatible hardware.

___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] LDAP Integration

2008-12-11 Thread Vinicius Kobashi




i found another module called
mod_xml_curl and loaded it to freeswitch too... but still it
shows me the following error:

2008-12-11 17:04:04 [WARNING] sofia_reg.c:1501 sofia_reg_parse_auth()
Can't find user [usern...@freeswitchserver.com]
You must define a domain called 'freeswitchserver.com' in your
directory and add a user with the id="username" attribute
and you must configure your device to use the proper domain in it's
authentication credentials.

does anyone got an idea?

Vinicius Kobashi escreveu:
hello,
  
i managed to successfully install and test freeswitch within a gentoo
environment.
  
the local accounts work as espected.
  
my questions are:
  
1- how to make the right configuration for mod_ldap to work? i found
some information at google
but none of them helped me with this. (btw i successfully loaded up
this module)
  
2- how does the call work? i mean, when i make a call to another user,
whut should i dial?
  usern...@server.com or user_id_num...@server.com?
i found something
about another module but
i didnt find it at the modules list, and didn't figure out how to load
it.
  
sorry for my dumb questions, but i started testing/using freeswitch
yesterday.
  
thank you
  
  
  -- 
   
  
   Vinicius Kobashi 
Infrastructure
Infra-Estrutura 
  
Ydea Desenvolvimento de Software LTDA. 
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista 
CEP.:04734-004 - Brazil - São Paulo - SP 
Tel.: 55-11-5523-0333  


-- 
 

 Vinicius Kobashi 
Infra-Estrutura 

Ydea Desenvolvimento de Software LTDA. 
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista 
CEP.:04734-004 - São Paulo - SP 
Tel.: 55-11-5523-0333  


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


[Freeswitch-users] LDAP Integration

2008-12-11 Thread Vinicius Kobashi




hello,

i managed to successfully install and test freeswitch within a gentoo
environment.

the local accounts work as espected.

my questions are:

1- how to make the right configuration for mod_ldap to work? i found
some information at google
but none of them helped me with this. (btw i successfully loaded up
this module)

2- how does the call work? i mean, when i make a call to another user,
whut should i dial?
usern...@server.com or user_id_num...@server.com? i found something
about another module but
i didnt find it at the modules list, and didn't figure out how to load
it.

sorry for my dumb questions, but i started testing/using freeswitch
yesterday.

thank you


-- 
 

 Vinicius Kobashi 
Infrastructure
Infra-Estrutura 

Ydea Desenvolvimento de Software LTDA. 
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista 
CEP.:04734-004 - Brazil - São Paulo - SP 
Tel.: 55-11-5523-0333  


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org