我读了下面的,它是成功的
我继续阅读有关无振铃语音邮件的内容,它是基于呼叫一个号码,然后立即从同一号码再次呼叫该号码,然后放弃初始呼叫,从而将第二个呼叫直接发送到语音邮件
我如何在下面的try catch中做到这一点:
try {
// Initiate a new outbound call
$call = $client->account->calls->create(
// Step 4: Change the 'To' number below to whatever number you'd like
我只想在我的项目中集成twilio可编程语音( android + PHP),这样当我使用android应用程序拨打VOIP电话时,接到电话的人会在通话中听到两个可编程的信息。
我已经尝试了很多,VOIP呼叫工作正常,但我想添加一个可编程的消息,当接收者将接受呼叫。
$callerNumber = '+123456789';
$response = new Twilio\Twiml();
if (!isset($to) || empty($to)) {
$response->say('Congratulations! You have just made
我是Rails和Twilio的新手,正在尝试运行Twilio约会提醒示例代码。我可以发出呼叫,但无法从Twilio获得有关呼叫者按下的数字键的任何反馈。
呼叫完成后,将运行提醒TwiML :此处,Gather命令应提示Twilio记录来自调用者的单个数字输入:
xml.instruct!
xml.Response do
xml.Gather(:action => @post_to, :numDigits => 1) do
xml.Say "Hello this is a call"
xml.Say "Please press