- Joined
- May 20, 2025
- Messages
- 10
- Reaction score
- 10
Hello,
I need to create a script similar to https://www.3cx.com/blog/call-flow-scripts/call-routing-did
The issue I’m facing is the following: when I check the number and transfer the call to the extension, no audio is played until the extension answers.
Instead, I would like the file USProgresstone.wav to be played during this phase.
I tried replacing the code RouteToAsync(...) with ReplaceWithAsync(...), but in that case, onhold.wav is played, which is not correct.
The desired behavior is:
I need to create a script similar to https://www.3cx.com/blog/call-flow-scripts/call-routing-did
The issue I’m facing is the following: when I check the number and transfer the call to the extension, no audio is played until the extension answers.
Instead, I would like the file USProgresstone.wav to be played during this phase.
I tried replacing the code RouteToAsync(...) with ReplaceWithAsync(...), but in that case, onhold.wav is played, which is not correct.
The desired behavior is:
- USProgresstone.wav should be played when the call comes from outside and the extension has not yet answered.
- onhold.wav should only be played when a direct call to an extension is actually put on hold.
- If the call comes from outside and it’s during office hours, it should be transferred directly to the extension.
- If it’s outside office hours, it should go through an IVR.
- Internal calls must always be available.