OK I think I found, need to use: <span class="Apple-style-span" style="font-family: monospace; font-size: medium; ">SWITCH_ADD_APP</span><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="font-size: medium;"><br>
</span></font></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="font-size: medium;">Thank you very much!!!</span></font></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="font-size: medium;"><br>
</span></font><br><div class="gmail_quote">2010/4/23 Vitalii Colosov <span dir="ltr"><<a href="mailto:vetali100@gmail.com">vetali100@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks Mathieu,<div>This really helped! </div><div>I was able to get Hello World string during the module load :-) </div><div><br></div><div>Moving to the next step, how can I define an application, let say "skel_app" inside this module?</div>
<div>In order to be able to execute it from dialplan.</div><div><br></div><div>I thought the following does this: SWITCH_ADD_API(api_interface, "skel", "Skel API", skel_function, "syntax");</div>
<div>But when I executed "skel" from dialplan, I got error: "Invalid application skel".</div><div><br></div><div>Could you hint me please?</div><div class="im"><div><br></div><div>Thank you very much!</div>
<div><br></div>
<div>Vitalie</div><div><br></div></div><div><br><br><div class="gmail_quote">2010/4/23 Mathieu Rene <span dir="ltr"><<a href="mailto:mrene_lists@avgs.ca" target="_blank">mrene_lists@avgs.ca</a>></span><div><div></div>
<div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
Look at mod_skel in src/mod/applications<br>
<br>
Mathieu Rene<br>
Avant-Garde Solutions Inc<br>
Office: + 1 (514) 664-1044 x100<br>
Cell: +1 (514) 664-1044 x200<br>
<a href="mailto:mrene@avgs.ca" target="_blank">mrene@avgs.ca</a><br>
<div><div></div><div><br>
<br>
<br>
<br>
On 2010-04-23, at 6:43 AM, Vitalii Colosov wrote:<br>
<br>
> Hi dear group,<br>
><br>
> I would like to start writing plugins (applications) for FreeSWITCH that will be called from dialplan:<br>
><br>
> <action application="my_cool_application"...><br>
><br>
> 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?<br>
><br>
> Or some link if this is already described somewhere... I tried to google but did not find that.<br>
><br>
> Then, if I will create something useful, I will contribute it to the community with pleasure... :-)<br>
><br>
> Thank you very much!<br>
><br>
> Vitalie<br>
</div></div>> _______________________________________________<br>
> FreeSWITCH-dev mailing list<br>
> <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>