Re: [Freeswitch-dev] odbc连接过多的问题

2010-06-29 Thread Rupa Schomaker
Tony committed a new method that allows a hybrid mode for the connection pool. This is now used by mod_db (thus db backend for limit) and cidlookup. I'll convert lcr over to it too. This should help with connection counts for database handle usage that doesn't need thread affinity. 2010/6/29 An

Re: [Freeswitch-dev] Newbie question on switch_event_dup() and memory alloc/free in general

2010-06-28 Thread Rupa Schomaker
Yes, you must call destroy on the object if it has it. On Tue, Jun 29, 2010 at 12:19 AM, Paul Li wrote: > A lot of FreeSwitch core APIs, such as switch_event_dup(switch_event_t > **event, switch_event_t *todup), returns a pointer to an allocated > memory chunk, should the caller always releases

Re: [Freeswitch-dev] APP interface flags

2010-06-27 Thread Rupa Schomaker
use SAF_SUPPORT_NOMEDIA if your app doesn't care about the state of the media. Think things like set, lcr, hash, etc. They don't touch the media so we don't need to ensure there is media when running the app. SAF_ROUTING_EXEC allows one to specify that it is safe / possible to execute the app at

Re: [Freeswitch-dev] nolocal exports from dial plan

2010-06-22 Thread Rupa Schomaker
ful to know something was > exported for the B-leg. Can we escape the : ? > > Mathieu Rene > Avant-Garde Solutions Inc > Office: + 1 (514) 664-1044 x100 > Cell: +1 (514) 664-1044 x200 > mr...@avgs.ca > > > > > On 2010-06-22, at 7:27 PM, Rupa Schomaker wrote: &g

Re: [Freeswitch-dev] nolocal exports from dial plan

2010-06-22 Thread Rupa Schomaker
commit 2c830f84aa8e5a5b05c55c5f02ae0025c4986bd2 Author: Mathieu Rene Date: Wed Apr 7 15:02:00 2010 -0400 remove switch_channel_export_variable's nolocal argument, more confusing than anything else On Tue, Jun 22, 2010 at 5:26 PM, Dino Korah wrote: > Thanks Brian, > > Then by the looks,

Re: [Freeswitch-dev] uuid_bridge doesn't work

2010-06-22 Thread Rupa Schomaker
Why not set ringback to your pleasewait wav file and do a forked bridge to your extensions? On Tue, Jun 22, 2010 at 12:02 PM, Arturo Monroy wrote: > thank for your response, the version that I'm using is 1.0.head > (svn-17188:17782M), and no is something silly, I'm triying to created a > Lua's

Re: [Freeswitch-dev] mod_limit / db / hash changes - If you update action is required

2010-06-20 Thread Rupa Schomaker
with not backend specified, limit_hash, etc). You till need to edit modules.conf to enable building mod_db and mod_hash but your runtime config doesn't need to be updated until you are ready to do so. unloading mod_limit will turn off the older behavior. On Sat, Jun 19, 2010 at 11:1

[Freeswitch-dev] mod_lcr update - read if you use custom_sql

2010-06-19 Thread Rupa Schomaker
mod_lcr has been updated. commit log: mod_lcr update. MODAPP-340, MODAPP-355 arbitrary b-leg vars, limit support, lcr/ endpoint custom_sql now is field based rather than position based NOTE: custom_sql is incompat with prior version arbitrary b-leg vars enable integration wit

[Freeswitch-dev] mod_limit / db / hash changes - If you update action is required

2010-06-19 Thread Rupa Schomaker
If you've been paying attention to the conf call or irc you'll know this change was coming. I've committed a significant change to how limits are managed in FreeSWITCH. This change is NOT backwards compatible. It requires one to: 0) git pull (of course) 1) rerun ./configure to generate new Make

Re: [Freeswitch-dev] Robust Affordable Speech Recognition

2010-06-02 Thread Rupa Schomaker
Are we going to start seeing this announcement every week? On Wed, Jun 2, 2010 at 10:04 AM, Kashif Kahn wrote: > Dear All, > > All those who have wanted a speech recognition solution for Freeswitch but > found the software cost too expensive or the recognition accuracy > unsatisfactory, please c

Re: [Freeswitch-dev] Compiling modules

2010-05-11 Thread Rupa Schomaker
make mod_mymodule make mod_mymodule-install Those targets require you to have the module in modules.conf (I think). also look into using ccache -- that allows you to do a full FS build very fast since it caches all the intermediate compilation steps if the source hasn't changed. 2010/5/11 Juan A

Re: [Freeswitch-dev] Call for help - adding information to the wiki: SIP ALG's

2010-02-24 Thread Rupa Schomaker
Huh, ok, so you do have a 2wire gateway. cisco is the provider for the tv STBs I think (I just have inet, no tv). I disabled the sip alg on my 2wire just because it should be done in general, but didn't experience any real SIP problems that I know of. Did you experience any real breakage? On th

Re: [Freeswitch-dev] Help on switch_channel_expand_variables(switch_channel_t *channel, const char *in)

2010-01-20 Thread Rupa Schomaker
It expands channel vars in the string. On Wed, Jan 20, 2010 at 12:04 AM, Alex To wrote: > Hi, > > > > Could somebody shed some lights on how the mentioned method works ? What > does it do exactly ? My best guess is it takes in a channel, a string and > does something to the string (escape the s

Re: [Freeswitch-dev] force callee to answer

2009-10-19 Thread Rupa Schomaker
yes, look at the madboss stuff in the sample dialplan. On Mon, Oct 19, 2009 at 4:29 PM, vip killa wrote: > is there anyway to force the person being called to answer? for instance you > originate a call to a user, and the user automatically answers instead of > ringing that user. > >

Re: [Freeswitch-dev] upnp

2009-10-06 Thread Rupa Schomaker
Try resetting your router? I haven't seen any changes to upnp recently, so it should "Just work (tm)". On Tue, Oct 6, 2009 at 11:14 AM, vip killa wrote: > could someone tell me why freeswitch does not detect nat upnp? last week it > was detecting it, but now it won't. what could possibly cause t

Re: [Freeswitch-dev] get rid of mod_loopback for outbound calls

2009-07-28 Thread Rupa Schomaker
use mod_curl instead of mod_http On Tue, Jul 28, 2009 at 9:50 AM, Anthony Minessale < anthony.miness...@gmail.com> wrote: > you could try using a FS api call in your originate that uses mod_http to > hit your routing logic. > > The other way is just not elegant at all and there is no way I ca

Re: [Freeswitch-dev] ESL and the directory

2009-07-22 Thread Rupa Schomaker
we spoke a bit in irc on this 2009/7/22 João Mesquita > >1. Using ESL for that is the best approach? If not, what would be? (I >foresee the need of SSL on libesl soon ...) > > ya > >1. >2. Should I fetch root with xml_locate on ESL and parse whatever I am >interested on

Re: [Freeswitch-dev] mod_xml_odbc

2009-06-18 Thread Rupa Schomaker
On Thu, Jun 18, 2009 at 2:24 PM, Leon de Rooij wrote: > > About auto_increment id's, isn't that possible with stored procedures > with postgresql ? > Specifying them is different between databases. Getting the new value for later use is different between databases. For query only -- you shouldn

Re: [Freeswitch-dev] mod_xml_odbc

2009-06-18 Thread Rupa Schomaker
I haven't looked too closely at this, but had a couple of comments having done a bunch of the work on mod_lcr. 1) Using %q is fragile for custom sql. If the user puts too many in there mprintf is gonna have fits. You might want to look at using a (temp) event, setting vars on it, and then using

[Freeswitch-dev] setting profile->caller_id_name

2009-04-11 Thread Rupa Schomaker
One normally sets caller_id_name after the fact by setting effective_caller_id variable. This works great when bridging to legb but if I want applications like: show calls show channels conference list to show the updated caller_id_name I have to set the variable myself. Am I asking for trouble

Re: [Freeswitch-dev] mod_radius_cdr behavior and questions [first patch created]

2009-02-11 Thread Rupa Schomaker (lists)
On 2/10/2009 10:34 AM, Apostolos Pantsiopoulos wrote: > > P.S. If someone is eager to work with me in solving the possible > > memory leak please contact me directly or through the list. I am not > > a very good c coder and debugging c is somewhat new to me. So, any > > help would be welcomed. If