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:

Re: [Freeswitch-users] odbc FLAG_MULTI_STATMENTS

2009-11-27 Thread Leon de Rooij
...@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

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:

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

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

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

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

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:

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

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

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

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

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

2009-04-22 Thread Leon de Rooij
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

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

[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

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

2009-04-21 Thread Leon de Rooij
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

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

[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

[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

[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

Re: [Freeswitch-users] Proxy media hickups in audio

2009-03-19 Thread Leon de Rooij
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

Re: [Freeswitch-users] Proxy media hickups in audio

2009-03-19 Thread Leon de Rooij
.. 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

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

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

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

Re: [Freeswitch-users] mod_erlang_event compile problem

2009-02-21 Thread Leon de Rooij
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

[Freeswitch-users] mod_erlang_event compile problem

2009-02-20 Thread Leon de Rooij
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

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

Re: [Freeswitch-users] ipauth - directory

2009-02-18 Thread Leon de Rooij
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

Re: [Freeswitch-users] ipauth - directory

2009-02-16 Thread Leon de Rooij
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

[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

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

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

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

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

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

[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

[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

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

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

2008-09-23 Thread Leon de Rooij
] [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

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

Re: [Freeswitch-users] NAT traversal, SIP replies don't go to originating port

2008-07-22 Thread Leon de Rooij
. 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