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

2010-06-29 Thread Steven Ayre
memory free is sometimes used, but often not needed because of memory pools. Sessions and channels have their own memory pool, anything creating memory for one of them will not need freeing as when the session ends the entire pool is destroyed. Similarly many modules have a pool which lasts for th

Re: [Freeswitch-dev] Merging A Law Audio data

2010-06-29 Thread Steven Ayre
See the source of src/mod/applications/mod_conference/mod_conference.c, function conference_thread_run It reads frames from each of the participants and manually combines them all to form a mux frame, which is then sent to all participants. This is done using the internal audio representation (pos

Re: [Freeswitch-dev] FreeSWITCH Architecture

2010-05-26 Thread Steven Ayre
Why not use the list then, and for any large documents use pastebin? There's IRC on Freenode too, which'll have the plenty of the developers online daily to discuss ideas. -Steve On 25 May 2010 23:25, Jan Berger wrote: > I can’t tomorrow – sorry + it’s a bit early for me yet J > > > -

Re: [Freeswitch-dev] Create applications in FreeSWITCH

2010-04-23 Thread Steven Ayre
If you're looking for help on writing new applications then of course everything under src/mod/applications/*/ provide good examples. There's also some documentation online of the APIs available to you within FreeSWITCH: http://docs.freeswitch.org/ In particular I recommend you look at the follow

Re: [Freeswitch-dev] G.729 Info On Wiki

2010-04-09 Thread Steven Ayre
No problem Michael, I was also going to rewrite the Mod_g729 page since it's out of date now, but it's locked to prevent editing at the moment. -Steve On 8 April 2010 19:19, Michael Collins wrote: > Hi folks, > > Just a quick FYI, there is g.729 license info now on the wiki: > http://wiki.fre

Re: [Freeswitch-dev] core odbc vs in-module mysql

2010-03-10 Thread Steven Ayre
ODBC can be enabled/disabled at compile time, but the choice of whether to use it is made at runtime in the configuration files - if you set a DSN for a ODBC database it will use ODBC (or show errors if ODBC is not compiled in), if you do not it will generally use SQLite. Regards, -Steve On 26 Fe