Try our Voice Call Demo for free and find out how the API works.

Voice Call Demo

You have to be logged in to use this voiceCall Service
NumberName
Subscriber-A:
Subscriber-B:
Alternative Subscriber-B
Maximum duration of voice Call (sec): 600


Suppress all telephone numbers
Suppress system telephone number
Suppress telephone number of subscriber-A
identify all telephone numbers


More Information

Voice Call DemoTelekom Voice Call API allows you to make voice calls between two subscribers.

Go to Telekom Voice Call API

How it works

  1. function startVoiceCall() {
  2.  
  3. try {
  4.  
  5. $this->client = new VoiceCallClient($environment, $user, $password);
  6.  
  7. $this->newCallResponse = $this->client->newCall($phoneNr1, $phoneNr2, $expiration, $maxDur, $maxWait,$privacyA, $privacyB, $account);
  8.  
  9. if(!($this->newCallResponse->getStatus()->getStatusConstant() ==
  10. VoiceCallStatusConstants::SUCCESS)) {
  11.  
  12. $errorMessage = $this->newCallResponse->getStatus($this->newCallSessionID)->getStatusCode();
  13. throw new Exception($errorMessage);
  14. }
  15.  
  16. }
  17. catch(Exception $e){
  18. /*
  19. * Fehlerbehandlung
  20. */
  21. switch($e->getMessage()){
  22. .
  23. .
  24. .
  25. }
  26. }
  27. }