[Freeswitch-dev] Create applications in FreeSWITCH

Michael S Collins msc at freeswitch.org
Fri Apr 23 07:58:11 PDT 2010


> 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 <vetali100 at gmail.com>  
wrote:

> OK I think I found, need to use: SWITCH_ADD_APP
>
> Thank you very much!!!
>
>
> 2010/4/23 Vitalii Colosov <vetali100 at gmail.com>
> 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(api_interface,  
> "skel", "Skel API", skel_function, "syntax");
> But when I executed "skel" from dialplan, I got error: "Invalid  
> application skel".
>
> Could you hint me please?
>
> Thank you very much!
>
> Vitalie
>
>
>
> 2010/4/23 Mathieu Rene <mrene_lists at avgs.ca>
>
> 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
> mrene at 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  
> FreeSWITCH that will be called from dialplan:
> >
> > <action application="my_cool_application"...>
> >
> > 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 already described somewhere... I tried to  
> google but did not find that.
> >
> > Then, if I will create something useful, I will contribute it to  
> the community with pleasure... :-)
> >
> > Thank you very much!
> >
> > Vitalie
> > _______________________________________________
> > FreeSWITCH-dev mailing list
> > FreeSWITCH-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
> dev
> > http://www.freeswitch.org
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100423/9859262d/attachment.html 


More information about the FreeSWITCH-dev mailing list