Beispiel #1
0
 public function testSpeakSentence()
 {
     $params = new Catapult\Parameters();
     $call = new Catapult\Call();
     $params->setFrom(new Catapult\PhoneNumber(__DEFAULT_SENDER__));
     $params->setTo(new Catapult\PhoneNumber(__DEFAULT_RECEIVER__));
     $call->create($params);
     $params->setGender("female");
     $params->setVoice(new Catapult\Voice("Jorge"));
     $params->setLoopEnabled("true");
     $params->setSentence("hello");
     $call->speak_sentence($params);
 }