[Freeswitch-users] MoH/IVR & Play_and_get_digits or Playback
Ismael Blanco
ismael.blanco18 at gmail.com
Wed Apr 25 19:09:50 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180425/8ea16d72/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list