Re: [Freeswitch-dev] Create applications in FreeSWITCH

2010-04-23 Thread Michael Collins
On Fri, Apr 23, 2010 at 11:54 AM, Vitalii Colosov wrote: > Thanks for the advice, Steven! > > I would like to thank all the responders, I managed to create an > application that uses core ODBC and is accessing MySQL table to get the > needed information. > This community is awesome! Welcome to the

Re: [Freeswitch-dev] Create applications in FreeSWITCH

2010-04-23 Thread Vitalii Colosov
Thanks for the advice, Steven! I would like to thank all the responders, I managed to create an application that uses core ODBC and is accessing MySQL table to get the needed information. It took less then 3 hours... Taking into consideration that I did not have any idea from the beginning, look

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] Create applications in FreeSWITCH

2010-04-23 Thread Michael S Collins
SWITCH_ADD_APP is indeed for dialplan apps. SWITCH_ADD_API is for adding API commands that are executed from the CLI -MC Sent from my iPhone On Apr 23, 2010, at 7:19 AM, Vitalii Colosov wrote: OK I think I found, need to use: SWITCH_ADD_APP Thank you very much!!! 2010/4/23 Vitalii Col

Re: [Freeswitch-dev] Create applications in FreeSWITCH

2010-04-23 Thread François Delawarde
And please share your cool applications! François. On Fri, 2010-04-23 at 08:29 -0400, Mathieu Rene wrote: > Hi > > Look at mod_skel in src/mod/applications > > Mathieu Rene > Avant-Garde Solutions Inc > Office: + 1 (514) 664-1044 x100 > Cell: +1 (514) 664-1044 x200 > mr...@avgs.ca > > > >

Re: [Freeswitch-dev] Create applications in FreeSWITCH

2010-04-23 Thread Vitalii Colosov
OK I think I found, need to use: SWITCH_ADD_APP Thank you very much!!! 2010/4/23 Vitalii Colosov > Thanks Mathieu, > This really helped! > I was able to get Hello World string during the module load :-) > > Moving to the next step, how can I define an application, let say > "skel_app" inside t

Re: [Freeswitch-dev] Create applications in FreeSWITCH

2010-04-23 Thread Vitalii Colosov
Thanks Mathieu, This really helped! I was able to get Hello World string during the module load :-) Moving to the next step, how can I define an application, let say "skel_app" inside this module? In order to be able to execute it from dialplan. I thought the following does this: SWITCH_ADD_API(a

Re: [Freeswitch-dev] Create applications in FreeSWITCH

2010-04-23 Thread Mathieu Rene
Hi Look at mod_skel in src/mod/applications Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mr...@avgs.ca On 2010-04-23, at 6:43 AM, Vitalii Colosov wrote: > Hi dear group, > > I would like to start writing plugins (applications) for FreeS

[Freeswitch-dev] Create applications in FreeSWITCH

2010-04-23 Thread Vitalii Colosov
Hi dear group, I would like to start writing plugins (applications) for FreeSWITCH that will be called from dialplan: Could you please provide me some steps following which I will be able to create "helloworld" C/C++ application that will be called from dialplan? Or some link if this is alread