[Freeswitch-users] Best way to run originate calls through dial plan

Michael Collins msc at freeswitch.org
Wed Dec 2 09:47:49 PST 2009

On Wed, Dec 2, 2009 at 6:47 AM, eaf <erandr-junk at usa.net> wrote:

> What would be the best way of making originate() run call through a dial
> plan
> (compared to directly going to a specified VOIP gateway). Would it be
> loopbacks, i.e. smth like this?
> /opt/freeswitch/bin/fs_cli -x "originate
> {ignore_early_media=true,origination_caller_id_number=xxxxxxxxxx}loopback/yyyyyyyyyy/default/XML
> '&javascript(/opt/freeswitch/conf/dialplan/public/webcall.js zzzzzzzzzz)'"
> The idea of this is that originate() sets up the first call, then
> webcall.js
> plays back a WAV, and bridges the first call with the second one (also set
> up via loopback).
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091202/5b63db3d/attachment-0002.html 

More information about the FreeSWITCH-users mailing list