originate sofia/example/300@foo.com 8600

where 8600 is an extension in your default dialplan

originate sofia/example/1000@somewhere.com '&python(test.py myArg1 myArg2)'
where test.py is the python script you want to execute.

regards,
Anita



On Tue, Feb 28, 2012 at 1:05 PM, lakshmanan ganapathy <lakindia89@gmail.com> wrote:
Originate a call, and transfer the call to the dialplan.

Check the originate wiki for the syntax.


On Tue, Feb 28, 2012 at 9:16 AM, piyush singhai <singhai.piyush@gmail.com> wrote:
Hello,

I want to execute a dialplan from fs_cli. Is it possible??


--Piyush

_________________________________________________________________________
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



_________________________________________________________________________
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