Hi,

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

Srigo
On 30 Apr 2018, at 19:13, Ismael Blanco <ismael.blanco18@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@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