
tropo example
By: a guest on
Oct 23rd, 2011 | syntax:
PHP | size: 0.30 KB | hits: 16 | expires: Never
<?php
require 'tropo.class.php';
$session = new Session();
$initialText = $session->getInitialText();
$to = $session->getTo();
$from = $session->getFrom();
$tropo = new Tropo();
$tropo->say("To: $to and From: $from and Message: $initialText");
return $tropo->RenderJson();
?>