[Freeswitch-users] MoH/IVR & Play_and_get_digits or Playback

Srigo Kanapathipillai ksrigo at gmail.com
Mon Apr 30 19:58:55 UTC 2018


Did you try session.answer(); before playing and get digits?


On 30 Apr 2018, 19:13, at 19:13, Ismael Blanco <ismael.blanco18 at gmail.com> wrote:
>I'm working on a scenario where inbound calls to a DID are bridged to a
>termination provider. At the same time, I'm looking to inject a whisper
>the b-leg so that agents can have knowledge on where the call is coming
>On a normal scenario where there is no IVR on MoH (hosted from the
>everything works as expected.
>However, when there is MoH or an IVR, the caller only hears ringing and
>the actual media from the above.
>I've tested a couple of different scenarios, each without success.
>Both using a nolocal:execute_on_answer lua script:
>scenario a) session:execute( "play_and_get_digits", "1 1 10 2000 ''
>"..playbackstring );
>scenario b) session:execute("set","playback_terminators=any")
>                   session:execute( "playback", playbackstring )
>Any ideas on how the audio can be maintained for the caller would be
>Thanks in advance,
>Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>Official FreeSWITCH Sites
>FreeSWITCH-users mailing list
>FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180430/958775a3/attachment.html>

More information about the FreeSWITCH-users mailing list