Re: [Freeswitch-users] odbc FLAG_MULTI_STATMENTS

2009-11-27 Thread Leon de Rooij

There's a little info here on how to enable it with odbc:

http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core#CentOS_5.2

regards,

Leon


On Nov 26, 2009, at 10:48 PM, Tihomir Culjaga wrote:



On Thu, Nov 26, 2009 at 9:53 PM, Michael Jerris m...@jerris.com  
wrote:
http://dev.mysql.com/doc/refman/5.1/en/connector-odbc- 
news-3-51-18.html


MySQL Connector/ODBC now supports batched statements. In order to  
enable

cached statement support you must switch enable the batched
statement option (FLAG_MULTI_STATEMENTS,
67108864, or Allow multiple statements
within a GUI configuration). Be aware that batched statements
create an increased chance of SQL injection attacks and you  
must

ensure that your application protects against this scenario.
   (Bug#7445)


so, is this the right patch ?

http://bugs.mysql.com/file.php?id=6994


T.

___
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] odbc FLAG_MULTI_STATMENTS

2009-11-27 Thread Leon de Rooij

Are you using the myodbc 3.51.18 version or higher ?

I'm using 3.51.19 (ubuntu karmic) and it works properly. I also had to  
upgrade from jaunty..


regards,

Leon


On Nov 27, 2009, at 3:41 PM, Frank @ Impact wrote:


Thanks.  But when I made these entries in /etc/odbc.ini and rebooted…

[freeswitch]
Driver  = MySQL
SERVER  = 127.0.0.1
PORT= 4040
DATABASE= mydb
OPTIONS = 67108864

…I still get FS complaining with this.

Nov 27 08:45:57 P3 freeswitch[27933]: 2009-11-27 08:45:57.016744  
[WARNING] sofia_glue.c:3918 GREAT SCOTT!!! Cannot execute batched  
statements!#012If you are using mysql, make sure you are using  
MYODBC 3.51.18 or higher and enable FLAG_MULTI_STATEMENTS


FreeSWITCHversion
FreeSWITCH Version 1.0.trunk (15660)

Linux P3.dom.com 2.6.30.9-96.fc11.x86_64 #1 SMP Wed Nov 4 00:02:04  
EST 2009 x86_64 x86_64 x86_64 GNU/Linux


From /etc/odbcinst.ini
DRIVER = /usr/lib64/libmyodbc5-5.1.5.so
Setup = /usr/lib64/libodbcmyS.so

Is this a FS issue ?  or an issue with mysql odbc?  Any insight  
would be great.


-Original Message-
From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org 
] On Behalf Of Leon de Rooij

Sent: Friday, November 27, 2009 3:37 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] odbc FLAG_MULTI_STATMENTS

There's a little info here on how to enable it with odbc:

http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core#CentOS_5.2

regards,

Leon


On Nov 26, 2009, at 10:48 PM, Tihomir Culjaga wrote:



On Thu, Nov 26, 2009 at 9:53 PM, Michael Jerris m...@jerris.com  
wrote:
http://dev.mysql.com/doc/refman/5.1/en/connector-odbc- 
news-3-51-18.html


MySQL Connector/ODBC now supports batched statements. In order to  
enable

cached statement support you must switch enable the batched
statement option (FLAG_MULTI_STATEMENTS,
67108864, or Allow multiple statements
within a GUI configuration). Be aware that batched statements
create an increased chance of SQL injection attacks and you  
must

ensure that your application protects against this scenario.
   (Bug#7445)


so, is this the right patch ?

http://bugs.mysql.com/file.php?id=6994


T.

___
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


___
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] Accessing Config Info From Database

2009-11-16 Thread Leon de Rooij
Hi,

Since recently it's also possible to use lua *as* a dialplan:

http://wiki.freeswitch.org/wiki/Mod_lua#For_dialplan

regards,

Leon




On Mon, 2009-11-16 at 11:33 -0800, Michael Collins wrote:
 
 
 On Mon, Nov 16, 2009 at 9:36 AM, Jerry Richards
 jerry.richa...@teotech.com wrote:
 
 I have a bit of confusion about Lua scripting.  When a script
 is invoked,
 should it always return an XML string that is used by FS?  Or
 as in the case
 of dialplan examples, does it actually execute the dialplan
 (e.g.
 session:answer();)?
 
 Best Regards,
 Jerry
 
 
 Jerry,
 
 A Lua script that is explicitly called from the dialplan will indeed
 execute dialplan-ish stuff. For example, let's say you had this in
 conf/dialplan/default.xml:
 
 extension name=lua sample
   condition field=destination_number expression=9876
 action application=lua data=/path/to/myluascript.lua/
   /condition
 /extension
 
 Then myluascript.lua has something like:
 
 --Sample Lua script
 session:answer()
 session:sleep(1000)
 session:streamFile(/path/to/file.wav)
 session:hangup()
 
 Assuming an otherwise default install, the above Lua script would
 execute when a caller dialed 9876, or if a call was x-ferred to 9876.
 
 However, if you're wanting to use Lua to serve up a dialplan then it's
 totally different. Lua is not called from the dialplan; Lua provides
 the dialplan to FreeSWITCH. This latter case is the scenario discussed
 in the wiki section you referenced.
 (http://wiki.freeswitch.org/wiki/Lua#For_serving_configuration)
 
 Are you trying to use Lua scripting for serving up a dynamic
 configuration of some sort?
 -MC
 
 
 
 ___
 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] Accessing Config Info From Database

2009-11-13 Thread Leon de Rooij
Hi,

You can use mod_xml_curl (generate xml on a webserver):

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

or mod_xml_odbc (generate xml in freeswitch):

http://wiki.freeswitch.org/wiki/Mod_xml_odbc

or LUA together with luasql (generate xml in freeswitch):

http://wiki.freeswitch.org/wiki/Lua#For_serving_configuration

regards,

Leon



On Fri, 2009-11-13 at 13:59 -0800, Jerry Richards wrote:
 Is there a way to access configuration information from a database (e.g.
 SQL) rather than from the XML files?
 
 Best Regards,
 Jerry
 
 
 ___
 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] Call custom variable in condition

2009-10-22 Thread Leon de Rooij

Hi Michael,

The feature is already documented here:

http://wiki.freeswitch.org/wiki/Dialplan_XML#Clarification
http://wiki.freeswitch.org/wiki/Dialplan_XML#Inline_Actions

Perhaps the reason *why* it's the way it is can be expanded a bit ?

regards,

Leon


On Oct 21, 2009, at 7:02 PM, Michael Collins wrote:




On Wed, Oct 21, 2009 at 9:39 AM, Anthony Minessale anthony.miness...@gmail.com 
 wrote:

It not only makes sense it's well documented on the wiki page.
The set line is not happening right when it's encountered, the set  
line is copied into the channel and executed later after the whole  
dialplan is parsed.  The dialplan is a pre-processor not a runtime  
engine.


Here is a new feature in pre-1.0.5 (svn trunk)

Some applications like set can now be executed within the dialplan  
but you should use it sparingly.

action application=set data=testing=true inline=true/

I'm getting ready to document this feature. For the sake of  
edification, why is it best to use this sparingly, other than wide- 
spread use making dialplans all cluttered?

-MC


The inline=true makes it execute inside the dialplan and it's never  
copied into your resulting extension because it's executed  
immediately.



___
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] NOT in dialplan expression

2009-10-21 Thread Leon de Rooij
Hi,

Negating is done with [^...] in a regex, so 'not 1' is matched with:

/^[^1]$/

If you want to match on a longer sequence, you can do that with  
negative lookahead, for example 'not 123' can be matched like this:

/^(?!123$)\d{3}$/

regards,

Leon


On Oct 21, 2009, at 1:34 PM, Mark Campbell-Smith wrote:

 Hi!

 How do I do a NOT equal to in a dialplan expression

 Normaly in regex I would use the ! character.  This doesn't seem to  
 work in FS..

 ie
  condition field=${variable} expression=!^1

 Shouldn't that match when the variable is not starting with one?

 ___
 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] mod_odbc_query share memory problem

2009-10-20 Thread Leon de Rooij
Hi,

I haven't run into that problem yet, but did you try increasing the  
maximum shared memory in /proc/sys/kernel/shmmax (sysctl  
kernel.shmmax) ?

regards,

Leon



On Oct 20, 2009, at 3:31 PM, Dome Charoenyost wrote:

 Dear Sir,
 I'm using mod_odbc_query and mod_nibble_billing for my calling card
 solutoin. i found mod_odbc_query cant work with high load  (200 calls
 concurrent)
 i got error
 [STATE: 53200 CODE 7 ERROR: [unixODBC]ERROR: out of shared memory;
 Error while executing the query
 ]
 in FS console

 How to fix it ?

 BG
 Dome C.

 ___
 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] No dial-string available error

2009-09-07 Thread Leon de Rooij

Hi,

Well, that's a coincidence.. I've been busy trying to figure out that  
same problem the entire weekend :-)


FS needs to know where to lookup the registered user, by indeed  
setting a dialstring.
The dialstring is described in the wiki page that's mentioned, but  
there's something more:


It says on that page that you should set a param in your user like this:

param name=dial-string value=${sofia_contact(${dialed_us...@$ 
{dialed_domain})}/


You can also test it in your cli like this:

expand echo ${sofia_contact(usern...@domainname)}

This will reply with:
error/facility_not_subscribed

sofia_contact will search your db in sip_registrations for all  
registered users. The actual arguments that can be given to the  
function are:


profilename/usern...@domainname/arguments

If you leave out the profilename, it will put your domainname there.

The function then checks whether a *profile* exists with that name,  
and then lookup the entries in the db and then returns them.
This can be fixed in two ways: either you specify the correct  
profilename (where the users are registered) with the sofia_contact  
function, or you alias the domainname to the profile where the user is  
registered in your sip profile.


The alias can be set in your profile like this:

aliasesalias name=domainname//alias

or automatically like this:

domainsdomain name=domainname alias=true parse=false// 
domains

(where domainname can also be all to alias all domain names)

But this presents another problem: The domain names that are aliased  
in the last way are retrieved from the database at startup of  
mod_sofia, and it is done through a directory lookup with  
purpose=gateways, even though the parse attribute - which is for  
getting gateways - is set to false !! (took me some time to figure  
that one out)


So, I rewrote the mod_xml_odbc a bit so the set-channel-variables  
function does expansion on all attributes (from-name, from-value, to- 
name, to-value), and wrote the following template:


include
  !-- purpose=gateways is not only called for getting gateways, but  
also for getting a list
   of domains that will be aliased to a profile if domain ..  
alias=true/ is set --

  template name=directory-gateways
document type=freeswitch/xml
  section name=directory
xml-odbc-do name=set-event-header to-name=where-clause  
to-value=`${key_name}`='${key_value}'/
	xml-odbc-do name=set-event-header if-name=where-clause if- 
value=``='' to-value=1/

xml-odbc-do name=query on-empty-result-break-to=not-found
 value=SELECT name AS domain_name FROM  
dir_domains WHERE ${where-clause};

  domain name=${domain_name}/
  !-- select all gateways of users within this domain_name  
here, to make parse=true working --

/xml-odbc-do
  /section
/document
  /template
/include

This will simply return a list of all domains if no key_name and  
key_value were specified in the lookup, or list one domain if that is  
requested.


The updated mod_xml_odbc and the directory-gateways.conf.xml template  
are in svn trunk contrib.


This does work for me now but still some things feel a bit strange to  
me (perhaps someone can explain?):


For examplle, right now, when I have two profiles where users can  
register with the same domain (for example one with a v4 and one with  
a v6 address), what should I do ? I can't alias the same domain to two  
profiles, so that means I have to call sofia_contact twice, once for  
each profile ?


regards,

Leon



On Sep 6, 2009, at 6:08 AM, mayamatakeshi wrote:



On Sat, Sep 5, 2009 at 5:36 PM, Juan Backson juanback...@gmail.com  
wrote:

Hi,

I am getting no dial-string available error when using xml_odbc  
module to bridge a call.  How can I resolve this problem?


Hello,
I never tried the mod_xml_odbc.
But as the message says, you are not providing a dial-string.
I believe your template is incomplete.
Read about the dial-string here:
http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide#Dial_String


EXECUTE sofia/internal/180...@192.168.1.130 bridge(user/180001)
2009-09-05 16:31:29.853456 [INFO] mod_xml_odbc.c:401 DEBUG in  
xml_odbc_search, header [key_value]=[192.168.1.134]
2009-09-05 16:31:29.854400 [INFO] mod_xml_odbc.c:401 DEBUG in  
xml_odbc_search, header [key_name]=[name]
2009-09-05 16:31:29.854400 [INFO] mod_xml_odbc.c:401 DEBUG in  
xml_odbc_search, header [tag_name]=[domain]
2009-09-05 16:31:29.854400 [INFO] mod_xml_odbc.c:401 DEBUG in  
xml_odbc_search, header [section]=[directory]
2009-09-05 16:31:29.854400 [INFO] mod_xml_odbc.c:401 DEBUG in  
xml_odbc_search, header [Event-Name]=[REQUEST_PARAMS]
2009-09-05 16:31:29.854400 [INFO] mod_xml_odbc.c:401 DEBUG in  
xml_odbc_search, header [Core- 
UUID]=[f649cdfd-3715-4d18-94d9-417aa7e26873]
2009-09-05 16:31:29.854400 [INFO] mod_xml_odbc.c:401 DEBUG in  
xml_odbc_search, header [FreeSWITCH-Hostname]=[server]
2009-09-05 16:31:29.854400 [INFO] mod_xml_odbc.c:401 

Re: [Freeswitch-users] need help with mod_xml_odbc

2009-08-27 Thread Leon de Rooij
Hi Juan,

Perhaps it loops because you didn't include the not-found template ?  
Actually, I see there's a bug in the example xml_odbc.conf.xml file  
where it's defined with an underscore instead of a dash, will change  
that tonight..

The not-found template needs to be specified as a template in the  
configuration. I think I'll define that template statically in the  
module itself later.
Because it's the 'fall-through' template when it can't find a  
template, you get a loop.

So, something like this should probably work for you:

templates

   template name=default
 xml-odbc-do name=query on-empty-result-break-to=not-found  
value=SELECT sip_password FROM agent WHERE sip_user = '${user}';/
 document type=freeswitch/xml
   section name=directory
 domain name=${domain}
   user id=${user}
 params
   param name=password, value=${sip_password}/
 /params
   /user
 /domain
   /section
 /document
   /template

   template name=not-found
 document type=freeswitch/xml
   section name=result
 result status=not found/
   /section
 /document
   /template

/templates

(I didn't include the enabled field in your select statement, as you  
don't use it later, perhaps you need it in the where clause ?)

Also, note that this way the template will also be used at startup  
when FS tries to get a list of all ACL's - I believe for something  
else as well, have to check it - but those lookups probably don't give  
a ${user} so will render the not-found anyway..

One last thing, you didn't have ${user} enclosed in quotes in your  
query, so if no ${user} was given with the lookup to the module, then  
your query becomes invalid, which probably breaks things as well.

Let me know if it works..

regards,

Leon



On Aug 27, 2009, at 1:40 PM, Juan Backson wrote:

 Hi,

 Finally, I got xml_odbc running, but it does not really work well  
 for me.  I am getting:
 2009-08-28 03:33:47.459383 [ERR] mod_xml_odbc.c:325 Stopped  
 rendering template, called xml_odbc_render_template more than [32]  
 times, probably looping.
 2009-08-28 03:33:47.459383 [ERR] mod_xml_odbc.c:408 Something went  
 horribly wrong while generating an XML template!

 My config is:
 configuration name=xml_odbc.conf description=XML ODBC  
 Configuration

   settings
 param name=binding value=directory/
 param name=odbc-dsn value=class5_odbc:root:JdqB-S/
 param name=debug value=true/
 param name=keep-files-around value=true/
   /settings

   templates

 template name=default
   document type=freeswitch/xml
 section name=directory
  xml-odbc-do name=query on-empty-result-break-to=not-found  
 value=SELECT enabled, sip_password FROM agent WHERE sip_user =  $ 
 {user}/
 domain name=${domain}
   user id=${user}
 params
   xml-odbc-do name=query value=SELECT sip_password  
 FROM agent WHERE sip_user = ${user}
 param name=password, value=${sip_password}/
   /xml-odbc-do
 /params
   /user
 /domain


 /section
   /document
 /template

   /templates

 /configuration


 Since these two queries get data from the same table, I tried to  
 merge them, but could not get it to work.

 Anyone has any idea?

 Thanks,
 JB
 ___
 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] need help with mod_xml_odbc

2009-08-27 Thread Leon de Rooij
Made a typo in the param, you have to leave out the comma..

regards,

Leon


On Aug 27, 2009, at 2:57 PM, Leon de Rooij wrote:

 Hi Juan,

 Perhaps it loops because you didn't include the not-found template ?
 Actually, I see there's a bug in the example xml_odbc.conf.xml file
 where it's defined with an underscore instead of a dash, will change
 that tonight..

 The not-found template needs to be specified as a template in the
 configuration. I think I'll define that template statically in the
 module itself later.
 Because it's the 'fall-through' template when it can't find a
 template, you get a loop.

 So, something like this should probably work for you:

 templates

   template name=default
 xml-odbc-do name=query on-empty-result-break-to=not-found
 value=SELECT sip_password FROM agent WHERE sip_user = '${user}';/
 document type=freeswitch/xml
   section name=directory
 domain name=${domain}
   user id=${user}
 params
   param name=password, value=${sip_password}/
 /params
   /user
 /domain
   /section
 /document
   /template

   template name=not-found
 document type=freeswitch/xml
   section name=result
 result status=not found/
   /section
 /document
   /template

 /templates

 (I didn't include the enabled field in your select statement, as you
 don't use it later, perhaps you need it in the where clause ?)

 Also, note that this way the template will also be used at startup
 when FS tries to get a list of all ACL's - I believe for something
 else as well, have to check it - but those lookups probably don't give
 a ${user} so will render the not-found anyway..

 One last thing, you didn't have ${user} enclosed in quotes in your
 query, so if no ${user} was given with the lookup to the module, then
 your query becomes invalid, which probably breaks things as well.

 Let me know if it works..

 regards,

 Leon



 On Aug 27, 2009, at 1:40 PM, Juan Backson wrote:

 Hi,

 Finally, I got xml_odbc running, but it does not really work well
 for me.  I am getting:
 2009-08-28 03:33:47.459383 [ERR] mod_xml_odbc.c:325 Stopped
 rendering template, called xml_odbc_render_template more than [32]
 times, probably looping.
 2009-08-28 03:33:47.459383 [ERR] mod_xml_odbc.c:408 Something went
 horribly wrong while generating an XML template!

 My config is:
 configuration name=xml_odbc.conf description=XML ODBC
 Configuration

  settings
param name=binding value=directory/
param name=odbc-dsn value=class5_odbc:root:JdqB-S/
param name=debug value=true/
param name=keep-files-around value=true/
  /settings

  templates

template name=default
  document type=freeswitch/xml
section name=directory
 xml-odbc-do name=query on-empty-result-break-to=not-found
 value=SELECT enabled, sip_password FROM agent WHERE sip_user =  $
 {user}/
domain name=${domain}
  user id=${user}
params
  xml-odbc-do name=query value=SELECT sip_password
 FROM agent WHERE sip_user = ${user}
param name=password, value=${sip_password}/
  /xml-odbc-do
/params
  /user
/domain


/section
  /document
/template

  /templates

 /configuration


 Since these two queries get data from the same table, I tried to
 merge them, but could not get it to work.

 Anyone has any idea?

 Thanks,
 JB
 ___
 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


___
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] need help with mod_xml_odbc

2009-08-27 Thread Leon de Rooij
Hi Juan,

With debug=true you should be able to see what template it's trying to  
render in a loop, can you tell which one that is ? (I'm guessing it  
says 32 times it wants to render not-found)

In the xml you pasted in your mail, you didn't specify the name of the  
not-found template, just template, that could be the problem..

To get around the problem of generating a wrong query when the ${user}  
is not given, you could simply encapsulate everything with a check- 
event-header, like this:

template name=default
   xml-odbc-do name=check-event-header if-name=user
 xml-odbc-do name=query on-empty-result-break-to=not-found  
value=...etc
   ..rest of your template goes here..
 /xml-odbc-do
   /xml-odbc-do
/template

But that would mean that an empty xml is returned whenever no $ 
{user} is provided. I didn't test how fs will react to that when it's  
looking up all the users for generating the acl list..

A way around that would be to only render your template when ${user}  
is set and otherwise render the not-found template, like this:

template name=default
   xml-odbc-do name=check-event-header if-name=user
 xml-odbc-do name=break-to value=directory-user/
   /xml-odbc-do
   xml-odbc-do name=break-to value=not-found/
/template

template name=directory-user
   xml-odbc-do name=query on-empty-result-break-to=not-found  
value=...etc
 ..rest of your template goes here..
   /xml-odbc-do
/template

template name=not-found
etc...
/template

---

Which comes close to how it's defined in the xml_odbc.conf.xml  
example, which solves it the other way around:

...
 template name=default
   xml-odbc-do name=break-to value=${section}/
 /template

 template name=directory --
   xml-odbc-do name=check-event-header if-name=purpose
 !-- catches purpose gateways and network-list (any more?) --
 xml-odbc-do name=break-to value=directory-${purpose}/
   /xml-odbc-do
   xml-odbc-do name=break-to value=directory-user/
 /template
...

- First it checks what section is requested, which is nice but not  
really necessary in your case, since you only bind to directory.
- Then it checks whether a purpose header is set (which was only the  
case for looking up acl's and gateways and NOT for regular user  
lookups last time I checked out the svn)
- If a purpose header IS set, then it tries to render directory-$ 
{purpose}, which isn't specified, so it falls back to not-found  
which is what you want in this case
- And as a last resort - this is where regular user lookups end up, it  
renders directory-user where you can put the template as specified  
above..

Hope that helps ?

regards,

Leon


On Aug 27, 2009, at 3:53 PM, Juan Backson wrote:

 Hi Leon,

 Thanks for your help.

 I have changed it according to your comment but I am still getting  
 the looping error.

 Would you please take a look see what else I did wrong?

 Also, sip_user is an integer field, so I can't really use ''.  Is  
 there anyway to get around that?


 configuration name=xml_odbc.conf description=XML ODBC  
 Configuration

   settings
 param name=binding value=directory/
 param name=odbc-dsn value=class5_odbc:root:abcd/
 param name=debug value=true/
 param name=keep-files-around value=true/
   /settings

   templates

 template name=default
   document type=freeswitch/xml
 section name=directory
  xml-odbc-do name=query on-empty-result-break-to=not-found  
 value=SELECT enabled, sip_password FROM agent WHERE sip_user =  $ 
 {user} and enabled='t'/
 domain name=${domain}
   user id=${user}
 params
   xml-odbc-do name=query value=SELECT sip_password  
 FROM agent WHERE sip_user = ${user}
 param name=password value=${sip_password}/
   /xml-odbc-do
 /params
   /user
 /domain


 /section
   /document
 /template


 template

 document type=freeswitch/xml
 section name=result
 result status=not found/
 /section
 /document
 /template
   /templates

 /configuration
 ___
 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] reload user data

2009-08-25 Thread Leon de Rooij
Hi,

I wrote that module, but been on vacation for a while :-) It's not  
really finished yet, but it worked well for generating user directory  
xml..

Some things that still need to be done:
- Fix it so that reloadxml works
- Don't write the generated xml always to disk before returning it to fs
- Surely there are bugs that need to be fixed

Did anyone try it yet ? If so, what is your experience ?

Regards,

Leon




On Aug 25, 2009, at 11:30 AM, Jim Burke wrote:

 Is this what you are after?

 http://wiki.freeswitch.org/wiki/Mod_xml_odbc

 Cheers,
 Jim

 On Tue, Aug 25, 2009 at 7:22 PM, Juan Backsonjuanback...@gmail.com  
 wrote:
 Hi Ken,

 xml_curl is a great idea.  Is there anyway to not having to setup  
 another
 HTTP server?  For instance, can I have freeswitch to call an api or  
 call a
 lua or php or c script that will return the xml response?  That  
 way, I don't
 need to maintain yet another service.

 Thanks,
 JB

 On Tue, Aug 25, 2009 at 4:30 PM, Ken Rice kr...@freeswitch.org  
 wrote:

 You just need to reloadxml you don’t have to restart the whole  
 thing. You
 can also use xml_curl to feed the users from a database see my  
 contrib
 directory (contrib/swk) for some example scripts and db code


 
 From: Juan Backson juanback...@gmail.com
 Reply-To: freeswitch-users@lists.freeswitch.org
 Date: Tue, 25 Aug 2009 16:21:58 +0800
 To: freeswitch-users@lists.freeswitch.org
 Subject: [Freeswitch-users] reload user data

 Hello,

 I would like to dynamically add user to freeswitch.  If I add a  
 new file
 to the directory dir, is there anyway to have freeswitch to read  
 the new
 user xml file without having to restart freeswitch?

 Other than using flat file, is there anyway to add user to  
 freeswitch user
 api command?

 Thanks,
 JB

 
 ___
 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



 ___
 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





 -- 
 Jim Burke
 Director Evolutiontel.
 http://www.evolutiontel.net

 ___
 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] getting statistics from core db through esl interface

2009-04-22 Thread Leon de Rooij

Definitely!

I have a question about licensing, lib_esl is not MPL, right ?

So it can be freely used in a Collectd (GPL) plugin ?

thanks,

Leon


On Apr 21, 2009, at 10:59 PM, Brian West wrote:


Are you going to donate the complete module to the collectd project?

/b

On Apr 21, 2009, at 8:52 AM, Leon de Rooij wrote:


Thanks, I know that's possible, but I want to get the amount of
channels per profile (and even seperated inbound/outbound), not a
total of all channels on all profiles combined..

regards,

Leon


Brian West
br...@freeswitch.org

-- Meet us at ClueCon!  http://www.cluecon.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.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] getting statistics from core db through esl interface

2009-04-22 Thread Leon de Rooij

wow, thanks, that's very useful !

On Apr 21, 2009, at 7:51 PM, Anthony Minessale wrote:

latest trunk now has the stats you seek in sofia status profile  
profilename


On Tue, Apr 21, 2009 at 8:55 AM, Brian West br...@freeswitch.org  
wrote:

You forgot the as xml versions

show channels as xml
show calls count as xml
show channels count as xml

;)

/b


On Apr 21, 2009, at 8:41 AM, Mathieu Rene wrote:


show channels count
show calls count

Mathieu


Brian West
br...@freeswitch.org

-- Meet us at ClueCon!  http://www.cluecon.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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.org
pstn:213-799-1400
___
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


[Freeswitch-users] getting statistics from core db through esl interface

2009-04-21 Thread Leon de Rooij
Hi,

I'm making a c plugin for collectd ( http://collectd.org ) to get some  
basic statistics from FS. Right now it uses ESL to connect, but doing  
an api show channels and after that parsing the csv to get the  
amount of channels per profile seems a bit of a detour.. Is it  
possible to do some sql selects on the core db through ESL to get this  
info ?

thanks  regards,

Leon

___
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] getting statistics from core db through esl interface

2009-04-21 Thread Leon de Rooij
Thanks, I know that's possible, but I want to get the amount of  
channels per profile (and even seperated inbound/outbound), not a  
total of all channels on all profiles combined..

regards,

Leon

On Apr 21, 2009, at 3:41 PM, Mathieu Rene wrote:

 show channels count
 show calls count

 Mathieu

 On 21-Apr-09, at 9:27 AM, Leon de Rooij wrote:

 Hi,

 I'm making a c plugin for collectd ( http://collectd.org ) to get  
 some
 basic statistics from FS. Right now it uses ESL to connect, but doing
 an api show channels and after that parsing the csv to get the
 amount of channels per profile seems a bit of a detour.. Is it
 possible to do some sql selects on the core db through ESL to get  
 this
 info ?

 thanks  regards,

 Leon

 ___
 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


___
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] upper registration in FS?

2009-04-02 Thread Leon de Rooij
Hi,

You can blindly accept registrations and / or authentication messages  
with these parameters in a sip profile:

 param name=accept-blind-reg value=true/
 param name=accept-blind-auth value=true/

http://wiki.freeswitch.org/wiki/Sofia.conf.xml#accept-blind-reg

regards,

Leon

On Apr 2, 2009, at 3:01 PM, xbipin wrote:


 hi,

 i wanted to know if there was any way to actually accept all  
 registrations
 coming towards freeswitch, the normal function is to have all the  
 suerid and
 passwords configured, but is there a way to accept all registrations  
 coming
 towards a single ip or domain?


 Regards,
 Bipin
 -- 
 View this message in context: 
 http://www.nabble.com/Re%3A-upper-registration-in-FS--tp22782688p22847331.html
 Sent from the Freeswitch-users mailing list archive at Nabble.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.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


[Freeswitch-users] user_data sends two header_strings named key

2009-03-25 Thread Leon de Rooij
Hi,

I think this is a bug in mod_commands.c :

When using user_data function from mod_commands (mod_commands.c,  
line 358)
A header string key is added to params (mod_commands.c, line 362)
Then switch_xml_locate_user is called (switch_xml.c, line 1712)
And that function adds another header string key (switch_xml.c, line  
1740)
This results in two keys with the same name being sent ( to in my case  
mod_xml_curl ).

I opened an issue in jira for this (is it alright like that ?) :

http://jira.freeswitch.org/browse/MODAPP-242

regards,

Leon

___
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] XML (curl) returned for Event-Calling-Function = switch_xml_locate_user

2009-03-24 Thread Leon de Rooij
Hi,

I'm trying to get some cli commands working in combination with xml- 
curl.

Endpoints are parsed properly for SIP registrations and invites, but  
when I use the CLI command user_exists it returns false, while I do  
return an  endpoint (same syntax as for a sofia_reg_parse_auth event)  
on the webserver.

Should switch_xml_locate_user event receive a different syntax ?

freeswi...@internal user_exists accountcode gigaset toyos.nl
false

XML returned from webserver:

?xml version=1.0 encoding=UTF-8?
document type=freeswitch/xml
section name=directory
   domain name=toyos.nl
 user id=gigaset mailbox=
   params
 param name=a1-hash  
value=a211336e29c4f3756e6af343ce6da27b/
 param name=email-addr value=t...@test.com/
 param name=vm-delete-file value=true/
 param name=vm-attach-file value=true/
   /params
   variables
 variable name=accountcode value=gigaset/
 variable name=caller_id_name value=gigaset/
 variable name=caller_id_number value=1000/
 variable name=email_addr value=t...@test.com/
 variable name=privacy value=no/
 variable name=process_cdr value=true/
 variable name=sip_secure_media value=false/
 variable name=country_code value=31/
 variable name=area_code value=320/
   /variables
 /user
   /domain
/section
/document

thanks  regards,

Leon


___
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] Proxy media hickups in audio

2009-03-19 Thread Leon de Rooij
Hi all,

I'm still undecided yet whether I need proxy-media or not. As I  
understand it, the only downside of enabling proxy-media is that early- 
media is not possible, correct ? (Or are there other reasons why I  
shouldn't use proxy-media ?)

When I disable proxy-media I get little hickups in the audio on the  
outbound leg of the call, which are not there when proxy-media is  
enabled.

I made pcap dumps on the ethernet interface for both in- and outbound  
legs, for both settings (proxy-media dis- and enabled), analyzed it in  
wireshark (no packetloss), but when extracting the audiostreams to .au  
and listening to it on my laptop, I hear the same hickups.

Is there some other setting that may fix the problem of the hickups ?  
(Is this a known problem?)

I'm running fs with -hp argument, am doing no transcoding and am using  
ALAW codec.

Is it helpful if I put the pcap and .au files somewhere ?

thanks  regards,

Leon

___
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] Proxy media hickups in audio

2009-03-19 Thread Leon de Rooij
I'm not using T38 yet, it may be nice in the future, as long faxes  
over alaw just don't work properly..

And also, there are these hickups now, that I don't have with proxy- 
media enabled..

On Mar 19, 2009, at 2:15 PM, Brian West wrote:

 You shouldn't use it.  It has a special use case and I suspect yours
 isn't it.  Are you doing anything with T.38 right now?

 /b

 On Mar 19, 2009, at 6:57 AM, Leon de Rooij wrote:

 I'm still undecided yet whether I need proxy-media or not. As I
 understand it, the only downside of enabling proxy-media is that
 early-
 media is not possible, correct ? (Or are there other reasons why I
 shouldn't use proxy-media ?)


 ___
 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] Proxy media hickups in audio

2009-03-19 Thread Leon de Rooij
Brian,

I put two au files here:

http://www.ldr.scarlet.nl/ua-to-fs.au
http://www.ldr.scarlet.nl/fs-to-mgw.au

It's a call from a Siemens SX762 (using ALAW) to FS (no transcoding)  
which bridges it to a mediagateway.
Proxy-media is disabled on the incoming sip_profile.
Both au files are extracted from the same pcap file.

As you can hear, the second sample sounds bad.. Are there any flags I  
can set in the incoming or outgoing sip_profile that may fix this ?

The server has zero load (it's a Dell R300 with 2.6.24-23-server 64  
bit kernel). In fact, this was the only call going through..

FS is version 12163M

thanks,

Leon




On Mar 19, 2009, at 2:15 PM, Brian West wrote:

 You shouldn't use it.  It has a special use case and I suspect yours
 isn't it.  Are you doing anything with T.38 right now?

 /b

 On Mar 19, 2009, at 6:57 AM, Leon de Rooij wrote:

 I'm still undecided yet whether I need proxy-media or not. As I
 understand it, the only downside of enabling proxy-media is that
 early-
 media is not possible, correct ? (Or are there other reasons why I
 shouldn't use proxy-media ?)


 ___
 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] mod_erlang_event compile problem

2009-02-24 Thread Leon de Rooij
Andrew,

I think you're right, packets are indeed sent to 172.31.0.13 while  
mod_erlang_event is listening at 127.0.0.1 ! Why didn't I see that ! ;-)

Will test it now and let you know how it goes..

regards,

Leon

On Feb 24, 2009, at 1:22 AM, Andrew Thompson wrote:

 Leon,

 I think I found the problem. I shouldn't have been defaulting to  
 binding
 to 127.0.0.1, instead the default should be 0.0.0.0. I've patched the
 module to actually bind to 0.0.0.0 correctly and made it the default  
 in
 the config file. Erlang nodes by default bind to 0.0.0.0, so I decided
 to make mod_erlang_event follow suit.

 Please give that a shot and see if it fixes things.

 Andrew

 ___
 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] mod_erlang_event compile problem

2009-02-24 Thread Leon de Rooij
Well, this works, I feel a bit stupid now :-] Now it's time to play  
with it..

Thanks a lot !

kind regards,

Leon


On Feb 24, 2009, at 1:22 AM, Andrew Thompson wrote:

 Leon,

 I think I found the problem. I shouldn't have been defaulting to  
 binding
 to 127.0.0.1, instead the default should be 0.0.0.0. I've patched the
 module to actually bind to 0.0.0.0 correctly and made it the default  
 in
 the config file. Erlang nodes by default bind to 0.0.0.0, so I decided
 to make mod_erlang_event follow suit.

 Please give that a shot and see if it fixes things.

 Andrew

 ___
 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] mod_erlang_event compile problem

2009-02-23 Thread Leon de Rooij
Hi Andrew,

Everything is running on an Ubuntu Hardy Xen domu with kernel  
2.6.24-23-xen.

Erlang is version R12B5 and was compiled from source with options -- 
enable-hipe, --enable-smp-support en --enable-threads.

FS is trunk version 12197.

I did copy the configuration file to ~freeswitch/conf/autoload_configs

Also, I just checked the 'empd -names', after both FS and an erl shell  
have been started:

r...@erlyfs:~# epmd -names
epmd: up and running on port 4369 with data:
name ldr at port 57114
name freeswitch at port 8031

So that should be fine..

  I also tried loading mod_erlang_event from modules.conf, and  
starting FS as root, but - not surprisingly - that didn't make any  
difference.

I've been looking in wireshark, what exactly is going over the line,  
and the strange thing is, that erl opens a TCP connection, a SYN  
packet is sent to FS, after which FS immediately returns an RST/ACK  
packet and thus closes the connection.. I still don't see anything in  
the FS CLI.

Is there anything I can do to get more verbose output from FS - esp  
info about why the connection was closed ?

thanks,

Leon

On Feb 23, 2009, at 1:12 AM, Andrew Thompson wrote:

 Leon,

 I can't replicate your issue, at the very least I'd expect you to see
 the Ignorable error in ei_accept - probable bad client version, bad
 cookie or bad nodename warning. What OS/Erlang version are you using?

 Andrew

 ___
 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] mod_erlang_event compile problem

2009-02-21 Thread Leon de Rooij
 when set to debug  
logging.

Thanks again,

Leon


On Feb 20, 2009, at 8:08 PM, Andrew Thompson wrote:

 On Fri, Feb 20, 2009 at 05:19:25PM +0100, Leon de Rooij wrote:
 Hi,

 I wanted to try out the mod_erlang_event module. I have Erlang R12B5
 compiled and it's in the same location as the Makefile specifies (/ 
 usr/
 local/lib/erlang/...), but running make in the src/mod/ 
 event_handlers/
 mod_erlang_event goes wrong:


 Yeah, this was a gcc4 thing, I've done most of my testing on gcc3 so  
 it
 didn't show up for me. Thanks to MikeJ for the fix suggestion.

 Also, after this, FS goes haywire after loading the module
 and spews out these messages continuously:


 You don't have the erlang port mapper daemon running (epmd).
 mod_erlang_event needs it to be running in order to be able to  
 register
 itself as an erlang node. On your system; epmd isn't in $PATH so my
 system() call that tries to start it fails. I've made the module init
 system fail properly instead of looping indefinitely as well as  
 print a
 slightly more helpful error message now. Let me know if you have any
 better luck :) The fix is in-tree as of r12192.

 Thanks again for the bug report.

 Andrew

 ___
 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


[Freeswitch-users] mod_erlang_event compile problem

2009-02-20 Thread Leon de Rooij
Hi,

I wanted to try out the mod_erlang_event module. I have Erlang R12B5  
compiled and it's in the same location as the Makefile specifies (/usr/ 
local/lib/erlang/...), but running make in the src/mod/event_handlers/ 
mod_erlang_event goes wrong:

Compiling handle_msg.c...
cc1: warnings being treated as errors
handle_msg.c: In function 'handle_msg_sendmsg':
handle_msg.c:429: warning: the address of 'uuid' will always evaluate  
as 'true'
handle_msg.c: In function 'handle_msg_handlecall':
handle_msg.c:541: warning: the address of 'uuid_str' will always  
evaluate as 'true'
make[1]: *** [handle_msg.o] Error 1
make: *** [all] Error 1

At line 429 in handle_msg.c it says:

if (!switch_strlen_zero(uuid)  (session =  
switch_core_session_locate(uuid))) {

(at line 541 is the same problem)

Is this a bug ? I tried removing the first part ! 
switch_strlen_zero(uuid)  after which it compiles fine, but since I  
don't fully understand what's going on, I'm sure this is not the  
solution.. Also, after this, FS goes haywire after loading the module  
and spews out these messages continuously:

2009-02-20 14:15:48 [ERR] mod_erlang_event.c:1417  
mod_erlang_event_runtime() Failed to start empd manually
2009-02-20 14:15:48 [DEBUG] mod_erlang_event.c:1401  
mod_erlang_event_runtime() Socket up listening on 127.0.0.1:8031
2009-02-20 14:15:48 [WARNING] mod_erlang_event.c:1415  
mod_erlang_event_runtime() Failed to publish port to empd, trying to  
start empd manually
2009-02-20 14:15:48 [ERR] mod_erlang_event.c:1417  
mod_erlang_event_runtime() Failed to start empd manually
2009-02-20 14:15:48 [DEBUG] mod_erlang_event.c:1401  
mod_erlang_event_runtime() Socket up listening on 127.0.0.1:8031
2009-02-20 14:15:48 [WARNING] mod_erlang_event.c:1415  
mod_erlang_event_runtime() Failed to publish port to empd, trying to  
start empd manually
etc..

Can someone help me and point out what's wrong ?

thanks  kind regards,

Leon de Rooij


___
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] mod_erlang_event compile problem

2009-02-20 Thread Leon de Rooij
Hi Andrew,

Thanks! it compiles fine now.. Also thanks for the tip about empd, got  
it running without errors now :-)

regards,

Leon


On Feb 20, 2009, at 8:08 PM, Andrew Thompson wrote:

 On Fri, Feb 20, 2009 at 05:19:25PM +0100, Leon de Rooij wrote:
 Hi,

 I wanted to try out the mod_erlang_event module. I have Erlang R12B5
 compiled and it's in the same location as the Makefile specifies (/ 
 usr/
 local/lib/erlang/...), but running make in the src/mod/ 
 event_handlers/
 mod_erlang_event goes wrong:


 Yeah, this was a gcc4 thing, I've done most of my testing on gcc3 so  
 it
 didn't show up for me. Thanks to MikeJ for the fix suggestion.

 Also, after this, FS goes haywire after loading the module
 and spews out these messages continuously:


 You don't have the erlang port mapper daemon running (epmd).
 mod_erlang_event needs it to be running in order to be able to  
 register
 itself as an erlang node. On your system; epmd isn't in $PATH so my
 system() call that tries to start it fails. I've made the module init
 system fail properly instead of looping indefinitely as well as  
 print a
 slightly more helpful error message now. Let me know if you have any
 better luck :) The fix is in-tree as of r12192.

 Thanks again for the bug report.

 Andrew

 ___
 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] ipauth - directory

2009-02-18 Thread Leon de Rooij

Hi Anthony,

I tried your second option, but how does it work with xml-curl then ?  
As far as I understand it, this doesn't work by doing a user-directory  
xml lookup at INVITE time, or does it ?


Or does it want to generate an ACL at FS startup and filling up all  
the allow-nodes by polling the entire domain, filtering out all users  
with CIDR entry and putting those in the ACL itself ?


If so, is that the reason why FS tries (at startup) to POST to the  
webserver with:
hostname 
= 
test 
section 
= 
directory 
tag_name 
= 
domain 
key_name=namekey_value=test.comdomain=test.compurpose=network-list


?

Thanks  regards,

Leon


On Feb 16, 2009, at 3:04 PM, Anthony Minessale wrote:


you have 3 options.
on authenticated users, every variable tag in his account will be  
set on each call from that authenticated user.


1) make them register, this sets the variables automatically
2) use the ACL list with cidr=cidr of where they will be coming  
from this has the same effect with no auth needed.
3) use some other way to differentiate the user and use the set_user  
application in the dialplan to inherit that user's variables.




On Mon, Feb 16, 2009 at 6:49 AM, Leon de Rooij l...@scarlet-internet.nl 
 wrote:

Hi all,

I'd really like to know more about this too.

Currently, I have two sip_profiles:

- residential (where users can do authenticated registers and invites)
- transit (where other users can do un-authenticated invites)

Right now, FS is not aware of *who* is accessing the transit profile  
except for an acl that is set on this profile so unauthorized use is  
not possible.


But what should I do when I want to allow multiple parties (from  
different IP addresses) to send their invites to the transit  
profile, and still be able to differentiate between them ?


I'd like to set some variables, like an accountcode for example, on  
the basis of what IP address the INVITE originates from.


So, is it possible to not use digest authentication, but still use a  
dialplan-directory user with IP= field or some such ?


thanks a lot  kind regards,

Leon de Rooij



On Jan 14, 2009, at 4:36 PM, Apostolos Pantsiopoulos wrote:


Yes I know that. But what does the ip= setting do?

Brian West wrote:


cidr= and the domains acl in acl.conf.xml then apply that ACL to the
sofia profile.

/b

On Jan 14, 2009, at 9:15 AM, Apostolos Pantsiopoulos wrote:



I noticed an ip= setting in the brian.xml sample file.
The comments state that this is used for ipauth (IP based
authentication?)

What exactly is this setting. I cannot find anything in the wiki
about it.
Does it replace the use of the

param name=auth-calls value=false/ + ACL

mechanism for IP authentication?


___
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




--
---
Apostolos Pantsiopoulos
Kinetix Tele.com R  D
email: r...@kinetix.gr
---
___
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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_miness...@hotmail.com
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.org
pstn:213-799-1400
___
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] ipauth - directory

2009-02-16 Thread Leon de Rooij

Hi all,

I'd really like to know more about this too.

Currently, I have two sip_profiles:

- residential (where users can do authenticated registers and invites)
- transit (where other users can do un-authenticated invites)

Right now, FS is not aware of *who* is accessing the transit profile  
except for an acl that is set on this profile so unauthorized use is  
not possible.


But what should I do when I want to allow multiple parties (from  
different IP addresses) to send their invites to the transit profile,  
and still be able to differentiate between them ?


I'd like to set some variables, like an accountcode for example, on  
the basis of what IP address the INVITE originates from.


So, is it possible to not use digest authentication, but still use a  
dialplan-directory user with IP= field or some such ?


thanks a lot  kind regards,

Leon de Rooij



On Jan 14, 2009, at 4:36 PM, Apostolos Pantsiopoulos wrote:


Yes I know that. But what does the ip= setting do?

Brian West wrote:


cidr= and the domains acl in acl.conf.xml then apply that ACL to the
sofia profile.

/b

On Jan 14, 2009, at 9:15 AM, Apostolos Pantsiopoulos wrote:



I noticed an ip= setting in the brian.xml sample file.
The comments state that this is used for ipauth (IP based
authentication?)

What exactly is this setting. I cannot find anything in the wiki
about it.
Does it replace the use of the

param name=auth-calls value=false/ + ACL

mechanism for IP authentication?



___
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




--
---
Apostolos Pantsiopoulos
Kinetix Tele.com R  D
email: r...@kinetix.gr
---
___
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


[Freeswitch-users] debuild breaks since the last few days

2009-02-03 Thread Leon de Rooij
Hi all,

I've been trying to build new debs, but debuild seems to break..

I tried trunk rev 11608 and 1.0.3RC-1 and tried building the packages  
with:

debuild -i -us -uc -b

(which worked before)

And now it breaks at openzap with:

cc1: warnings being treated as errors
src/ozmod/ozmod_isdn/ozmod_isdn.c: In function 'writeQ931PacketToPcap':
src/ozmod/ozmod_isdn/ozmod_isdn.c:220: warning: implicit declaration  
of function 'pcap_dump_flush'
make[7]: *** [src/ozmod/ozmod_isdn/ozmod_isdn.o] Error 1
make[7]: Leaving directory `/home/fsbuilder/freeswitch-1.0.3RC1/libs/ 
openzap'
make[6]: *** [../libopenzap.so] Error 2
make[6]: Leaving directory `/home/fsbuilder/freeswitch-1.0.3RC1/libs/ 
openzap/mod_openzap'
make[5]: *** [all] Error 1
make[5]: Leaving directory `/home/fsbuilder/freeswitch-1.0.3RC1/libs/ 
openzap/mod_openzap'
make[4]: *** [../../libs/openzap/mod_openzap-all] Error 1
make[4]: Leaving directory `/home/fsbuilder/freeswitch-1.0.3RC1/src/mod'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/fsbuilder/freeswitch-1.0.3RC1/src'
Making all in build
make[3]: Entering directory `/home/fsbuilder/freeswitch-1.0.3RC1/build'
  + FreeSWITCH Build Complete ---+
  + FreeSWITCH has been successfully built.  +
  + Install by running:  +
  +  +
  +   /usr/bin/make install   +
  +--+
make[3]: Leaving directory `/home/fsbuilder/freeswitch-1.0.3RC1/build'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fsbuilder/freeswitch-1.0.3RC1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/fsbuilder/freeswitch-1.0.3RC1'
make: *** [build-stamp] Error 2
debuild: fatal error at line 1247:
debian/rules build failed

Does anyone know how to fix this ?

thanks,

Leon


___
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-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:

 bindings


   binding name=directory
  !--%s is populated with the extension --
  param name=filter value=(FSid=%s) bindings=directory/
  !--basedn for the searches %s is replaced with domain--
  param name=basedn value=ou=people,dc=example /
  param name=url value=ldap://172.16.75.129; /
  param name=binddn value=cn=admin,dc=example /
  param name=bindpass value=secret /

  trans
  !-- we need to translate these attrs into FS attrs --
  tran name=id mapfrom=FSid /
  tran name=mailbox mapfrom=FSmailbox /
  tran name=password mapfrom=FSPassword /
  tran name=vm-password mapfrom=FSvm-password /
  tran name=email-addr mapfrom=FSemail-addr /
  tran name=vm-email-all-messages 
 mapfrom=FSvm-email-all-
 messages /
  tran name=vm-delete-file mapfrom=FSvm-delete-file 
 /
  tran name=vm-attach-file mapfrom=FSvm-attach-file 
 /
  /trans
   /binding

   binding name=configuration
   param name=filter value=(%s=%s)
 bindings=configuration/
   param name=basedn value=name=%s,dc=example /
   param name=url value=ldap://172.16.75.129; /
   param name=binddn value=cn=admin,dc=example /
   param name=bindpass value=secret /
   /binding
 /bindings


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

 dn: cn=John Skopis,ou=people,dc=example
 objectClass: person
 objectClass

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:

  bindings


binding name=directory
!--%s is populated with the extension --
param name=filter value=(FSid=%s) bindings=directory/
!--basedn for the searches %s is replaced with domain--
param name=basedn value=ou=people,dc=example /
param name=url value=ldap://172.16.75.129; /
param name=binddn value=cn=admin,dc=example /
param name=bindpass value=secret /

trans
!-- we need to translate these attrs into FS attrs --
tran name=id mapfrom=FSid /
tran name=mailbox mapfrom=FSmailbox /
tran name=password mapfrom=FSPassword /
tran name=vm-password mapfrom=FSvm-password /
tran name=email-addr mapfrom=FSemail-addr /
tran name=vm-email-all-messages 
 mapfrom=FSvm-email-all- 
 messages /
tran name=vm-delete-file mapfrom=FSvm-delete-file 
 /
tran name=vm-attach-file mapfrom=FSvm-attach-file 
 /
/trans
/binding

binding name=configuration
param name=filter value=(%s=%s)  
 bindings=configuration/
param name=basedn value=name=%s,dc=example /
param name=url value=ldap://172.16.75.129; /
param name=binddn value=cn=admin,dc=example /
param name=bindpass value=secret /
/binding
 /bindings


 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

 load module=mod_xml_ldap /

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

 configuration name=xml_ldap.conf
 ...
 /configuration

 The 

Re: [Freeswitch-users] Passwords in clear text

2008-10-16 Thread Leon de Rooij
Hi,

Yes, you can just return an a1-hash instead of a password.

The a1-hash consists of md5(username:domain:password)

see: http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide

regards,

Leon


On Oct 16, 2008, at 9:40 AM, Peter P GMX wrote:

 I've seen in the XCML files that passwords and credentials e.g. for
 directory entries are always stored in clear text. Is there a way to  
 use
 encrypted passwords?

 Bet regaerds
 Peter

 ___
 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] Problems inviting to dests behind ipv6 gateway (event [nua_r_invite] status [904][Operation has no matching challenge ])

2008-10-15 Thread Leon de Rooij
Hi Brian,

I'll try starting the switch with the arguments today.

I've always been using ngrep for tracing (sip) traffic, but somehow,  
it won't show ipv6 traffic :-/

Now, while typing this mail, I discover scripts/trace/sipgrep that  
comes with fs :-)

But it seems to also use ngrep, so it doesn't work..

Ah well, I'll try getting the trace from fs and play with this later.

regards,

Leon

On Oct 14, 2008, at 4:28 PM, Brian West wrote:

 Can you start FreeSWITCH with TPORT_LOG=1 ./freeswitch and see if you
 can get a sip trace or even use sipgrep to get the trace of what is
 going on?

 /b

 On Oct 14, 2008, at 1:16 AM, Leon de Rooij wrote:

 Of course, I know fs is a b2bua. But FS sends 407 Proxy- 
 Authentication
 required for authenticating an INVITE. Only for REGISTERs it sends
 WWW-
 Authenticate req messages. That's what I meant.

 So do you mean the status [904][Operation has no matching
 challenge ] message on the originating switch is because the
 terminating switch sent a Proxy-Authenticate req message ?

 regards,

 Leon


 ___
 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] Problems inviting to dests behind ipv6 gateway (event [nua_r_invite] status [904][Operation has no matching challenge ])

2008-10-14 Thread Leon de Rooij
Of course, I know fs is a b2bua. But FS sends 407 Proxy-Authentication  
required for authenticating an INVITE. Only for REGISTERs it sends WWW- 
Authenticate req messages. That's what I meant.

So do you mean the status [904][Operation has no matching
challenge ] message on the originating switch is because the  
terminating switch sent a Proxy-Authenticate req message ?

regards,

Leon



On Oct 13, 2008, at 10:50 PM, Brian West wrote:

 That could be the fact we aren't a proxy but a b2bua. You will need to
 either auth each leg end to end along the call path or not auth calls.

 /b

 On Oct 13, 2008, at 1:41 PM, Leon de Rooij wrote:

 proxy-auth doesn't work..


 ___
 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


[Freeswitch-users] Problems inviting to dests behind ipv6 gateway (event [nua_r_invite] status [904][Operation has no matching challenge ])

2008-10-13 Thread Leon de Rooij
Hi all,

I'm trying to configure FS to have a SIP gateway that points to an  
ipv6 address, but somehow proxy-auth doesn't work..

Situation:

IPv4 UA ---INVITE--- IPv4 SIP Profile @ FS1 / IPv6 SIP Profile @ FS1  
---INVITE--- IPv6 SIP Profile @ FS2

I defined a sip-profile on FS1 containing this gateway:

   profile name=transit-v6
   gateway name=sv-dev-v6
   param name=ping value=0/
   param name=caller-id-in-from value=false/
   param name=register value=true/
   param name=username value=fs-home/
   param name=proxy value=[2001::2]/
   param name=context value=default/
   param name=realm value=test.org/
   param name=password value=secret/
   /gateway
   ..etc..

And on FS2, the directory contains that same user.

First of all the registration (www-auth) from FS1 to FS2 works  
perfectly, though it took me some time to figure out that the proxy  
attribute in the gateway definition on FS1 needed to be in square  
brackets (this is correct, isn't it ?)

Now if I send an INVITE from FS1 to FS2:

bridge - sofia/gateway/sv-dev-v6/555

Via: SIP/2.0/UDP [2001::1];rport;branch=z9hG4bK6veN1ZQmKpe6K
Max-Forwards: 69
From: gigaset sip:[EMAIL PROTECTED];transport=udp;tag=5mv546FcrjZDQ
To: sip:[EMAIL PROTECTED]::2]
Call-ID: 559effe2-13f4-122c-5687-00065b3a9659
CSeq: 105842223 INVITE
Contact: sip:[EMAIL PROTECTED]::1]:5060;transport=udp
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-9854M
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,  
NOTIFY, REFER, UPDATE, REGISTER, INFO
Supported: precondition, path, replaces
Allow-Events: talk
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 364
Remote-Party-ID: test sip:[EMAIL PROTECTED];screen=yes;privacy=off

the latter replies - as expected - with a 407 Proxy Authentication  
Required:

SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP [2001::1];rport=5060;branch=z9hG4bK6veN1ZQmKpe6K
From: gigaset sip:[EMAIL PROTECTED];transport=udp;tag=5mv546FcrjZDQ
To: sip:[EMAIL PROTECTED]::2];tag=8ZymyrBNppUrp
Call-ID: 559effe2-13f4-122c-5687-00065b3a9659
CSeq: 105842223 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-9852M
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,  
NOTIFY, REFER, UPDATE, REGISTER, INFO
Supported: precondition, path, replaces
Allow-Events: talk
Proxy-Authenticate: Digest realm=[2001::2], nonce=c781992f- 
b5fa-49d1-a67c-a40b19e5b6b0, algorithm=MD5, qop=auth
Content-Length: 0

Debug log on FS1 show this:

2008-10-13 19:49:11 [DEBUG] sofia.c:2255 sofia_handle_sip_i_state()  
Channel sofia/transit-v6/555 entering state [calling]
2008-10-13 19:49:11 [DEBUG] sofia.c:200 sofia_event_callback() event  
[nua_r_invite] status [407][Proxy Authentication Required] session:  
sofia/transit-v6/555
2008-10-13 19:49:11 [DEBUG] sofia_reg.c:1134  
sofia_reg_handle_sip_r_challenge() Authenticating 'FreeSWITCH' with  
'Digest:[2001::2]:fs-home:secret'.
2008-10-13 19:49:11 [DEBUG] sofia.c:200 sofia_event_callback() event  
[nua_r_invite] status [904][Operation has no matching challenge ]  
session: sofia/transit-v6/555
2008-10-13 19:49:11 [DEBUG] sofia.c:200 sofia_event_callback() event  
[nua_i_state] status [904][Operation has no matching challenge ]  
session: sofia/transit-v6/555
2008-10-13 19:49:11 [DEBUG] sofia.c:2255 sofia_handle_sip_i_state()  
Channel sofia/transit-v6/555 entering state [terminated]
2008-10-13 19:49:11 [NOTICE] sofia.c:2735 sofia_handle_sip_i_state()  
Hangup sofia/transit-v6/555 [CS_CONSUME_MEDIA] [NORMAL_UNSPECIFIED]
2008-10-13 19:49:11 [DEBUG] switch_channel.c:1434  
switch_channel_perform_hangup() Send signal sofia/transit-v6/555 [KILL]
2008-10-13 19:49:11 [DEBUG] switch_core_session.c:727  
switch_core_session_signal_state_change() Send signal sofia/transit- 
v6/555 [BREAK]
2008-10-13 19:49:11 [DEBUG] switch_core_state_machine.c:444  
switch_core_session_run() (sofia/transit-v6/555) State CONSUME_MEDIA  
going to sleep
2008-10-13 19:49:11 [DEBUG] switch_core_state_machine.c:367  
switch_core_session_run() sofia/transit-v6/555 Running State Change  
CS_HANGUP
2008-10-13 19:49:11 [DEBUG] switch_core_state_machine.c:395  
switch_core_session_run() (sofia/transit-v6/555) State HANGUP

After which FS1 sends a 500 Internal Server Error to the IPv4 UA that  
sent the initial invite.

Does anyone know what the status [904][Operation has no matching  
challenge ] means ?

The invite does work when FS2 has auth-calls set to false on the  
incoming profile.

thanks,

Leon


___
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] unload of mod_xml_cdr doesn't work properly - cdr's get posted twice

2008-10-06 Thread Leon de Rooij
Hello all,

I've been trying out mod_xml_cdr, and found out that if I unload and  
again load the module, then cdr's get posted twice to the webserver  
(or more often, depending on the amount of times the xml_cdr module  
has been unloaded/loaded). (I'm sure I'm sending back 200/Ok's)

I only tested it when loading the module the first time from  
post_load_modules (through mod_xml_curl) the first time, and after  
that unloaded and loaded the mod_xml_cdr module from the cli.

When unloading, the cli also gives this message:

2008-10-06 14:20:05 [CONSOLE] switch_loadable_module.c:1131  
do_shutdown() mod_xml_cdr has no shutdown routine
2008-10-06 14:20:05 [CONSOLE] switch_loadable_module.c:1137  
do_shutdown() mod_xml_cdr unloaded

Does anyone have this same problem ?

(I'm rebuilding the latest SVN update now, but it takes a while before  
I can test it)

thanks  regards,

Leon

___
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] unload of mod_xml_cdr doesn't work properly - cdr's get posted twice

2008-10-06 Thread Leon de Rooij
Hi again,

I just verified that behaviour is the same in the latest SVN 9850.

regards,

Leon


On Oct 6, 2008, at 2:34 PM, Leon de Rooij wrote:

 Hello all,

 I've been trying out mod_xml_cdr, and found out that if I unload and
 again load the module, then cdr's get posted twice to the webserver
 (or more often, depending on the amount of times the xml_cdr module
 has been unloaded/loaded). (I'm sure I'm sending back 200/Ok's)

 I only tested it when loading the module the first time from
 post_load_modules (through mod_xml_curl) the first time, and after
 that unloaded and loaded the mod_xml_cdr module from the cli.

 When unloading, the cli also gives this message:

 2008-10-06 14:20:05 [CONSOLE] switch_loadable_module.c:1131
 do_shutdown() mod_xml_cdr has no shutdown routine
 2008-10-06 14:20:05 [CONSOLE] switch_loadable_module.c:1137
 do_shutdown() mod_xml_cdr unloaded

 Does anyone have this same problem ?

 (I'm rebuilding the latest SVN update now, but it takes a while before
 I can test it)

 thanks  regards,

 Leon

 ___
 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


[Freeswitch-users] store sofia profile_name and hostname in sip_registrations

2008-09-23 Thread Leon de Rooij
Hi all,

I'd like to keep track of on what switch and sofia profile_name a UA  
is registered. By default, FS automatically creates a table  
sip_registrations without these fields, so I started looking in  
mod_sofia to see whether the fields could be added, and to my  
surprise, I saw they should already be inserted (along with  
presence_hosts) !

sofia_reg.c in function sofia_reg_handle_register at line 774:

 sql = switch_mprintf(insert into sip_registrations 
 
(call_id 
,sip_user 
,sip_host 
,presence_hosts 
,contact 
,status 
,rpid 
,expires,user_agent,server_user,server_host,profile_name,hostname) 
values ('%q','%q', '%q','%q','%q','%q', '%q', %ld,  
'%q', '%q', '%q', '%q', '%q'),
call_id, to_user, reg_host, profile-presence_hosts ?  
profile-presence_hosts : reg_host,
contact_str, reg_desc, rpid, (long)  
switch_timestamp(NULL) + (long) exptime * 2,
agent, from_user, guess_ip4, profile-name,  
mod_sofia_globals.hostname);

(Is that the right spot ?)

So I tried just adding the fields as VARCHAR(255)'s to the table, and  
restarted the switch. It coredumped (for the first time btw), so I  
guessed the NULL values for the already present registrations were to  
blame, so I emptied the sip_registrations table and restarted. It  
started alright, but then gave errors on registrations this:

2008-09-23 17:57:26 [ERR] sofia_glue.c:2880  
sofia_glue_actually_execute_sql() ERR: [insert into sip_registrations  
values ('[EMAIL PROTECTED]',  
'00A0C5D4C03A-1','scarlet.nl','user sip: 
[EMAIL PROTECTED]:63747;fs_nat=yes','Registered(UDP- 
NAT)', 'unknown', 1222192646, 'dunno', '00A0C5D4C03A-1',  
'213.204.232.18')]
[STATE: HY000 CODE 1136 ERROR: [unixODBC][MySQL][ODBC 3.51 Driver] 
[mysqld-5.0.51a-3ubuntu5.1]Column count doesn't match value count at  
row 1
]

How can this be ? This query is very different from the one before...

Is it already possible to save the hostname and sip_registrations (and  
presence_hosts) somehow ?

thanks,

Leon de Rooij
[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


Re: [Freeswitch-users] store sofia profile_name and hostname in sip_registrations

2008-09-23 Thread Leon de Rooij
I rebuilt everything from latest SVN and now it works alright !
I still had an older version intalled, but was looking in newer  
source :)

kind regards,

Leon


On Sep 23, 2008, at 6:14 PM, Leon de Rooij wrote:

 Hi all,

 I'd like to keep track of on what switch and sofia profile_name a UA
 is registered. By default, FS automatically creates a table
 sip_registrations without these fields, so I started looking in
 mod_sofia to see whether the fields could be added, and to my
 surprise, I saw they should already be inserted (along with
 presence_hosts) !

 sofia_reg.c in function sofia_reg_handle_register at line 774:

 sql = switch_mprintf(insert into sip_registrations 

 (call_id
 ,sip_user
 ,sip_host
 ,presence_hosts
 ,contact
 ,status
 ,rpid
 ,expires,user_agent,server_user,server_host,profile_name,hostname) 
values ('%q','%q', '%q','%q','%q','%q', '%q', %ld,
 '%q', '%q', '%q', '%q', '%q'),
call_id, to_user, reg_host, profile-presence_hosts ?
 profile-presence_hosts : reg_host,
contact_str, reg_desc, rpid, (long)
 switch_timestamp(NULL) + (long) exptime * 2,
agent, from_user, guess_ip4, profile-name,
 mod_sofia_globals.hostname);

 (Is that the right spot ?)

 So I tried just adding the fields as VARCHAR(255)'s to the table, and
 restarted the switch. It coredumped (for the first time btw), so I
 guessed the NULL values for the already present registrations were to
 blame, so I emptied the sip_registrations table and restarted. It
 started alright, but then gave errors on registrations this:

 2008-09-23 17:57:26 [ERR] sofia_glue.c:2880
 sofia_glue_actually_execute_sql() ERR: [insert into sip_registrations
 values ('[EMAIL PROTECTED]',
 '00A0C5D4C03A-1','scarlet.nl','user sip:
 [EMAIL PROTECTED]:63747;fs_nat=yes','Registered(UDP-
 NAT)', 'unknown', 1222192646, 'dunno', '00A0C5D4C03A-1',
 '213.204.232.18')]
 [STATE: HY000 CODE 1136 ERROR: [unixODBC][MySQL][ODBC 3.51 Driver]
 [mysqld-5.0.51a-3ubuntu5.1]Column count doesn't match value count at
 row 1
 ]

 How can this be ? This query is very different from the one before...

 Is it already possible to save the hostname and sip_registrations (and
 presence_hosts) somehow ?

 thanks,

 Leon de Rooij
 [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


___
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] NAT traversal, SIP replies don't go to originating port

2008-07-22 Thread Leon de Rooij
Thanks a lot, that did the trick! (At least NDLB-force-rport=2)

Does this setting break something else that you know of ?

Thanks again,

Leon

On Jul 22, 2008, at 10:15 PM, Brian West wrote:

 Ah I see the type of device.  If you set NDBL-force-rport=2  param on
 the sofia profile it'll work.  But you really should make your device
 send rport which is the correct way of doing it.


 On Jul 22, 2008, at 2:15 PM, Leon de Rooij wrote:


 Now the reply is sent back to port 59173. That's the same as in the
 Contact as it's sent by the ATA. Does this mean STUN doesn't function
 properly ? I am using stun.fwdnet.net:3478 (ATA is a Zyxel P2002).

 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


___
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