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). Thanks! -- View this message in context: http://old.nabble.com/Best-way-to-run-originate-calls-through-dial-plan-tp26610094p26610094.html Sent from the Freeswitch-users mailing list archive at Nabble.com. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org