How do I make an outgoing call

Last modified by stephane lauriere on 2014/04/08 19:25

You shall use the Emerginov SDK and invoke the Call method. See PHP SDK description (User manual) for details.

A basic example can be described as follow:

<?php
require_once ("Emerginov.php");
require_once ("passwords.php");

echo "Test make call";

if (isset($_GET['numero'])){
       $Emerginov = new Emerginov($api_login, $api_password);
       
      if (isset($_GET['numero2'])) $ret = $Emerginov->Call($_GET['numero'], $_GET['numero2']);
   else $ret = $Emerginov->Call($_GET['numero']);
   echo "<pre>";
       print_r($ret);
   echo "</pre>";
}

?>
 <form method='get' action="makecall.php">
 <input type="text" name="numero" value="+33" />
 <input type="text" name="numero2" value="" />
 <input type="submit" value="Appel!" />
 </form>
Tags:
Created by stephane lauriere on 2014/04/08 18:05

Partners

Orange

VOICES

EU - FP7

OW2

© Emerginov
Site maintained by OW2