I’m really starting to feel like a pain in the rear-end. But this isn’t what I’m looking for. I’m familiar with how marvelous local_stream is, and all the stuff we can do in terms of customizing a ringback. What I’m trying to do is generate a fake ringback without invoking a bridge action. I want to launch the ringback and have FS move on to the next dial plan instruction. The next dial plan instruction could be for instance a sleep for 5000 seconds, followed by a hangup. This should in effect play the fake ringback for 5 seconds and then proceed to hang up the call. How do you do that? ring_ready only sends a 180 to an unanswered channel. At least in my case it didn’t start playing whatever I had in my ringback or transfer_ringback variables in a situation where the channel was in answered mode or early media mode. Thanks!
On Jan 14, 2016, at 7:51 PM, Bote Man <bote_radio@botecomm.com> wrote:
Better still, its modern version on Confluence:
https://freeswitch.org/confluence/display/FREESWITCH/mod_local_stream#mod_lo... <https://freeswitch.org/confluence/display/FREESWITCH/mod_local_stream#mod_local_stream-ExecutionParameters>
J
--- Bote
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 <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 <mailto:ssinyagin@gmail.com>> wrote:
Emrah, pre_answer is what you're looking for: https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer <https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer> On 14 Jan 2016 18:02, "Emrah" <lists@kavun.ch <mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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