If you have the FS Cookbook then check out chapter 4, page 81. If you don't have the FS Cookbook then *SHAME* on you! :D

Tip: you can download the examples from both books at the Packt Publishing website. The only caveat as far as I can tell is that you need to create a login account.

Grab the examples for the Cookbook and look at chapter 4. The recipe is called "Launching a call with an inbound event socket connect" and it's written in - you guessed it - Perl. :)

-MC

On Mon, Jan 21, 2013 at 7:19 AM, Matthias Cramer <matthias.cramer@iway.ch> wrote:
Hi All

I try to make a Perl Script which calls a certain external Phone number.
It then should wait until someone picks up and play a sound file
The user on the other end then needs to confirm the call with a pin
Then another sound file should be played and the the call should be terminated.

I tried several ways with ESL and originate. But I allays end up with a call I have no
control over. I can read DTMF but can not hang up the call or play a second file.

I think I am going in to a wrong direction.

Any hints ?

Regards

  Matthias

--
Matthias Cramer / mc322-ripe   Senior Network & Security Engineer
iway AG                        Phone +41 43 500 1111
Badenerstrasse 569             Fax   +41 44 271 3535
CH-8048 Zürich                 http://www.iway.ch/
GnuPG 1024D/2D208250 = DBC6 65B6 7083 1029 781E  3959 B62F DF1C 2D20 8250


_________________________________________________________________________
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




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org