On Jan 14, 2016, at 8:41 PM, Emrah <lists@kavun.ch> wrote:Pre-answer isn’t what I’m looking for, but I appreciate the input.The channel is pre-answered already. It’s ready to play early media. My question is how do I play some ringback or MOH while I go at executing next dial plan instructions?For example I could do a gentones and loop it indefinitely with a $${us-ring}. But then FS would wait for gentones to exit before proceeding to the next dial plan instruction.Setting instant_rinback or executing the ringback app doesn’t help.And yes, my ringback and transfer_ringback variables are set.Thanks! .On Jan 14, 2016, at 6:16 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:Emrah,
pre_answer is what you're looking for:
https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answerOn 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
> On Jan 14, 2016, at 4:26 PM, Michael Jerris <mike@jerris.com> wrote:
>
> use whatever sound file you want as your ringback?
>
>> On Jan 14, 2016, at 6:42 AM, Emrah <lists@kavun.ch> wrote:
>>
>> Hi all,
>> Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions?
>> Basically, I’ve gone around trying instant_rinback=true, ring_ready, gentones, etc… No luck.
>> If I bridge my channel to loopback/wait, sure enough it works.
>> What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don’t mind if the channel is answered.
>
>
> _________________________________________________________________________
> 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
_________________________________________________________________________
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
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