<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
Are you triggering your originate from console? Perhaps you should
change a little bit how you do it. I think if you want really to
originate a call simultaneously to two separate phone, you should
use some sort of programming tools (php, lua, java, javascript, c,
c++, etc) and even use other Freeswitch tools (esl, mod_lua,
mod_httapi, etc).<br>
<br>
I will try to explain a little more by an example. You could use
php, php in linux have a lib to manage multiple task
simultaneously; so with php you could fire several originate
against FS at the same time.<br>
<br>
On 9/9/2012 10:40 PM, Zaid Tillma wrote:<br>
</div>
<blockquote cite="mid:20120910031044.GE15903@ztillma.com"
type="cite">
<pre wrap="">My goal is to have two phone announce a recording (in a wav file). I have accomplished goal in the following manner:
I have an extension configured like this:
<extension name="wavs">
<condition field="destination_number" expression="^2009$">
<action application="playback" data="/path/to/your.wav"/>
</condition>
</extension>
When you call, you get an audio playback.
I am trying to originate a call simultaneously to two separate phone (i.e want to two phone to play audio) at the same time, and I am doing it like this (and it works):
/usr/local/freeswitch/bin/fs_cli -x 'originate {ignore_early_media=true,sip_auto_answer=true}user/1000 2009'
/usr/local/freeswitch/bin/fs_cli -x 'originate {ignore_early_media=true,sip_auto_answer=true}user/1001 2009'
There's got to be a better way to do this way without having two seperate originates.. I did try the Enterprise originate, but only one phone answered... Not sure if there was a mistake in my Enterprise originate implementation.
Please let me know if there is a more elegant way to do this..
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
-----
No virus found in this message.
Checked by AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a>
Version: 2012.0.2197 / Virus Database: 2437/5254 - Release Date: 09/07/12
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Atentamente,
<br>
<b>Dario García</b>
<br>
Consultor.
<br>
<br>
CCCT, Nivel C2, Sector Yarey, Mz, <br>
Ofc. MZ03a. <br>
Caracas-Venezuela.
<br>
Teléfono: +58 212 9081842
<br>
Cel: +58 412 2221515
<br>
<a class="moz-txt-link-abbreviated" href="mailto:dgarcia@anew.com.ve">dgarcia@anew.com.ve</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.anew.com.ve">http://www.anew.com.ve</a></div>
</body>
</html>