For you pythonistas out there, I merged in some changes today to the “tropo-webapi-python” module. My colleague Justin Dupree found and fixed an error where the “on” object was not included as an available option. With this fixed you can now send in events using the ‘on’ object.
To get the updated tropo-webapi-python library, you can download it (or git clone it) from:
Thanks to Justin for the fix and thanks to other pythonistas who have reported issues. Speaking of that, if you do find any issues with the library, please report them to the “Issues” area on Github. Many thanks… and please let us know how else we can help you build awesome python apps using Tropo!
We’re supporting the local Drupal community as a Gold sponsor, and Adam Kalsey will be there all day Saturday with Tropo shirts and goodies and showing people how to integrate voice and SMS into their Drupal applications.
Do you have a GoogleVoice phone number? Would you like to route it to your Tropo application?
You can permanently port your GoogleVoice phone number to your Tropo application by submitting a ticket to our Provisioning team via the GetHelp link in the Tropo portal but I would like to show you how to temporarily route your GoogleVoice number to Tropo.
In this screencast, I use a few unnecessary (but fun) geeky apps like Skype (to place PSTN calls) and Blink (for receiving SIP calls). I also route my GoogleVoice number to @Zlu’sOpenVoice application. OpenVoice is an open source GoogleVoice clone that runs on Tropo and also integrates with our Phono webphone! It’s built using Ruby on Rails and its source code is available on Github at http://github.com/openvoice. (OpenVoice also has an Android app available so check it out!)
Have you heard of EmpireAvenue? According to their website, “Empire Avenue is the Social Media Exchange, where you can buy and sell shares in any social media profile, meet new people, unlock Achievement badges, and earn boatloads of virtual cash by being active and social online! Buy shares in your friends, your followers, people with similar interests, brands you love, celebrities – anyone! All using a virtual currency and all for free!”
Cas Hoefman, a long time telephony geek and friend of Tropo, built an SMS hook into their API!
If you want to see a working sample just send a text message with DISRUPTIVE to (818) 900-2731 to get back our latest stock price or replace DISRUPTIVE with your own Empire Avenue Ticker Symbol to get your own latest stock price! You can also scan the QR code on the left and we’ll do it for you.
Using Tropo, you can add SMS to virtually API to further extend services to meet your needs. For more details on Cas’ application including the source code, please visit his blog post!
Join Tropo at as we host the Central Florida Coders, Creatives & Entrepreneurs Pow-Wow on Wednesday, April 27 2011.
Central Florida has several thriving, yet disjointed communities. There are groups of software developers, filmmakers, designers, entrepreneurs and an array of other creative individuals. We’re inviting the leaders and members of these communities to join us for a brainstorming pow-wow on how tobuild an even stronger, more vibrant community of DOERS. This is a FREE EVENT and open to any and all who would like to participate in building a better community.
Why?
We have all of the pieces and parts of a strong and vibrant tech & creative community, but somehow we’re not quite living up to our full potential. By bringing together community organizers, thought leaders and people who actually know how to get things done, we think we can help lift Orlando beyond its stigma as merely a family vacation destination and put it in its proper place on par with other cities like Seattle, Portland and Austin. It’s a “meta-meetup” to discuss how we can work together to make our community better.
Who Should Attend?
Leaders and members of existing groups of coders, makers, hackers, filmmakers, designers, digital medians, engineers, entrepreneurs…anyone with a passion for doing things and wants to work with other like-minded people.
What: Central Florida Coders, Creatives & Entrepreneurs Pow-Wow
Add framework for “magic” channel variables. This supports things like CALLERID(all) vs. CALLERID(name) vs. CALLERID(num) that all have overlap in Asterisk. We now try to do the right thing when setting or reading each variation. More special variables can be easily added.
Enhanced Dial compatibility: Allow setting the CallerID on outbound calls, set DIALSTATUS based on Tropo response and clean up parsing of dial string
Set the default AGI port if unspecified in the YAML
Update to RSpec 2
Allow detecting the Tropo dialed number for incoming calls (agi_dnid)
Fix fatal missing error on SIP failover failure
Update unit tests for new functionality; fix broken unit tests
Rspec tests now require JRuby v1.5.x or better
You may grab the latest script from Github here. As a refresher, AGItate is a script that emulates the Asterisk AGI protocol on Tropo. Allowing you to use frameworks like Adhearsion or Asterisk-Java with Tropo.
We are also cooking up some interesting developments for the Adhearsion community with Ben, so stay tuned!
On a visit to Nashville, Tennessee, for the PHP Community Conference (Tropo is one of the sponsors) I got to hear a talk from Helgi Þorbjörnsson on front-end caching techniques.
During his talk Helgi mentioned a new Git-based deployment service for PHP applications – Orchestra.
Orchestra is very similar to other Git-based deployment service for different langages – Heroku for Ruby, and Nodester for Node.js – but it’s meant to support deployment of PHP-based applications.
If you’re like me, and you missed the chance to take part in the Codeita beta, you’re anxious to give a Git-based deployment service for PHP a try. When I checked out Orchestra, it looked incredibly easy to use, and a snap to get started with.
How easy is it to use Orchestra to deploy a PHP-based Tropo app?
I was able to write, deploy and test an app before Helgi had finished his presentation at the PHP Community Conference (about 20 minutes total with conference-grade wifi). I was even able to hear the end of Helgi’s talk.
My sample application is meant to answer an incoming call, ask the caller what their favorite programming language is (along with some choices), and then say something snarky based on their response.
Building a speech recognition app like this with Tropo is very easy. I also made use of the awesome Limonade PHP framework for my app.
All of the code for this app is made available on GitHub, which is also part of the process for deploying apps to Orchestra.
Setting up and Deploying to Orchestra
Go to the Orchestra site and create a new account. Take a spin through the knowledge base if you want more specifics on how everything works – you have two deployment options, a free deployment or an elastic deployment.
For the purposes of this post, I’ll use a free deployment.
You deploy your application to Orchestra by connecting a repo on GitHub with your Orchestra account – Simply set up a GitHub repo for your app, just as you would for a normal project. You’ll then use information about this repo to set things up in Orchestra.
When you tell Orchestra where your GitHub repo is, it will deploy your app and give you a public URL that you can use to access it.
Setting up a Tropo Application
Now that our application is deployed to Orchestra, we need to set up a phone number to use it in Tropo. Like all of the steps described above, this one is simple.
Log into your Tropo account and create a new application – when prompted select WebAPI. The URL that powers your application is the public URL provided by Orchestra when you deploy your application.
Since we’re using Limonade, we need to add a query string parameter for our starting route.
In our application, our starting route looks like this:
dispatch_post('start', 'tropoStart');
function tropoStart() {
...
}
So to access this route from Tropo, we would set up our app URL like this.
When you do this, you’ll be able to call the application and hear it work. Here is a quick screencast demonstrating how the app works.
One of the things I really like about Orchestra is that it uses a standard GitHub repo for deployment. Similar services for other languages often require you to set up a special stand alone repo for deployment, and for me this just always feels like an extra step I have to go through to deploy my app.
I love that I can push changes to GitHub and they are deployed by Orchestra. Quick and easy!
Orchestra has a number of add ons planned (i.e., for CouchDB and MongoDB) so it’s only going to get more awesome.
So if you want a fast, easy way to build powerful multi-channel communication apps in PHP, Tropo and Orchestra make a powerful combination.
Hi. In a previous post we announced our new and shiny Grails Webapi library that allows all Grails developers to create voice and SMS powered applications very easily from their Grails applications.
If you go to the plugin’s web page at Grails.org you will find that there is already quite a few documentation out there. But I thought it would be quite useful to publish a screencast showing step by step how to create applications. This can be very interesting specially for developers that are not used to the Grails platform.
So here it is. It is a very short 15 minutes video in which I’ll show you how quick and easy you can create voice applications in Grails. I really hope you like it.
Next week is a big one for the technology community in the Philadelphia region – the inaugural edition of Philly Tech Week kicks off on Monday, April 25th and wraps up on Saturday April 30th.
The days in between are packed with a rich collection of events guaranteed to appeal to a broad spectrum of technologists, hackers and those committed to improving the City of Philadelphia.
Tropo is a proud sponsor of this important event (which was organized by the good folks at Technically Philly) and our own Mark Headd and Adam Kalsey will be on hand for a number of events during the week.
In addition to sponsoring Philly Tech Week, Tropo is a sponsor of the Emerging Technologies for the Enterprise event, taking place on April 27th and 28th at the Society Hill Sheraton.
The first ever CloudCamp Philly will take place on Tuesday, April 26th at National Mechanics, and a full day will be devoted to learning about the NoSQL database MongoDB.
Like many other open government data supporters, Tropo be attending the unveiling of the new OpenDataPhilly site on Monday, April 25th.
At the end of the week, we’re organizing a hackathon to bring together developers from around the region to build innovative solutions with Philadelphia open data.
Hope to see you at one of the many cool events next week in Philadelphia. It promises to be an exciting week, and we at Tropo are ecstatic to be a part of it!
This past weekend, over 125 people descended on the City of Baltimore from as far away as New York City for the chance to jump start a business that could become the next big thing.
The first ever Startup Weekend Baltimore kicked off on Friday April 15th and concluded the evening of April 17th with the announcement of winners. This was an awesome event, showcasing not only the talent and business savvy that is in ready supply in Baltimore, but also the willingness of others looking to start a business to select Baltimore as the place to do it.
You can see a few photos from the event this weekend here.
Tropo is proud to have been back in Baltimore for this event, helping teams with technical questions and in building communication apps to support their ideas. It was interesting to see the numer of ideas that centered around SMS messaging, and a number of attendees commented on how they liked Tropo’s pricing structure for developers (it’s 100% free for development!).
Quite a few teams made use of Tropo including TrakFit (a service for recording information about exercise, nutrition and health) and Localize (a service for real estate owners to poll their communities on new business ideas to inhabit vacant spaces).
Localize went on to win second place overall in the event after the judges heard presentations from all of the teams that participated.
Credit goes to the organizers of this outstanding event – they worked exceptionally hard pulling it together and it showed in the overall quality of the event. The entire weekend was well organized and perfectly executed. This event could serve as a template for other such events in different cities.
Congratulations to Team Localize and all of the other winners and participants in this outstanding event!