Posts Tagged ‘Skype’

Skype Journal interviews Tropo at Google I/O

Saturday, May 29th, 2010

At Google I/O last week, Phil Wolff from the Skype Journal interviewed me about Voxeo Labs and Tropo.

In the 5 minute video, I talk about what Tropo is and why it’s a revolutionary platform helping developers build cross channel communications applications.

How-To: Distinguish PSTN, Skype, iNum, and SIP in your Tropo applications

Tuesday, February 23rd, 2010

Here at the secret layers of Tropo Support we often see similar questions raised by our developer base. We pay attention to these trends, since they often indicate that something may be lacking in our documentation.   If we do find something is lacking we of course want to address by expanding on concepts or adding additional examples to help shore up our doc sets and help out our developers.

Recently I have started to notice a trend of developers asking how to determine the source of callers dialing into their applications (Skype, PSTN, SIP, or iNum).  We’ll since we are often asked this question I figured I would provide a nice Ruby example for the ‘class’ =), I do hope this help!

Regards,
John Dyer
Customer Engineer
Voxeo Support

# -----------
# route based on DNIS
# John Dyer
# Voxeo Support
# -----------
log "@"*10 + $currentCall.inspect   # List some headers
log "@"*10  + $currentCall.getHeader("x-voxeo-to")  # log to header

module SipRegex
  def evaluate_sip_header(header)
    case header
      when /^<sip:990/            # SKYPE
        "SKYPE"
      when /<sip:999/              # SIP
        "SIP"
      when /^<sip:883/            # iNUM
        "INUM"
      when /<sip:|[1-9]\d\d/      # PSTN
        "PSTN"
      else
        "OTHER"
    end
  end
end
include SipRegex

toHeader = evaluate_sip_header($currentCall.getHeader("x-voxeo-to"))

if toHeader == 'PSTN'
    answer
    log "@"*10 + toHeader
    hangup
  elsif toHeader == 'SKYPE'
    answer
    log "@"*10 + toHeader
    hangup
  elsif  toHeader == 'SIP'
    answer
    log "@"*10 + toHeader
    hangup
  elsif  toHeader == 'INUM'
    answer
    log "@"*10 + toHeader
    hangup
  elsif toHeader == 'OTHER'
    answer
    log "@"*10 + toHeader
    hangup
  else
    log "@"*10 + "SOMETHING BAD HAPPENED" 
end

How to call your Tropo.com apps *directly* from Skype

Friday, November 20th, 2009

Are you aware that you can call into any Tropo.com application directly from Skype? After you login to your Tropo account, simply go to the Applications page and click one of the arrows next to an application name to see the numbers associated with that app. As shown here, one of those numbers is for Skype:

skypefortropo.jpg

Just copy/paste that number over into your Skype client and you are off and calling. Note that the space in the middle doesn’t matter. Skype will call the number correctly with or without the space.

You can try out the application shown in the screen capture here: skype:+990009369991438830

That particular app is a demo mashup with Yahoo!Weather where you can enter a US ZIP code and listen to the weather. If you aren’t from the US, or don’t want to use your own ZIP code, you can always use “32801″ and listen to how nice the weather is in Orlando, Florida, where our corporate HQ is located.

We’ve had a lot of folks praise the direct calling from Skype, not only because it makes your application immediately accessible to the tens of millions of people using Skype daily, but also because it’s just a very simple and easy way to test applications. Give it a try!

And if you don’t yet have a Tropo user account, just head on over to Tropo.com there signing up for an account is absolutely free. Check out the documentation and tutorials and getting started today building voice/IM/SMS applications in JavaScript, ruby, python, groovy and PHP.

Join the Tropo developer community – via Forums, IRC or Skype

Tuesday, March 3rd, 2009

As we roll out Tropo for developing voice applications, we’re also looking at ways to connect developers and help them learn about how to better develop applications on the Tropo platform. To that end, we’re offering several options:

Forums

For those familiar with our Evolution developer portal, you’ll know that we offer a large number of web-based forums where developers can post questions and receive answers from Voxeo staff and other developers. We’re offering the same kind of forums for Tropo at:

http://www.tropo.com/forums/

We encourage you all to post your questions there in the various forums.

IRC

For more real-time assistance, we’ve set up a channel, #tropo on irc.freenode.net that you can access via any IRC client. We have also provided a web-based IRC interface that provides easy access to the chat.

Skype Public Chat

Being avid Skype users, we’re also experimenting with a Skype Public Chat related to Tropo. You are welcome to join the public chat (although users of the new Skype 4.0 for Windows are unable to join through links and will need to skype me and have me add you).

In all cases, we’ll have Voxeo folks in the various channels looking forward to helping you learn all about Tropo and how to build voice apps based on the platform.

Please do join with us!


If you found this post interesting or helpful, please consider either subscribing via RSS or following us on Twitter.