Fernando, Take a look at the socket interface. http://wiki.freeswitch.org/wiki/Event_Socket It is as close to AMI as you can get, just better ;) Here is a sample perl script that I found somewhere. #!/usr/bin/perl -w # This autodials via the manager API on an Asterisk box. # VERY useful for fast and easy scanning with asterisk! -natas use RPC::XML::Client; use Data::Dumper; use Net::Telnet; use warnings; use FreeSWITCH::Client; require ESL; my $command = shift; my $args = join(" ", @ARGV); my $con = new ESL::ESLconnection("127.0.0.1", "8021", "ClueCon"); for ($Loop=0; $Loop < 1; $Loop++) { my $e = $con->bgapi($command, $args); #print $e->getBody(); select(undef,undef,undef,0.1); # sleep 250ms # select(undef,undef,undef,0.25); # sleep 1/4 second # sleep (1.5); # They hung up. Move on. print "Placing next call $Loop\n"; } -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Fernando Berretta Sent: Tuesday, October 12, 2010 9:38 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Originate Calls From an external program Hi, I'm newbie in FreeSwitch. Is there some way to instruct FreeSwitch from an external program in order to originate calls to certain numbers an then bridge the calls etc. ? I'm looking fore something similar to Asterisk AMI where we we use the action Originate to achieve this Is there any other way to do that in FreeSwitch Any help will be appreciated. Best Regards, Fernando _______________________________________________ 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 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.862 / Virus Database: 271.1.1/3189 - Release Date: 10/12/10 01:34:00 No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 9.0.862 / Virus Database: 271.1.1/3189 - Release Date: 10/12/10 01:34:00 This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are the intended recipient, you must treat the information in confidence and in accordance with all laws related to the privacy and confidentiality of such information. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies of this email, including all attachments. Intervoice, Inc. 17811 Waterview Parkway Dallas, TX 75252 USA Intervoice Limited, Registered in England and Wales with number 2601740, 50 Park Road, Gatley, Cheshire, SK8 4HZ. VAT Number: 560421375 Intervoice GmbH, Hagenauer Stra?e 55, 65203 Wiesbaden, Sitz der Gesellschaft: Wiesbaden, Handelsregister: HRB 8186 (Amtsgericht Wiesbaden), Gesch?ftsf?hrer: Wayne Barclay, Steffen Selbmann