Voice Call Demo
More Information
Telekom Voice Call API allows you to make voice calls between two subscribers.
How it works
function startVoiceCall() { try { $this->client = new VoiceCallClient($environment, $user, $password); $this->newCallResponse = $this->client->newCall($phoneNr1, $phoneNr2, $expiration, $maxDur, $maxWait,$privacyA, $privacyB, $account); if(!($this->newCallResponse->getStatus()->getStatusConstant() == VoiceCallStatusConstants::SUCCESS)) { $errorMessage = $this->newCallResponse->getStatus($this->newCallSessionID)->getStatusCode(); throw new Exception($errorMessage); } } catch(Exception $e){ /* * Fehlerbehandlung */ switch($e->getMessage()){ . . . } } }