用twilio连接电话

时间:2015-07-28 01:25:28

标签: twilio

这更像是一般的任务,但是当使用twiML中的Twilio拨号将呼叫者连接到另一个号码时,你可以在连接后断开Twilio,还是只是保持连接并增加通话时间?

1 个答案:

答案 0 :(得分:0)

Twilio developer evangelist here.

It sounds like you are asking whether, when you direct a phone call to a TwiML app with something like this:

<Response>
  <Dial><Number>OTHER_PHONE_NUMBER</Dial>
</Response>

that you want to disconnect from Twilio once the call is connected to the number?

If that's the case, then the answer is no, I'm afraid. Once a call comes into Twilio, it is being controlled and routed by the Twilio system and you will incur costs by the minute. Whilst this call continues to live you will still be able to affect it via the REST API using its call SID.

Let me know if this helps or if you have any other questions.