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" />
>>>>>  

Re: [Freeswitch-users] VMWare voice quality

2009-01-22 Thread John Skopis (Lists)
Michael Collins wrote:
> If anyone figures this out please post it to this thread. I am working
> on a wiki page for the VMWare appliance and I would like to be able to
> inform people on how to handle this situation.

I had some issues under vmware fusion. They were resolved by adding
clock=pit [1] to the kernel boot params and switching to host-only
networking, and running natd + ipfw on the host system. The vmware natd
would probably also work. haven't tried myself. The clock=pit is the big
kicker. Also, recompiling the kernel with HZ=100 might help to reduce
the load on the host system. [2] Though, with a small number of
vms/vcpus on decent hw the number of context switches probably won't
have much of an effect.

[1] www.vmware.com/pdf/vmware_timekeeping.pdf
[2] http://communities.vmware.com/docs/DOC-3580

> 
> Also, IIUC, those running VMWare Fusion on Macs are not experiencing
> this, correct? What about those using a hypervisor like ESXi? Any
> known issues?
> 
> Thanks,
> MC
> 
> On Thu, Jan 15, 2009 at 9:15 AM, Ken Rice  wrote:
>> On 1/15/09 11:01 AM, "Remko Kloosterman"  wrote:
>>
>>> Hello Ken, hello all,
>>>
>>> I just read about the FreeSWITCH VMware applicance. I'm curious about
>>> your experiences with the audio quality on VMWare, so here's a new
>>> thread.
>>>
>>> I've installed freeswitch on VMware Server for Windows. The IVR audio
>>> always plays choppy, while the server itself has no performance issues.
>>> The same poor voice quality also goes for Asterisk or Yate, even on a
>>> very fast VMware ESX system.
>>>
>>> Did you experience the same and/or do you have pointers on how to
>>> troubleshoot and fix this?
>>
>> There is a high resolution timer you need to enable on vmware... I'm not
>> familiar enuff with all the versions of vmware to advise there that switch
>> is, but they have a couple of articles on it in their knowledge base
>>
>>
>>


___
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

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
 

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] [Freeswitch-dev] conference.freeswitch.org via ipv6 (Testing)

2008-08-17 Thread John Skopis (Lists)
Brian West wrote:
> 
> http://www.tunnelbroker.net  If you need/want ipv6 tunnels.
> 
sixxs also

http://www.sixxs.net/pops/occaid/

___
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] Performance bottleneck

2008-08-13 Thread John Skopis (Lists)
Michael Collins wrote:
> That begs the question… is there a mechanism in sqlite or Linux that 
> allows for the RAM drive to be backed up periodically?  That would be a 
> cool feature to get documented for those power users like Ken! ;)
> 
>  

Interesting thought:
http://tldp.org/HOWTO/LVM-HOWTO/snapshots_backup.html

> 
> -MC
> 
>  
> 
> 
> 
> *From:* [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] *On Behalf Of 
> *Ken Rice
> *Sent:* Tuesday, August 12, 2008 11:07 AM
> *To:* freeswitch-users@lists.freeswitch.org
> *Subject:* Re: [Freeswitch-users] Performance bottleneck
> 
>  
> 
> The Disk IO on sqlite can be quite a bit... One work around for this is 
> to create a ram drive of sufficient size and mount it to 
> /usr/local/freeswitch/db (or whatever your db dir is for freeswitch) 
> this helps out greatly... But anything in the db will not be saved 
> across system reboots unless you do something about that yourself
> 
> K
> 
> 
> 
> *From: *Michael Jerris <[EMAIL PROTECTED]>
> *Reply-To: *
> *Date: *Tue, 12 Aug 2008 13:59:13 -0400
> *To: *
> *Subject: *Re: [Freeswitch-users] Performance bottleneck
> 
> It's going to be the disk io from sqlite.  The presense states are all 
> stored in sqlite (or odbc) data source.
> 
> Mike
> 
> On Aug 12, 2008, at 1:53 PM, UV wrote:
> 
> Turning the presence off did the trick, although it would be important 
> (to me, at least) to understand why as it changes the performance 
> significantly.
> Is the presence mechanism waiting for some response from the network?
> I’m assuming it’s waiting on something external because I couldn’t find 
> any CPU activity…
>  
> 
> 
> 
> *From:* [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
>  *On Behalf Of 
> *Anthony Minessale
> *Sent:* Wednesday, August 13, 2008 12:55 AM
> *To:* freeswitch-users@lists.freeswitch.org
> *Subject:* Re: [Freeswitch-users] Performance bottleneck
> 
> 9996 is not a good test extension because it does not generate any audio 
> unless it gets some.
> 9998 that generates a tone or make up an ext that plays a file is a 
> better one.
> 
> Processing of the sip calls can be delayed by the presence stuff which 
> is very intensive, you can try turning it off and see if you get more 
> calls.  Also you should compare it to what happens with the test exten 
> first in the dial plan.
> 
> 
> On Tue, Aug 12, 2008 at 2:58 AM, UV <[EMAIL PROTECTED]> wrote:
> I'm trying to determine the FS resource bottleneck when operating under 
> load (in windows environment), but can't get the FS to load for some 
> unseen reason.
> 
> 
> 
> FS environment (a weak PC on purpose):
> 
> CPU 2x Intel Pentium 4 3GHz
> 
> RAM 2x 512MB DDR II RAM
> 
> Chipset - Intel E7221 (Copper River) chipset ICH6R + FWH + BCM5721
> 
> LAN 1x Broadcom Giga LAN
> 
> Windows 2003 Server – Service pack 2
> 
> FS version 9235
> 
> Running Release build on highest priority
> 
> 
> 
> Load script:
> 
> A different machine running sipP
> 
> Running rtp_echo load, 50 cps, limit of 1000 calls, 30sec call duration, 
> extension 9996 (echo test):
> 
> sipp -rtp_echo -r 50 -l 1000 -d 3 -s 9996 -sf auc.xml -mp 25000 -i 
>  192.168.1.1   -mi 192.168.1.1  
>  192.168.1.2 
> 
>  
> 
> Results:
> 
> Test ran for 9.5 hours
> 
> Total of 48828 calls - all successful
> 
> No timeouts, retransmissions or unexpected messages.
> 
> 
> 
> 
> ___
> 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] Comparison matirx

2008-08-03 Thread John Skopis (Lists)
Simon Shaw wrote:
> Any idea how Iget to these figures?
> 

osvdb.org, though as of now FreeSWITCH has zero vulnerabilities 
disclosed. Maybe Brian will tell you how many security fixes have been 
added post 1.0.

___
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] Comparison matirx

2008-08-02 Thread John Skopis (Lists)
Grey Man wrote:
[snip]

> One suggestion I'd have for another row is "Security Fix Rate". For
> example while the Asterisk community's approach to handling security
> releases is commendable the rate at which they happen is a real pain
> when you have to potentially upgrade a production system for each one.
> Although the pain comes from having to worry about whether the version
> of Asterisk that you need to upgrade to will be one of the stable or
> dud versions!
> 
I would certainly agree the security is important. Responsiveness to 
security flaws is one thing.

I think another point of valuation would be average bugs per year or 
month, weighted accordingly (pre-auth remote command execution should 
have a greater weight than an xss in the built-in web server).

Though, that might turn into a whole other book. ;]

___
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] Memory Leaks

2008-07-31 Thread John Skopis (Lists)
Sangwoo Jin wrote:
> I don't have gotten the same result in testing MOH calls with 15 CPS.
> The memory usage of freeswitch on testing doesn't grow at some point.
> But, The memory usage of freeswitch on testing bridged calls with 5CPS and 1
> second duration was growing endlessly. I have watched The memory usage of
> freeswitch becomes 1G bytes.
> 
> I attached the scripts of my test.
> Firstly, execute the scripts like uas_10xx.sh in each shells, 
> and execute call.sh.
> Then, the following call flows is rotated at 5 CPS.
> 1000 -> freeswitch -> 1011
> 1000 -> freeswitch -> 1012
> 1000 -> freeswitch -> 1013
> 1000 -> freeswitch -> 1014
> 1000 -> freeswitch -> 1015
> 1000 -> freeswitch -> 1016
> 1000 -> freeswitch -> 1017
> 1000 -> freeswitch -> 1018
> 1000 -> freeswitch -> 1019
> 
> And, please inform me where I can find the memory pre-allocation codes on
> freeswitch's starting?
> 

Take a look at at:
libs/sofia-sip/libsofia-sip-ua/su/su_alloc.c

If you still think there is a memory leak you should really post on 
JIRA. As Mike already pointed out this is definitely where you should 
post when you think you have found a bug. JIRA provides facilities (tar 
up your sipp scenario + fs config, and valgrind output) so someone that 
is very familiar with the fs code can take a look.

If they tell you that it's not leaking it almost certainly isn't.

As Mike said there *might* be a leak...and it's probably doesn't even 
eat 1k of mem.

If you have some embedded requirements you should join the irc channel 
as there is most certainly someone in there who can explain how to 
tune-down fs (assuming it's possible).

___
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] Where do the trixswitch devs meet?

2008-07-24 Thread John Skopis (Lists)
Mike Fedyk wrote:
> Hi,
> 
> I'm taking a look at the installation of freeswitch in the trixswitch 
> project and see a few things I'd like to help with, but I don't see any 
> SRPMs, or even posts from the developers on their forums.
> 
> Anything to point me in the right direction would be great.

fbsd-64# find . -name "*.spec"
./libs/apr/apr.spec
./libs/speex/Speex.spec
./libs/sofia-sip/packages/sofia-sip-1.12.9.spec
./libs/apr-util/apr-util.spec
./libs/voipcodecs/voipcodecs.spec
./libs/curl/packages/Linux/RPM/curl.spec
./libs/curl/packages/Linux/RPM/curl-ssl.spec
./libs/curl/packages/AIX/RPM/curl.spec
./libs/libsndfile/libsndfile.spec
./libs/js/nsprpub/pkg/linux/sun-nspr.spec
./freeswitch.spec

I have never actually used freeswitch packages. I think it would be 
great if they would offer daily debug/prod builds.

Also, irc is a great resource.

HTH
-john

___
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] safe_freeswitch (like safe_asterisk): restarting FS automatically?

2008-07-23 Thread John Skopis (Lists)
Birgit Arkesteijn wrote:
> Hi all,
> 
> We've got an older version of FreeSWITCH (Trunk 7948) running on a Linux 
> x86_64 machine. At the moment it's crashing few times a day, making our 
> services very unreliable.
> 
> At the moment we don't have the time to rebuild this version, so I'm 
> looking for an equivalent of the "safe_asterisk" script. This script 
> runs Asterisk in a loop, restarting it when it goes down.
> 
> I couldn't find any equivalent script, but maybe I using the wrong 
> keywords in my search.
> 
> Does anyone know if such a script is available, and (if so) could you 
> point out where I can find it?
> 
> Thanks, Birgit
> 


not too go against the freeswitch crew, especially since I agree you 
should probably update. (just backup fs first).

I am not sure of the performance implications running fs like this (-nf) 
but you can do something like (and this it's quite a nasty hack):


#!/bin/sh

PREFIX=/usr/local/freeswitch

stop() {
local count=0
kill -9 `cat /var/run/freeswitch_loop.pid` > /dev/null 2>&1

while [ $count -lt 10 ]; do
[ $count -gt 0 ] && sleep 5
count=`expr $count + 1`
pidof freeswitch > /dev/null && killall freeswitch || count=100
done

return $?
}

start() {
while true; do $PREFIX/bin/freeswitch -nc -nf > /dev/null 2>&1; done &
echo $! > /var/run/freeswitch_loop.pid
return 0
}

case "$1" in
start) start ;;
stop) stop ;;
restart) killall -HUP freeswitch;;
reload) killall -HUP freeswitch;;

esac

exit $?


___
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] trunk fails on FreeBSD

2008-07-17 Thread John Skopis (Lists)
Adrian Gschwend wrote:
> Adrian Gschwend wrote:
> 
>> I can't compile latest trunk on FreeBSD 7.0-STABLE, bootstrap works,
>> configure fails here:
> [...]
> 
> I could solve that problem at least:
> 
>> My BSD has the following autoconf installed:
> 
>> autoconf-2.61_2
>> autoconf-2.62
> 
> -> autoconf-2.62 is the problem, bootstrap decides to take that one in
> my case and that doesn't work. Doing it with 2.61 solves the issue.
> 
> However, mod_spidermonkey doesn't want to compile now, I get plenty of
> errors like:
> 
> making all mod_spidermonkey
> "./config/autoconf.mk", line 112: Need an operator
> "./config/autoconf.mk", line 113: Need an operator
> "./config/autoconf.mk", line 114: Need an operator
> "./config/autoconf.mk", line 120: Need an operator
> "./config/autoconf.mk", line 121: Need an operator
> "./config/autoconf.mk", line 122: Need an operator
> "./config/autoconf.mk", line 127: Need an operator
> "./config/autoconf.mk", line 128: Need an operator
> "./config/autoconf.mk", line 129: Need an operator
> "Makefile", line 52: Need an operator
> "Makefile", line 55: Missing dependency operator
> "Makefile", line 56: Need an operator
> "Makefile", line 58: Need an operator
> "Makefile", line 59: Need an operator
> "Makefile", line 60: Need an operator
> "Makefile", line 61: Need an operator
> "./config/rules.mk", line 73: Need an operator
> "./config/rules.mk", line 75: Need an operator
> [...]
> 
> The Makefile looks like this:
> 
you need to use gmake on *BSD.


fbsd-64# make mod_spidermonkey-clean
`libfreeswitch.la' is up to date.

making clean mod_spidermonkey
fbsd-64# make mod_spidermonkey-install
  /bin/sh /usr/local/src/freeswitch/quiet_libtool --mode=install 
/usr/bin/install -c  'libfreeswitch.la' 
'/usr/local/freeswitch/lib/libfreeswitch.la'
/usr/bin/install -c .libs/libfreeswitch.so.1 
/usr/local/freeswitch/lib/libfreeswitch.so.1
(cd /usr/local/freeswitch/lib && { ln -s -f libfreeswitch.so.1 
libfreeswitch.so || { rm -f libfreeswitch.so && ln -s libfreeswitch.so.1 
libfreeswitch.so; }; })
(cd /usr/local/freeswitch/lib && { ln -s -f libfreeswitch.so.1 
libfreeswitch.so || { rm -f libfreeswitch.so && ln -s libfreeswitch.so.1 
libfreeswitch.so; }; })
/usr/bin/install -c .libs/libfreeswitch.lai 
/usr/local/freeswitch/lib/libfreeswitch.la
/usr/bin/install -c .libs/libfreeswitch.a 
/usr/local/freeswitch/lib/libfreeswitch.a
chmod 644 /usr/local/freeswitch/lib/libfreeswitch.a
ranlib /usr/local/freeswitch/lib/libfreeswitch.a
--
Libraries have been installed in:
/usr/local/freeswitch/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
  during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
  during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
--

making install mod_spidermonkey
Compiling mod_spidermonkey.c...
Creating mod_spidermonkey.so...
"./config/autoconf.mk", line 112: Need an operator
"./config/autoconf.mk", line 113: Need an operator
"./config/autoconf.mk", line 114: Need an operator
"./config/autoconf.mk", line 120: Need an operator
"./config/autoconf.mk", line 121: Need an operator
"./config/autoconf.mk", line 122: Need an operator
"./config/autoconf.mk", line 127: Need an operator
"./config/autoconf.mk", line 128: Need an operator
"./config/autoconf.mk", line 129: Need an operator
"Makefile", line 52: Need an operator
"Makefile", line 55: Missing dependency operator
"Makefile", line 56: Need an operator
"Makefile", line 58: Need an operator
"Makefile", line 59: Need an operator
"Makefile", line 60: Need an operator
"Makefile", line 61: Need an operator
"./config/rules.mk", line 73: Need an operator
"./config/rules.mk", line 75: Need an operator
"./config/rules.mk", line 77: Need an operator
"./config/rules.mk", line 79: Need an operator
"./config/rules.mk", line 81: Need an operator
"./config/config.mk", line 55: Need an operator
"./config/config.mk", line 57: Need an operator
"./config/config.mk", line 59: Need an operator
"./config/config.mk", line 61: Need an operator
"./config/config.mk", line 77: Need an operator
"./config/config.mk", line 80: Need an operator
"./config/config.mk", line 84: Missing dependency operator
"./config/config.mk", line 86: Need an operator
"./config/config.mk", line 88: Missing dependency operator
"./config/config.mk", line 90: Need an operator
"./config/config.mk", line 91: Missing dependency operator
"./config/config.mk", line 94: Need an operator
"./config/config.mk", line 95: Miss

Re: [Freeswitch-users] trunk fails on FreeBSD

2008-07-16 Thread John Skopis (Lists)
Adrian Gschwend wrote:
> Hi group,
> 
> I can't compile latest trunk on FreeBSD 7.0-STABLE, bootstrap works,
> configure fails here:
> 
> === configuring in libs/libsndfile
> (/usr/home/ktk/freeswitch.trunk/libs/libsndfile)
> configure: running /bin/sh ./configure.gnu --disable-option-checking
> '--prefix=/usr/local/freeswitch'  --cache-file=/dev/null --srcdir=.
> checking build system type... i386-unknown-freebsd7.0
> checking host system type... i386-unknown-freebsd7.0
> checking target system type... i386-unknown-freebsd7.0
> ./configure.lineno: 1997: Syntax error: word unexpected (expecting ")
> 
> 
> I was already discussing that two nights ago on IRC.
> 
> Does that work for anyone on FreeBSD with the latest trunk code?
> 
> My BSD has the following autoconf installed:
> 
> autoconf-2.61_2
> autoconf-2.62
> 
> I can't take 1.0.0 as this fails in another module :)
> 
> cu
> 
> Adrian

It worked for me on 7.0-RELEASE on amd64.

Not sure if it has anything to do with autconf-wrapper.

autoconf-2.61_2 Automatically configure source code on many Un*x 
platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.9.6_2GNU Standards-compliant Makefile generator (1.9)
automake-wrapper-20071109 Wrapper script for GNU automake


Path: .
URL: http://svn.freeswitch.org/svn/freeswitch/trunk
Repository Root: http://svn.freeswitch.org/svn
Repository UUID: d0543943-73ff-0310-b7d9-9358b9ac24b2
Revision: 9065
Node Kind: directory
Schedule: normal
Last Changed Author: anthm
Last Changed Rev: 9065
Last Changed Date: 2008-07-16 22:04:31 + (Wed, 16 Jul 2008)


___
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] YAML support as an alternative of XML for configuration

2008-06-27 Thread John Skopis (Lists)
I lol'd. This thread provided much amusement after a long week.

=]

Sorry for not being more constructive myself but can someone drill the 
devs for specific reasons (architectural etc) xml is the best solution 
and wikify the results? If I get a chance I plan on doing exactly that 
if I have some free time this weekend, don't count on it though.

I don't think the point would be to defend the use of XML, rather to 
document it. I know first hand it's easy to overlook the 
power/usefulness in the beginning.

Anthony Minessale wrote:
> Thank you for the suggestion.
> 
> I am open to many suggestions about FreeSWITCH but the minimal way we 
> use XML cannot be undone.
> I am not sure you actually tried FreeSWITCH very much if you think the 
> XML is difficult to work with.
> Almost every config file that uses xml is still just name value pairs 
> with a small <> around it.
> 
> 
> 
> We actually get yelled at by people for not using it more and saying:
> 
> true
> 
> What you may be missing is the point of the XML. 
> I suggest you read http://www.freeswitch.org/node/123 for a better 
> explanation and a background.
> 
> Really once you learn how the dynamic XML stuff works you will be glad 
> it exists.
> 
> I did design res_config for Asterisk which is still there today.  Maybe 
> you could get YAML working with
> a res_config_yaml, I'm sure they would appreciate it .
> 
> Whatever you decide, good luck to ya.
> 
> 
> On Thu, Jun 26, 2008 at 9:14 PM, Diego Viola <[EMAIL PROTECTED] 
> > wrote:
> 
> Hi everyone -
> 
> I really love this project... I love the design you guys took with FS,
> I love the stability, the features, the openness of it, it's the VoIP
> platform I always dreamed of it... FreeSWITCH is what Asterisk should
> have been.
> 
> But I just don't like one thing: XML.
> 
> I also don't intend to create a flame war or troll with this thread,
> please take this as a suggestion of someone that really wants to use
> FS... XML is the only reason why I still stay with Asterisk, I just
> can't like XML, and I don't like Asterisk as well, I want FreeSWITCH
> stability, features, etc, but I can't like XML, not even if I try to,
> it's too slow to use/write, verbose and complex.
> 
> As a sysadmin point of view, I prefer parameter=value but I realize
> the advantages of XML (data serialization, etc), this is also why I
> don't use mod_dialplan_asterisk, because I think it's time for
> something better than INI files, but XML isn't for me, I'm a
> Linux/UNIX guy and I don't want a GUI either, I love CLI, but I want
> something simple to use, read and write, and I think YAML is the best
> of the both worlds.
> 
> I would like to have more than one option to configure FreeSWITCH,
> also, not everyone likes to do the same thing the same way and it
> would be really cool if FS gives this freedom to people...
> 
> I would really like to see YAML as a configuration option in
> FreeSWITCH, give me this any day and I swear I don't toch Asterisk
> _ever again_, YAML can be used for data serialization and it's more
> simple than XML, Ruby projects like Rails uses it.
> 
> Take a look here:
> 
> http://yaml.org/spec/1.2/
> http://yaml.org/
> 
> "YAML™ (rhymes with "camel") is a human-friendly, cross language,
> Unicode based data serialization language designed around the common
> native data types of agile programming languages. It is broadly useful
> for programming needs ranging from configuration files to Internet
> messaging to object persistence to data auditing. Together with the
> Unicode standard for characters, this specification provides all the
> information necessary to understand YAML Version 1.2 and to create
> programs that process YAML information. "
> 
> Please consider it, I'm also willing to pay for a mod_yaml, other than
> this I really love FreeSWITCH and I think it's great, I will switch in
> a heartbeat if you guys add support for it ;-)
> 


___
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] SIP over TCP

2008-06-19 Thread John Skopis (Lists)
Matt Darnell wrote:
> We are looking for a front end to Exchange 2007, it only supports SIP over 
> TCP.
> 
> Everything I have read so far says that Freeswitch supports it, can
> anyone confirm it is possible?

I am curious to see how FS integrates with UMS. How exactly does it 
integrate, what role does it fulfill, etc.

Thanks,
John

___
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] [Fwd: Openser + FreeSwitch Integration.]

2008-06-18 Thread John Skopis (Lists)
Brian West wrote:
> 
> On Jun 18, 2008, at 1:11 AM, Aadilkhan Maniyar wrote:
>> Thanks for the reply Brian.
>>
>> So what you mean to say is that I need not configure 
>> mod_spidermonkey_odbc at all in order to store registration data in 
>> the MySQL database?.
> 
> Correct this is just a way to access odbc from Spidermonkey.
> 
>>
>>
>> If I configure FS with --enable-core-odbc and set the /odbc-dsn/ 
>> parameter in one of the sip profile xml, i should be able to store the 
>> registrations in the MySQL database.
>>
> 
> Do you see any errors during startup?  Does isql work with your dsn?
> 
> 
>> Brian West wrote:
>>> Considering that mod_spidermonkey_odbc isn't for this that would 
>>> explain why that wasn't working.
>>>
>>> You need to configure freeswitch with --enable-core-odbc-support
>>>

In addition to what Brian said you need to configure FS to use the odbc 
dsn. grep in the conf dir:
grep -RHin dsn *

to see how.

___
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 Internal & FreeSwitch

2008-06-09 Thread John Skopis (Lists)
Nicola wrote:
> Thanks ... now works ...
> the problem was that the server ldap lacked the parameter: dial-string.
> 
> Last problem:
> How come when I call some internal, the voice can not go?
> 

Could it be a firewall issue? Do you see anything in your logs?


___
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] FreeSWITCH in latin america countries

2008-06-08 Thread John Skopis (Lists)
J. Javier Maestro wrote:
> On Jun Sun 08 2008 12:11, John Skopis (Lists) wrote:
>> example:
>> skopii: que estas me hombres
>> bot: [skopii] where are my homies
>> bkw: skopii: right here
>>
>> then the bot would translate bkw's response and pm it to me
> 
> Wow!! Stop right there please! :)
> 
> Where are my homies? --> Dónde están mis colegas/amigos? (España)
> 
> And because slang words are frequently used in IRC, things like 'homies' is
> most surely translated in a completely different way in every
> spanish-speaking country within latin america... so I really can't see the
> point on automatic translation. It's horrible! There is not enough A.I. in
> the software to do it correctly, so it is very doomed right from the
> begining.

Clearly my spanish is horrible. What is easier to understand though:

que esta me hombres
or
dónde está mi homies

and that is a simple sentence. Things only get more interesting with 
more complex constructs.

> 
> It is a nice idea, but an impossible one :-/
> 
> My 2 cents!
> 

My point was to make a "best effort". We all know it wouldn't be 
perfect. It's certainly not impossible.

If everyone is in the same channel, everyone benefits from the 
discussion. In addition it would help non-english speakers learn english 
and english speakers pick up some other languages (bits and pieces at 
least).

Also, what happens when there is no one that knows the answer in the 
non-english channel? The non-english speaker comes into the main channel 
(out of his/her comfort zone) and has a difficult time because no one 
understands him/her. It's hard enough for some people just to ask a 
question, let alone in a different language. That is why I think we 
should make a best effort to make it easier for everyone.

Often times a translated block of text is easier to understand than a 
non-native english speaker attempting english. Granted, my perspective 
is one sided as I do not know if that is true for other languages (I 
only speak english).

Anyway, I am wasting my breath at this point. Everyone (not just us 
americans) will do as they please anyway. ;]


___
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] FreeSWITCH in latin america countries

2008-06-08 Thread John Skopis (Lists)
Luis Jimenez wrote:
> Im spanish native talker, please dont use google to translate "que estas 
> me hombre", what is that supposed to mean?
> 
> Jaja.
> 

I honestly have no idea. I thought it meant "where's my homies".

Apparently it's not the case...

the correct phrase would be "dónde está mi hombres" (right?)

I need to learn more spanish. =]

My point was instead of separating the community make it easier for 
everyone to communicate.


> 
> On Sun, Jun 8, 2008 at 1:24 PM, Brian West <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> The bot can already translate automatically in line in the channel
> when we tell it to do so.
> 
> /b
> 
> On Jun 8, 2008, at 12:11 PM, John Skopis (Lists) wrote:
> 
>  > example:
>  > skopii: que estas me hombres
>  > bot: [skopii] where are my homies
>  > bkw: skopii: right here
> 
> 
> ___
> Freeswitch-users mailing list
> Freeswitch-users@lists.freeswitch.org
> <mailto: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


___
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] FreeSWITCH in latin america countries

2008-06-08 Thread John Skopis (Lists)
heh
http://translate.google.com/translate_t?sl=es&tl=en&hl=en&ie=UTF8&text=que+estas+me+hombres%0D%0A&sl=es&tl=en

Brian West wrote:
> I don't have a problem as long as control of the channel is handed  
> over to the project.  Once the group registration is complete we'll  
> have control of them all anyway.  We have in the past filled out the  
> group forms but when lilo was hit by a car and passed away our  
> application was lost.  We just haven't had time to fill it out again.   
> Guess this spotlights the need to do so!  What do you guys think?
> 
> /b
> 
> On Jun 8, 2008, at 11:13 AM, Michael S Collins wrote:
> 
>> Which languages would be on freeswitch-la? Brazilian Portugese and
>> Spanish? I would love to see a place where those not fluent in English
>> have an outlet for FS discussions. I'm sure bilingual users like moy
>> would be happy to chat with people in Spanish.
>>
>> As long as this isn't fracturing the community, but rather enlarging
>> it, then I'm all for it.
>>
>> -MC
>>
>> Sent from my iPhone
>>
>> On Jun 8, 2008, at 7:02 AM, "Arnaldo de Moraes Pereira" <[EMAIL PROTECTED]
>>> wrote:
>>> On Sun, Jun 8, 2008 at 10:02 AM, Nicolas Brenner <[EMAIL PROTECTED]
 wrote:
 Brian,

 Although I agree that it is not a good idea to split the community,
 this wouldn't much split it as increase it. There's a lot of people
 who don't understand english, but have the skills to use or learn
 about FreeSwitch and even help in the development. Creating a latin
 irc channel, could potentially bring thousands to the FreeSwitch
 community, people who are now left out because of the language
 barrier.
>>> Thanks Nicolas, that's exactly my point. Instead of splitting the
>>> community, it'll end up giving help to more people and make  
>>> FreeSWITCH
>>> usage broader. There's no sense on having multiple channels if we  
>>> talk
>>> english on them all, who does know english will be encouraged to go
>>> (or also go) to #freeswitch.
>>>
>>> Any comments, Brian ?
>>>
 On Sun, Jun 8, 2008 at 6:24 AM, Brian West <[EMAIL PROTECTED]>
 wrote:
> Arnaldo,
>  I really do not want to split the community up.  I highly
> recommend
> everyone stay in #freeswitch.
>
> /b
>
> On Jun 8, 2008, at 1:59 AM, Arnaldo de Moraes Pereira wrote:
>
>> Hello,
>>
>> For those of you from latin american countries, please join
>> #freeswitch-la. I have plans to knock down the barriers to adopt
>> FreeSWITCH in third-world countries, specially Brazil, so this
>> channel
>> is one of the steps to achieve that. Brazilian portuguese and
>> spanish
>> are also welcomed languages.
>>
>> One of the biggest barriers to use FreeSWITCH as a TDM/SIP
>> gateway, is
>> to have MFC/R2 support, which is being written by Steve Underwood
>> in a
>> generic manner. I'll be focusing on the endpoint for the existing
>> unicall implementation, which we hopefully will merge when Steve
>> has
>> finished his unicall work. So, anyone will be able to use MFC/R2
>> with
>> a Sangoma and probably other cards.
>>
>> Take care.
>>
>> --
>> Arnaldo M Pereira
>> [EMAIL PROTECTED]
>> http://www.arnaldopereira.com
>>
>> ___
>> 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
> Brian West
> sip:[EMAIL PROTECTED]
>
>
>
>
> ___
> 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
>


 --
 Nicolás Brenner

 ___
 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

>>>
>>>
>>> -- 
>>> Arnaldo M Pereira
>>> [EMAIL PROTECTED]
>>> http://www.arnaldopereira.com
>>>
>>> ___
>>> 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.freeswit

Re: [Freeswitch-users] FreeSWITCH in latin america countries

2008-06-08 Thread John Skopis (Lists)
I'm with Brian on this one. I think it's kind of silly to "knock down 
the barriers to adopt FreeSWITCH" just within the bounds of the langauge 
barriers.

I for one should probably learn some more languages; and I bet 
non-english natives wouldn't mind learning some english also...

Perhaps someone is interested in adding translator support to the bot? 
What I was thinking was you "register" with the bot using your native 
language. When you talk in the chan (lets say your speaking spanish) the 
  bot would automagically translate to english. likewise when someone 
directs a line at you in english the bot translates to your native 
language and pm's you the translation.

example:
skopii: que estas me hombres
bot: [skopii] where are my homies
bkw: skopii: right here

then the bot would translate bkw's response and pm it to me

Michael S Collins wrote:
> Which languages would be on freeswitch-la? Brazilian Portugese and  
> Spanish? I would love to see a place where those not fluent in English  
> have an outlet for FS discussions. I'm sure bilingual users like moy  
> would be happy to chat with people in Spanish.
> 
> As long as this isn't fracturing the community, but rather enlarging  
> it, then I'm all for it.
> 
> -MC
> 
> Sent from my iPhone
> 
> On Jun 8, 2008, at 7:02 AM, "Arnaldo de Moraes Pereira" <[EMAIL PROTECTED] 
>  > wrote:
> 
>> On Sun, Jun 8, 2008 at 10:02 AM, Nicolas Brenner <[EMAIL PROTECTED] 
>>> wrote:
>>> Brian,
>>>
>>> Although I agree that it is not a good idea to split the community,
>>> this wouldn't much split it as increase it. There's a lot of people
>>> who don't understand english, but have the skills to use or learn
>>> about FreeSwitch and even help in the development. Creating a latin
>>> irc channel, could potentially bring thousands to the FreeSwitch
>>> community, people who are now left out because of the language
>>> barrier.
>> Thanks Nicolas, that's exactly my point. Instead of splitting the
>> community, it'll end up giving help to more people and make FreeSWITCH
>> usage broader. There's no sense on having multiple channels if we talk
>> english on them all, who does know english will be encouraged to go
>> (or also go) to #freeswitch.
>>
>> Any comments, Brian ?
>>
>>> On Sun, Jun 8, 2008 at 6:24 AM, Brian West <[EMAIL PROTECTED]>  
>>> wrote:
 Arnaldo,
   I really do not want to split the community up.  I highly  
 recommend
 everyone stay in #freeswitch.

 /b

 On Jun 8, 2008, at 1:59 AM, Arnaldo de Moraes Pereira wrote:

> Hello,
>
> For those of you from latin american countries, please join
> #freeswitch-la. I have plans to knock down the barriers to adopt
> FreeSWITCH in third-world countries, specially Brazil, so this  
> channel
> is one of the steps to achieve that. Brazilian portuguese and  
> spanish
> are also welcomed languages.
>
> One of the biggest barriers to use FreeSWITCH as a TDM/SIP  
> gateway, is
> to have MFC/R2 support, which is being written by Steve Underwood  
> in a
> generic manner. I'll be focusing on the endpoint for the existing
> unicall implementation, which we hopefully will merge when Steve  
> has
> finished his unicall work. So, anyone will be able to use MFC/R2  
> with
> a Sangoma and probably other cards.
>
> Take care.
>
> --
> Arnaldo M Pereira
> [EMAIL PROTECTED]
> http://www.arnaldopereira.com
>



___
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 Internal & FreeSwitch

2008-06-06 Thread John Skopis (Lists)
Nicola wrote:
> I have checked ...
> authentication is successful on the server ...
> I have only one problem: if two internal name is registered on LDAP,
> answered the VoiceMail even though the interiors are online. 
> I attach logs: 
> 
> 2008-06-05 12:10:31 [WARNING] mod_dptools.c: 372 set_user_function () can
> not find user [EMAIL PROTECTED]
> 
> As if the system proves to call default .. and not the internal desired.
> 

You need to make sure that 'default' is a valid extension. Look at the 
"Local Extension" portion of the public and default dialplans.

Also, and I am not sure if something changed recently, but you need to 
have a dial-string, and probably user_context, for the XML to be 
considered valid.


Here's what I used to test:

dn: cn=1235,ou=172.16.75.129,dc=example
objectClass: top
objectClass: sipCred
objectClass: inetOrgPerson
cn: 1235
sn: 1235
idname: 1235
param: password
param: vm-password
param: dial-string
paramvalue: 1234
paramvalue: 
paramvalue: 
[EMAIL 
PROTECTED],transfer_fallback_extension=${dialed_user}}${sofia_contact(${dialed_domain}/[EMAIL
 PROTECTED])}
variable: accountcode
variable: user_context
variable: effective_caller_id_name
variable: effective_caller_id_number
variablevalue: 1234
variablevalue: default
variablevalue: test
variablevalue: 0

dn: cn=1234,ou=172.16.75.129,dc=example
objectClass: top
objectClass: sipCred
objectClass: inetOrgPerson
cn: 1234
sn: 1234
idname: 1234
param: password
param: vm-password
param: dial-string
paramvalue: 1234
paramvalue: 
paramvalue: 
[EMAIL 
PROTECTED],transfer_fallback_extension=${dialed_user}}${sofia_contact(${dialed_domain}/[EMAIL
 PROTECTED])}
variable: accountcode
variable: user_context
variable: effective_caller_id_name
variable: effective_caller_id_number
variablevalue: 1234
variablevalue: default
variablevalue: test
variablevalue: 0


hth,
john

___
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 Internal & FreeSwitch

2008-06-04 Thread John Skopis (Lists)
Nicola wrote:
> thanks for your answer  the problem is that FreeSwitch NOT MADE no
> query the LDAP server. Consequently, I can not know whether the query is
> wrong or not. I tried to follow the instructions you have given me kindly
> ... but freeswitch not going to make any queries on LDAP: In fact, when I
> try to register with a cliet SIP, debugging freeswitch tells me: User
> non-existent! 
> 
> Grazie...

It sounds like possibly the module is not loaded?

add an entry to conf/autoload_configs/modules.conf.xml:
  

Also, make sure you have conf/autoload_configs/xml_ldap.conf.xml

If the query is not successful the mod will let you know.

prego

___
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 Internal & FreeSwitch

2008-06-04 Thread John Skopis (Lists)
Nicola wrote:
> Hello, I am writing from italy ...
> 
> I'm trying to use FreeSwitch with ldap ...
> So far I managed, after many attempts to create LDAP server on the schema.
> 
That schema was meant as an example only. I think the only attrs the 
module uses are:

param
paramvalue

variable
variablevalue

Only those attrs need to be in the schema.


> FreeSwitch still leans to the various files.Xml (1000.xml, 1001.xml) 
> etc. to manage the internal
> 
> How can I make it clear to freeswitch that must use LDAP as internal SIP?
I set in conf/directory/default.xml:


Since there is no sofia domain configured of that name (there shouldn't 
be at least) the default config is gone. Of course you could also just 
rm -rf conf/directory ;]

-john

___
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] Freeswitch Ldap Integration

2008-06-02 Thread John Skopis (Lists)
Michael Jerris wrote:
> For sip auth we do pass all the hash information from the auth headers  
> when it does the lookup, so you are able to do the auth in your module  
> if you care to.  We are unable to pass up the raw password as we never  
> actually have that information.
> 
> Mike
> 

I remember now... sip phones != mail clients. but if they were... Thanks 
for reminding me Mike.

I am not exactly sure how difficult it is to do digest auth in openldap 
or AD. If I manage to find some time I will look into it though,

-john


___
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] Freeswitch Ldap Integration

2008-06-01 Thread John Skopis (Lists)
Hi,
I had some free time and decided to add sasl support to mod_xml_ldap. I 
only tested kerberos5 auth though.

I also added support for search filters.

The problem with the xml_ldap directory stuff is that since freeswitch 
never actually sends the hash (or cleartext password) to the module it 
can't bind as the extension to compare.

I would have much rather registered a module as an authentication 
provider vs a xml provider. As I understand this portion of code is 
somewhere in between the core and mod_sofia so it would need to be done 
as an extension to mod_sofia.

All it does is connect to ldap as a privileged user, search for a 
freeswitch extension, generate xml, and send the xml to fs.

If I find some more free time I may add support for requested attrs in 
the ldap query. If you take a look at the code it currently grabs all 
attrs and then joins on key=keyval. I did this so ldap schema didn't 
have to be extended everytime the fs xml schema is extended. The reason 
would be rather than requesting 100 attrs and iterating through them all 
just request the ~4 required to generate the xml and iterate through them.

Also startls/ssl support might be nice ;]

-john


PS Until someone adds the config to tree (I cant write the config file 
=\) here it is:
http://rafb.net/p/A37tLo10.html


Faraz R. Khan wrote:
> Thanks a lot. I intend to use it mostly as a SIP user directory. For the
> dial-plan I dont mind parsing and syncing XML file across servers (if
> there were a small cluster). The main deal is AUTHENTICATION. The
> authentication scheme I wish to keep is Kerberos (with SASL in Ldap for
> binding). This way all my credentials are centralized, be it SIP or
> mail. 
> 
> This would be a great achievement for me and many enterprises having
> thousands of identities. The dialplan stays fairly static once developed
> so I dont mind that being in a XML file. The dynamic stuff (user
> credentials) I wish to keep in a centralized store such as LDAP.
> 
> 
> On Wed, 2008-05-28 at 20:12 -0500, John Skopis (Lists) wrote:
>> At one point I was very interested in this...then I got a job. =[
>>
>> I thought mod_ldap was more of a PoC than anything. It might work (I 
>> couldn't get it working and unfortunately don't remember exactly why..) 
>> but there really isn't much point. I would have to do at least 5 ldap 
>> queries (if not more) to get the most of the same functionality as the 
>> XML dialplan. Also, the elegance of stackable functionality in the XML 
>> dialplan is hard to imitate, at least with the any amount of efficiency. 
>> If you don't need to stack actions a regular expression will almost 
>> certainly be better.
>>
>> Attached is the schema, config, and sample ldif I used to get the xml 
>> stuff working.
>>
>> With a little effort it could work with an existing schema (possibly the 
>> ITU recomended LDAP schema that ser uses). I am not sure how easy it 
>> would be to get the same flexibility as key/value pairs (like the FS xml 
>> uses) though.
>>
>> -John
>>
>> Anthony Minessale wrote:
>>> We have a concept called the "directory interface" not to be confused 
>>> with the "user directory".
>>> The directory interface is a pluggable abstract API that looks and feels 
>>> like LDAP only you can plug in anything you want to implement the 
>>> functions.
>>>
>>> mod_ldap is a module that registers to this interface and connects LDAP 
>>> to it.  So essentially you load mod_ldap then you use the freeswitch 
>>> directory interface as you would have used the ldap code and it will 
>>> carry over.
>>>
>>> There is a mod_dialplan_directory who uses the directory interface to 
>>> ask for a dialplan, and installs the results into an extension.  In the 
>>> case of mod_ldap obviously it allows you to get your dialplan from LDAP.
>>>
>>> Now also in mod_ldap, there is some code someone recently contributed to 
>>> tie our XML interface to LDAP,
>>> This is more interesting because then when anything in FreeSWITCH tries 
>>> to lookup a user, dialplan entry or anything else in our XML config, all 
>>> the important details are passed to LDAP where it can make a query, pull 
>>> the info out of LDAP and deliver it back to FreeSWITCH as the XML it was 
>>> looking for.  This allows you to make all of the registrations, dialplan 
>>> etc real time driven by LDAP, you can also bind a perl or lua script to 
>>> this operation as well as mod_xml_curl who will turn the request into an 
>>> HTTP post to a web server to fetch the data.
>>>
>>>
&g

Re: [Freeswitch-users] Freeswitch Ldap Integration

2008-05-28 Thread John Skopis (Lists)

At one point I was very interested in this...then I got a job. =[

I thought mod_ldap was more of a PoC than anything. It might work (I 
couldn't get it working and unfortunately don't remember exactly why..) 
but there really isn't much point. I would have to do at least 5 ldap 
queries (if not more) to get the most of the same functionality as the 
XML dialplan. Also, the elegance of stackable functionality in the XML 
dialplan is hard to imitate, at least with the any amount of efficiency. 
If you don't need to stack actions a regular expression will almost 
certainly be better.


Attached is the schema, config, and sample ldif I used to get the xml 
stuff working.


With a little effort it could work with an existing schema (possibly the 
ITU recomended LDAP schema that ser uses). I am not sure how easy it 
would be to get the same flexibility as key/value pairs (like the FS xml 
uses) though.


-John

Anthony Minessale wrote:
We have a concept called the "directory interface" not to be confused 
with the "user directory".
The directory interface is a pluggable abstract API that looks and feels 
like LDAP only you can plug in anything you want to implement the 
functions.


mod_ldap is a module that registers to this interface and connects LDAP 
to it.  So essentially you load mod_ldap then you use the freeswitch 
directory interface as you would have used the ldap code and it will 
carry over.


There is a mod_dialplan_directory who uses the directory interface to 
ask for a dialplan, and installs the results into an extension.  In the 
case of mod_ldap obviously it allows you to get your dialplan from LDAP.


Now also in mod_ldap, there is some code someone recently contributed to 
tie our XML interface to LDAP,
This is more interesting because then when anything in FreeSWITCH tries 
to lookup a user, dialplan entry or anything else in our XML config, all 
the important details are passed to LDAP where it can make a query, pull 
the info out of LDAP and deliver it back to FreeSWITCH as the XML it was 
looking for.  This allows you to make all of the registrations, dialplan 
etc real time driven by LDAP, you can also bind a perl or lua script to 
this operation as well as mod_xml_curl who will turn the request into an 
HTTP post to a web server to fetch the data.




On Wed, May 28, 2008 at 8:09 AM, Michael Jerris <[EMAIL PROTECTED] 
> wrote:


Currently the directory interface is only used for that dialplan, I
would like to enhance that in the future.  The directory dialploan
uses a filter of exten=destination number, and then has name/value
pairs, I will see if I can find the schema we used back when we
developed it, short of that, the code is the best reference on that.
Another option is to use mod_xml_curl and have your cgi back end to
ldap of your choice.   This will give you more flexibility to use
other caller information in your ldap lookup.

Mike

On May 28, 2008, at 1:58 AM, Faraz R. Khan wrote:

 > First of all- Amazing project. Tired of asterisk deadlocking all the
 > time we have been deploying asterisk with OpenSER as the registrar.
 > Freeswitch is a huge relief!
 >
 > This is an extremely important feature we have been looking for.
 > Asterisk realtime ldap integration is very flaky. I found this page:
 >
 > http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_Directory
 >
 > But there are no clues as to the schema, the queries generated and
 > what
 > exactly it can hold in Ldap. I am also curious to know whether
sofia's
 > sip registrations, gateways etc can be kept in LDAP.
 >
 > We are basically developing an extensive plugin based control panel
 > and
 > a Asterisk module is already ready. However, we are writing
 > asterisk .conf files for managing asterisk. We would be quite
 > pleased to
 > develop a FreeSwitch Ldap plugin to manage users,sip gateways,
groups,
 > features, etc.
 >
 > Though the XML configuration file is extremely easy to parse and
 > write,
 > pure LDAP integration would be amazing. Any pointers on this would be
 > appreciated.
 >
 >
 > --
 > Faraz R Khan
 > Chief Architect
 > Emergen Consulting Pvt Ltd
 > +92.21.529.0381 x200
 > www.emergen.biz 
 >
 >
 > ___
 > 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

Re: [Freeswitch-users] Call For Open Source Awards 2008 Nominations

2008-04-26 Thread John Skopis (Lists)
Brian West wrote:
> http://radar.oreilly.com/archives/2008/04/open-source-award-nominations.html
> 
> you know what to do!
> 
> /b


Nominated FS for "Best New Project". Is there something we should be 
nominating it for?

___
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] Call for IVRs

2008-04-22 Thread John Skopis (Lists)
Brian West wrote:
> TOTALLY AWESOME!
> 
> On Apr 22, 2008, at 1:07 PM, Michael Collins wrote:
> 
>> Righteous!

yah bro!

There's a few examples on the Category:Javascript page 
(http://wiki.freeswitch.org/wiki/Category:Javascript) that helped me a lot.

___
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