<br><br><div class="gmail_quote">On Wed, May 11, 2011 at 7:51 AM, Fernando Testa <span dir="ltr">&lt;<a href="mailto:testa@voicetechnology.com.br">testa@voicetechnology.com.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
When you api:execute(&#39;conference&#39;...) the function blocks. Then you have to stream from outside, possibly using an inbound socket application. <div>Maybe alternatively you can call <a href="http://wiki.freeswitch.org/wiki/Mod_commands#sched_api" target="_blank">http://wiki.freeswitch.org/wiki/Mod_commands#sched_api</a> just before put someone on the conference.<br>
</div></blockquote><div>Try this:</div><div><meta charset="utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
api = freeswitch.API()</p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">confplay = api:execute(&quot;bgapi&quot;, &quot;conference &quot; .. argv[1] .. &quot; play /usr/local/freeswitch/sounds/tones/norstar.wav &quot;)</p>
</span></div><div><br></div><div>Let us know if that works...</div><div><br></div><div>-MC</div></div>