Better still, its modern version on Confluence:

 

https://freeswitch.org/confluence/display/FREESWITCH/mod_local_stream#mod_local_stream-ExecutionParameters

 

J

 

 

---

Bote

 

FreeSWITCH Docs Janitor

http://freeswitch.org/confluence

 

 

 

 

From: Mario G
Sent: Thursday, 14 January, 2016 13:37
Subject: Re: [Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions

 

In case you want to customize the ringback for each caller, see the link below (Anthony did a great job making timeout work as needed). I use it for every caller. I have a LUA program that dynamically builds the sound stream and adjusts the length of the music. https://wiki.freeswitch.org/wiki/Mod_local_stream#Execution_Parameters

Mario G

 

On Jan 14, 2016, at 9:16 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:

 

Emrah,

pre_answer is what you're looking for:
https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer

On 14 Jan 2016 18:02, "Emrah" <lists@kavun.ch> wrote:

Yes of course. I’m not even trying to play a sound file. A ringback would be fine for what I’m trying to do.
Let me rephrase. FS isn’t generating any ringback unless I execute a bridge somewhere. This isn’t useful in my case. I’m trying to have the caller hear something while FS keeps executing the dial plan.

Something like:
<action application=“answer” />
<action application=“playback” data=“please-wait” />
<action application=“ring_ready” />
<action application=“sleep” data=“50000” />
<action application=“hangup” />

Hope this helps you understand my issue a little better.


E