<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div><span>Michael, thank you very much.</span></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:Courier New, courier, monaco, monospace, sans-serif;background-color:transparent;font-style:normal;">It worked like a charm.</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:Courier New, courier, monaco, monospace, sans-serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:Courier New, courier, monaco, monospace, sans-serif;background-color:transparent;font-style:normal;">Regards,</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:Courier New, courier, monaco, monospace, sans-serif;background-color:transparent;font-style:normal;">Leo<br><span></span></div><br><div>&nbsp;</div><div><span
 style="font-weight:bold;">Leonardo Nogueira de Sá Pereira</span><br>Tel.: +55 19 3307-5589<br>Cel.: +55 19 9122-5943<br>Skype: leonardo_pereira_77<br></div><div><br></div>  <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Michael Collins &lt;msc@freeswitch.org&gt;<br> <b><span style="font-weight: bold;">To:</span></b> FreeSWITCH Users Help &lt;freeswitch-users@lists.freeswitch.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, February 18, 2013 4:08 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] Creating a conference for an incoming call via socket interface<br> </font> </div> <br>
<div id="yiv1220528554">You only have to have a conference profile preconfigured. Other than that you can do basically what you have outlined below, except with uuid_transfer:<br><br>bgapi uuid_transfer &lt;uuid&gt; conference:confName@default inline<br>
<br>Try it out and remember that the <a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org/wiki/Reporting_Bugs#Standard_Disclaimer">standard disclaimer</a> applies, so tinker a bit before reporting back that it doesn't work. ;)<br><br>
-MC<br><br><div class="yiv1220528554gmail_quote">On Mon, Feb 18, 2013 at 10:53 AM, <a rel="nofollow" ymailto="mailto:lndspereira-fs@yahoo.com" target="_blank" href="mailto:lndspereira-fs@yahoo.com">lndspereira-fs@yahoo.com</a> <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:lndspereira-fs@yahoo.com" target="_blank" href="mailto:lndspereira-fs@yahoo.com">lndspereira-fs@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="yiv1220528554gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:10pt;font-family:Courier New, courier, monaco, monospace, sans-serif;"><div>Ok, it should work, but in this case, I would need to have the "conference resources" pre-configured in Freeswitch. It does not solve my problem :(<br>
</div><div><br></div><div>I would like to be able to create a conference resource from the application on the fly. <br></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:Courier New, courier, monaco, monospace, sans-serif;">
I'm trying to take the same approach that I use with outbound calling conferences:</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:Courier New, courier, monaco, monospace, sans-serif;">
- bgapi originate 4001234321 &amp;conference(confName@default)</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:Courier New, courier, monaco, monospace, sans-serif;">- bgapi conference confName dial 4001234321<br>
<span></span></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:Courier New, courier, monaco, monospace, sans-serif;"><br></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:Courier New, courier, monaco, monospace, sans-serif;">
I'm looking for something like:</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:Courier New, courier, monaco, monospace, sans-serif;">- bgapi conference confName@default create UUID (if this is the first conference member)<br>
</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:Courier New, courier, monaco, monospace, sans-serif;">- bgapi conference confName@default add UUID (if conference already exists)</div>
<br>Is there any API/tricky to help me on that? <br><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:Courier New, courier, monaco, monospace, sans-serif;"><br><span></span></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:Courier New, courier, monaco, monospace, sans-serif;">
<span></span></div><div>&nbsp;</div><div><span style="font-weight:bold;">Leonardo Nogueira de Sá Pereira</span><br>Tel.: <a href="" rel="nofollow">+55 19 3307-5589</a><br>Cel.: <a href="" rel="nofollow">+55 19 9122-5943</a><br>
Skype: leonardo_pereira_77<br></div><div><br></div>  <div style="font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr">
 <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Michael Collins &lt;<a rel="nofollow" ymailto="mailto:msc@freeswitch.org" target="_blank" href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;<br> <b><span style="font-weight:bold;">To:</span></b> FreeSWITCH Users Help &lt;<a rel="nofollow" ymailto="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt; <br>
 <b><span style="font-weight:bold;">Sent:</span></b> Monday, February 18, 2013 2:58 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Freeswitch-users] Creating a conference for an incoming call via socket interface<br>
 </font> </div> <br>
<div>Yes there is! If you are listening for a particular event that tells you that you want to send a particular call to a conference then you just need to capture that call's uuid. From there you can either uuid_transfer that call to an extension in your XML dialplan that handles the conference. (examples of these are in the example configs.)<br>

<br>Let us know how it goes.<br><br>-MC<br><br><div>On Mon, Feb 18, 2013 at 9:26 AM, <a rel="nofollow" ymailto="mailto:lndspereira-fs@yahoo.com" target="_blank" href="mailto:lndspereira-fs@yahoo.com">lndspereira-fs@yahoo.com</a> <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:lndspereira-fs@yahoo.com" target="_blank" href="mailto:lndspereira-fs@yahoo.com">lndspereira-fs@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:10pt;font-family:Courier New, courier, monaco, monospace, sans-serif;">Hey all.<br>I configured the FS to answer any incoming call and I have an application that keeps listen to Freeswitch events.<br>

I would like know if there is a way to create a conference and add an incoming call to this conference using the FS socket interface.<br><br>Thanks in advance for your help.<br><br>Leo<br><br><div><span><br></span></div>
<div>
&nbsp;</div><div><span style="font-weight:bold;">Leonardo Nogueira de Sá Pereira</span><br>Tel.: <a href="" rel="nofollow">+55 19 3307-5589</a><br>Cel.: <a href="" rel="nofollow">+55 19 9122-5943</a><br>
Skype: leonardo_pereira_77<br></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
http://www.freeswitchsolutions.com<br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
http://www.cudatel.com<br>
<br>
Official FreeSWITCH Sites<br>
http://www.freeswitch.org<br>
http://wiki.freeswitch.org<br>
http://www.cluecon.com<br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.FreeSWITCH.org</a><br><a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.ClueCon.com</a><br>

http://www.OSTAG.org<br><br>
</div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a rel="nofollow" target="_blank" href="http://www.cudatel.com/">http://www.cudatel.com</a><br>
<br>Official FreeSWITCH Sites<br><a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br>
<br>FreeSWITCH-users mailing list<br><a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
<br><br> </div> </div>  </div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" target="_blank" href="http://www.cudatel.com/">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.FreeSWITCH.org</a><br><a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.ClueCon.com</a><br>
<a rel="nofollow" target="_blank" href="http://www.ostag.org/">http://www.OSTAG.org</a><br><br>
</div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a ymailto="mailto:consulting@freeswitch.org" 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>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.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://wiki.freeswitch.org/" target="_blank">http://wiki.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 ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org"
 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><br><br> </div> </div>  </div></body></html>