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