简体   繁体   English

Twilio-对于语音和C#,可以按顺序调用

[英]Twilio - For voice and C# is there way to call in sequence

For the voice path and C#....Is there a way for twilio to make the calls in sequence. 对于语音路径和C#.... twilio是否可以按顺序进行呼叫。 For example, I have three phone numbers that are returned from my web services. 例如,我有三个从Web服务返回的电话号码。 I want twilio to 我想要twilio

  • Call phone number 1, let it ring for about 30 seconds and if caller # 1 doesn't pick up, then 拨打电话号码1,让它响约30秒,如果1号呼叫者未接听,则
  • Call phone number 2, let it ring for about 30 seconds and if caller #2 doesn't pick up, then 拨打2号电话,让它响约30秒,如果2号呼叫者未接听,则
  • Call phone number 3, let it ring for about 30 seconds and if caller #3 doesn't pick up, provide a simple message saying please retry dialing your intended number again. 拨打3号电话,让它响约30秒钟,如果3号呼叫者没有接听,请提供一条简单的消息,请再次尝试拨打您想要的号码。

You should be able to easily. 您应该能够轻松实现。 The dial verb calls a number and gives you several options such as giving it an action url to post to after the call is completed (or not answered) and you can handle it from there. 拨号动词会呼叫一个号码,并提供几个选项,例如给它提供一个操作URL,以便在呼叫完成(或未接听)后发布到该URL,您可以从那里进行处理。 Or you could simply have the dial verb call the first number and specify a 30 second timeout and NO action url which from the dial docs, twilio will fall through to the next verb which could be another dial verb to the next etc until after the 3rd number in which you could then play (or say) a message. 或者,您可以简单地让拨号动词呼叫第一个数字,并指定30秒超时和NO动作网址,这在拨号文件中,twilio会掉到下一个动词,这可能是下一个动词的另一个拨号动词,直到第三个之后您可以用来播放(或说出)信息的号码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM