Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
A simple Phono example that uses the Phono callme plugin
<!-- Uses the Phono callme plugin: -->
<link type="text/css" rel="stylesheet" href=""/>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript">
apiKey: "your-api-key",
numberToDial: "2154442222",
buttonTextReady: "Call Chris",

mheadd commented Nov 3, 2011

More info an examples at:


mheadd commented Nov 3, 2011

You can also replace the value of numberToDial with the an application ID for a Tropo application, this will remove the default "powered by" message on outgoing phono calls.

Simply follow these steps:

  • Create a new Tropo Scripting application
  • Create a new hosted script for your Tropo application (e.g., in JavaScript):
transfer('14075555555', {callerID: '14078888888'});
  • When created, make note of the Phono App Address in your application settings (e.g., a string beginning with 'app:')
  • Replace the value of numberToDial in the sample above with the full string from Phono App Address setting in your Tropo app.
  • This tells the Phono instance in your browser to connect to the Tropo script you just created, the Tropo script then transfers the call to the 14075555555 number in the script and passes the 14078888888 as the callerID on the outbound call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment