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

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


Hi,

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

Srigo


On 30 Apr 2018, 19:13, at 19:13, Ismael Blanco <ismael.blanco18 at gmail.com> wrote:
>Hello,
>
>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
>to
>the b-leg so that agents can have knowledge on where the call is coming
>from.
>
>On a normal scenario where there is no IVR on MoH (hosted from the
>b-leg)
>everything works as expected.
>
>However, when there is MoH or an IVR, the caller only hears ringing and
>not
>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
>really
>appreciated.
>
>Thanks in advance,
>Ismael
>
>
>------------------------------------------------------------------------
>
>_________________________________________________________________________
>Professional FreeSWITCH Consulting Services:
>consulting at 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 at lists.freeswitch.org
>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>http://www.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