[Freeswitch-users] Ringback, MOH or file playback while executing dial plan instructions

Bote Man bote_radio at botecomm.com
Thu Jan 14 21:51:40 MSK 2016

Better still, its modern version on Confluence:










FreeSWITCH Docs Janitor

 <http://freeswitch.org/confluence> 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 at gmail.com> wrote:



pre_answer is what you're looking for:

On 14 Jan 2016 18:02, "Emrah" <lists at 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.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160114/09b6e190/attachment-0001.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list