Yes it really is as easy as one-click… check it out in the video below – and then head on over to our Evolution developer portal to give it a try:
If you want more information about our text messaging capabilities – or to find out about availability of SMS numbers in regions where you want to send or receive text messages, please contact us.
Want to learn how Voxeo can help unlock your communications and deliver
a better customer experience?
Please contact us!
Would you like to have a button on your website that lets customer simply call your application? Orcall a phone number or extension?
Not the typical “click to call” buttons that pop up a screen and prompt you for your phone number to call you… but rather a button that actually initiates a call from within your web browser?
Now I just called a “Hello World” VoiceXML app… but imagine if you had a button that called into your sales line… or called into your IVR application… or let people call directly into an information tracking system… or… or… or… the possibilities really are limitless.
To try it out yourself, all you need to do is:
Login to your account on our Evolution Developer Portal (or create a free account if you don’t have one).
Open the application to which you want to connect the button.
Find the “app:<id>” info on the Contact Methods tab and copy that info.
Create a web page on a web server somewhere (which could be a web server on your laptop or PC), add the necessary Phono JavaScript code and include the app ID.
Load the page into a web browser … and start calling!
My sample app is below… but odds are you are going to want to look at the documentation and demos on Phono.com to make a more useful application. For the sake of simplicity, this app has only a button that initiates the call – with no way to hang up! Nor does it have a keypad or change state to tell you that it is connecting. All those are enhancements you could make with just a wee bit of JavaScript.
You can view more videos about Phono, read other articles and generally learn more on our Phono news page. We’re looking forward to seeing what you will build with it!
Dan’s Really Basic Phono Example
<html>
<head>
<script src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
<script src="http://s.phono.com/releases/0.1/jquery.phono.js"></script>
<script type="text/javascript">
function testcall()
{
var phono = $.phono({
apiKey: "ENTERYOURAPIKEYHERE",
onReady: function() {
// This part included so that Flash audio permission
// can be remembered.
if( ! this.audio.permission() ){
this.audio.showPermissionBox();
}
this.phone.dial("app:9991476142");
}
});
}
</script>
</head>
<body>
<input id="call" type="button" value="Test Your App" onclick="testcall()" />
</body>
</html>
Notes:
Obviously you need to replace the app ID in there with your own (unless you really like calling my Hello, World app).
You need to obtain an “API Key” from Phono.com by logging into the site. NOTE: Your Evolution or Tropo username and password will let you into the site.
You’ll also note that I have some code in there related to audio permissions. It turns out that with the permission settings of Adobe Flash you would have to approve the usage of your microphone every time you push the button – unless you include this bit of code which pops up a permissions box with a “Remember” checkbox you can check so that you don’t have to keep approving permission.
I mention that this is to link to a VoiceXML app. It can actually be any app running on Evolution. So it could be CCXML, CallXML, Voxeo Designer, VoiceObjects On-Demand. The same concept works for calling Tropo apps, too.
Have fun with it… and if you come up with other ideas or ways to tweak this example please feel free to leave me comments about it (or email me).
Want to learn how Voxeo can help unlock your communications and deliver
a better customer experience?
Please contact us!
Back in April, I wrote about some video tutorials about CCXML that Moshe Yudkowsky had made available. While the videos worked okay, Moshe has gone and re-encoded the videos and made them available in both Flash Video and AVI formats. You can now get them at: