Have you tried using the event socket library http://wiki.freeswitch.org/wiki/Esl

--- On Wed, 25/8/10, Tihomir Culjaga <tculjaga@gmail.com> wrote:

From: Tihomir Culjaga <tculjaga@gmail.com>
Subject: Re: [Freeswitch-users] long DTMF
To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org>
Date: Wednesday, 25 August, 2010, 16:46



On Tue, Aug 24, 2010 at 9:05 PM, Tihomir Culjaga <tculjaga@gmail.com> wrote:


On Tue, Aug 24, 2010 at 8:41 PM, Jeff Lenk <jeff@jefflenk.com> wrote:

Move the playback inside the script

not really feasible, all the logic is already done in DP... Im missing just this feature.

what is the bgapi equivalent of:

<action application="set" data="api_result=${lua(script.lua)}"/>




anyone who can know this ?

how to run a lua script in background ?

-----Inline Attachment Follows-----