芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/rentandbuyrealty.com/rentandbuyrealty.com/vendor/twilio/sdk/example/twiML.php
'woman' ]); $play = new \Twilio\TwiML\Voice\Play("https://api.twilio.com/cowbell.mp3", [ 'loop' => 5 ]); $twiml = new VoiceResponse(); $twiml->append($say); $twiml->append($play); print("TwiML Say and Play: \n{$twiml->asXML()}\n"); // Gather, Redirect $twimlResponse = new VoiceResponse(); $gather = $twimlResponse->gather(); $gather->setNumDigits(10); $gather->say("Press 1"); $twimlResponse->redirect("https://example.com"); print("TwiML Gather and Redirect: \n{$twimlResponse->asXML()}\n"); // Dial $twimlResponse = new VoiceResponse(); // A valid phone number formatted with a '+' and a country code (e.g., +16175551212) $callerID = '+XXXXXXXX'; $dial = $twimlResponse->dial('', [ 'callerId' => $callerID, 'action' => 'https:///example.com', 'hangupOnStar' => true, ]); $dial->conference("My Room", ["beep" => "true"]); print("TwiML Dial: \n{$twimlResponse->asXML()}\n");