Tropo is part of CiscoLearn More

hangup

This instructs Tropo to disconnect the current call; it is optional. Once the script ends, the call will disconnect regardless. Typically, this will only be used if you need to add additional functionality after the call is disconnected, like logging or initiating a new call. Check out this example for more information.

Examples

  record("We're not available right now, please leave your message at the beep.", {
   beep:true,
   recordURI:"http://example.com/phone_call.js"
    }
);
 
hangup();
 
call('+14075550100', {
  network:"SMS"});
say("Received office voice mail");  
record "We're not available right now, please leave your message at the beep.", {
   :beep => true,
   :recordURI => "http://example.com/phone_call.rb"
    }
 
hangup
 
call '+14075550100', {
  :network => 'SMS'}
say "Received office voice mail."
<?php
 
record("We're not available right now, please leave your message at the beep.", array(
   "beep"=>"true",
   "recordURI"=>"http://example.com/phone_call.php"
    )
);
 
hangup();
 
call("+14075550100", array(
  "network" => "SMS")
);
say ("Received office voice mail.")
 
?>
record("We're not available right now, please leave your message at the beep.", {
   "beep":true,
   "recordURI":"http://example.com/phone_call.py"
})
 
hangup()
 
call("+14075550100", {
  "network":"SMS"})
say("Received office voice mail.")
record("We're not available right now, please leave your message at the beep.", [
   beep: true,
   recordURI: "http://example.com/phone_call.groovy"
])
 
hangup()
 
call('+14075550100', [
  network: 'SMS'])
say("Received office voice mail.")