<br><br><div class="gmail_quote">On Wed, Dec 2, 2009 at 6:47 AM, eaf <span dir="ltr"><<a href="mailto:erandr-junk@usa.net">erandr-junk@usa.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
What would be the best way of making originate() run call through a dial plan<br>
(compared to directly going to a specified VOIP gateway). Would it be<br>
loopbacks, i.e. smth like this?<br>
<br>
/opt/freeswitch/bin/fs_cli -x "originate<br>
{ignore_early_media=true,origination_caller_id_number=xxxxxxxxxx}loopback/yyyyyyyyyy/default/XML<br>
'&javascript(/opt/freeswitch/conf/dialplan/public/webcall.js zzzzzzzzzz)'"<br>
<br>
The idea of this is that originate() sets up the first call, then webcall.js<br>
plays back a WAV, and bridges the first call with the second one (also set<br>
up via loopback).<br>
<br></blockquote><div><br>Could you describe the problem that you're trying to solve? That would make it easier to know if what you've come up with is the best solution. How many calls per second were you wanting to generate with this setup?<br>
-MC<br><br></div></div>