There's a whole bunch of examples here:
http://wiki.freeswitch.org/wiki/Mod_commands#originate

The first arg rings first, and must be an endpoint, e.g. sofia/, user/.
Once they pick up, the second arg is called.

So originating to a local user or to a remote endpoint is nearly the same... especially if you can use the lcr/ endpoint.
Your leg B can be a brige, a conference &conference(conf_uuid-TEST_CON), or just hit the dialplan.


-Avi Marcus

On Thu, Mar 7, 2013 at 1:00 PM, Alex Lake <alex@digitalmail.com> wrote:
I was wondering where's a good place to find some examples of how, by
sending the right commands to the event_socket, I could have Freeswitch
establish callbacks for me.

Essentially there are a couple of different termination types - PSTN
(via a gateway) and internally registered SIP accounts

I would wish to be able to set up A->B (and maybe small conferences)
using these types of destination in any combination.

I've looked through the event_socket pages and the "originate" syntax,
but would like to put together something a little more "idiot-friendly"
so am looking around for precedents/tips...





_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.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