Twilio developer evangelist here.
Currently you cannot do a whisper with Studio. You could achieve this flow with just TwiML Bins though.
You would need two bins. One to read the message that you want in the whisper and the other two forward the call and point to the whisper.
So, the whisper bin would include TwiML using either <Say>
or <Play>
for the message, like this:
<Response>
<Say voice="alice">You are getting a call on the support line, the next voice you will hear is the customer.</Say>
</Response>
Then, the bin that responds to the incoming call needs to use <Dial>
with a <Number>
. The <Number>
url
attribute should point at the TwiML above for the whisper. Like:
<Response>
<Dial>
<Number url="TWIML_BIN_URL">+123456789</Number>
</Dial>
</Response>