<div dir="ltr">Thanks Moy!<div><br></div><div>Guillermo</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 5:16 AM, Moises Silva <span dir="ltr">&lt;<a href="mailto:moises.silva@gmail.com" target="_blank">moises.silva@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Guillermo,<div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Sep 22, 2014 at 12:55 PM, Guillermo Ruiz Camauer <span dir="ltr">&lt;<a href="mailto:grcamauer@gmail.com" target="_blank">grcamauer@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>Andrew,<br><br></div>Thanks for the response.  I am wondering if there are any examples using C/C++.<br></div></div></blockquote><div><br></div></span><div>You can have a look at the fscomm/ directory in FreeSWITCH git repo, then peak at fshost.cpp (<a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/fscomm/fshost.cpp" target="_blank">https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/fscomm/fshost.cpp</a>)</div><div><br></div><div>Pay particular attention to the FSHost::run() method calling the following functions:</div><div><br></div><div>switch_core_init()</div><div>switch_core_init_and_modload()</div><div>switch_core_runtime_loop()</div><div><br></div><div>That&#39;s the gist of it to get started. In my opinion most of the time is better to launch a lean freeswitch process (with only the modules you need in your app) in the background and control it using ESL</div><div><br></div><div>Cheers</div><div><br></div><div>Moy</div><div><br></div><div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:&#39;Courier New&#39;;color:rgb(31,73,125)">Moises Silva<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:&#39;Courier New&#39;;color:rgb(31,73,125)">Manager, Software Engineering<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:&#39;Courier New&#39;;color:rgb(31,73,125)"><u></u> <u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:&#39;Courier New&#39;;color:rgb(31,73,125)">Sangoma Technologies<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:&#39;Courier New&#39;;color:rgb(31,73,125)">100 Renfrew Drive, Suite 100, Markham, Ontario, Canada L3R 9R6<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:&#39;Courier New&#39;;color:rgb(31,73,125)">T <a value="+19054741990">+1 905 474 1990</a> x128 | toll-free in North America <a value="+18003882475">+1 800 388-2475</a> | F <a value="+19054749223">+1 905 474 9223</a><u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:&#39;Courier New&#39;;color:rgb(31,73,125)"><a href="http://www.sangoma.com/" target="_blank">www.sangoma.com</a></span></p></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Guillermo Ruiz Camauer<br></div>
</div>