Twilio 外出呼叫在循环中被触发 [英] Twilio out going call is getting triggered in loop

查看:26
本文介绍了Twilio 外出呼叫在循环中被触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 TWI ML 应用程序从我的 Twilio 客户端呼叫我的客户手机.但我观察到,如果客户断开呼叫,它会播放来自该运营商的忙音,之后 Twilio 不会断开该呼叫.呼叫 也是第二次发起.在第二个呼叫中,它在中间断开连接.这是因为我为拨号属性设置了超时吗?我将其设置为 15 秒

I am Calling my customer mobile phone from my Twilio client using TWI ML app. But I observed that if the customer disconnects the call it is playing busy tone from that carrier and after that Twilio is not disconnecting that call. Call Is getting initiated for the second time also. In the second call it is getting disconnected in the middle. Is this because of Timeout I set for dial attribute? I set it to 15sec

 var response = new VoiceResponse();
            var dial = new Dial(callerId: twilioNumber, answerOnBridge: true);
            if (phoneNumber != null)
            {
                dial.Timeout = 15;
                dial.Number(phoneNumber);
                dial.Record=RecordEnum.RecordFromAnswer;
            }
            response.Append(dial);
            return Content(response.ToString(), "application/xml");

推荐答案

Twilio 开发人员布道者在这里.

Twilio developer evangelist here.

如果您发现在收到忙音时呼叫没有结束或重拨客户,这可能是您应该联系 Twilio 支持人员的事情.除非您的调用触发了更多代码.与他们联系并分享一些发生这种情况的呼叫 Sid.

If you are finding that the call is not ending or redialling the customer when you get a busy signal, that might be something you should take up with Twilio support. Unless there is further code that is getting triggered by your call. Get in contact with them and share some Call Sids where that happened.

这篇关于Twilio 外出呼叫在循环中被触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆