- Joined
- May 17, 2023
- Messages
- 10
- Reaction score
- 6
Hi,
Since custom DTMF IVR are not available in V20 (sad), I want to use the 3CX sample Call Processing Script for PIN with a custom promp instead of Text to Speech.
I've change the line :
with :
and the right prompt is played but in the same time the background music is played too.
I've tried to delete/change several part of the line where "SetBackgroundAudio" is mentioned but i can't get it right.
How to do that properly ?
Since custom DTMF IVR are not available in V20 (sad), I want to use the 3CX sample Call Processing Script for PIN with a custom promp instead of Text to Speech.
I've change the line :
C#:
await MyCall.PlayPrompt(null, new [] {"PLSENTER", "PIN", "THENPRESPND"}, PlayPromptOptions.ResetBufferAtStart|PlayPromptOptions.CancelPlaybackAtFirstChar);
C#:
await MyCall.PlayPrompt(null, new [] {"/pathToProject/RequestPIN.wav"}, PlayPromptOptions.ResetBufferAtStart|PlayPromptOptions.CancelPlaybackAtFirstChar);
I've tried to delete/change several part of the line where "SetBackgroundAudio" is mentioned but i can't get it right.
How to do that properly ?