Skip to main content

  • Login | Forgot Password?
Ribbit Developer logo

Inbound & Outbound Numbers and Call Forwarding

Submitted by gabriela on Thu, 2010-01-14 15:48

[Note: While reading this, it may be helpful to reference the Ribbit REST Device API document at times]

A new Ribbit developer will soon realize that it's extremely helpful to have a device to receive calls on. At Ribbit we call that an outbound device. Typically this is a mobile or landline phone that you own. Here's an example of creating a new outbound device. While the code below is specific to ASP.NET, all the Ribbit-supported SDKs work in a similar fashion... just with different syntax.

RibbitDevice d = new RibbitDevice();
d.CreateOutboundDevice("tel:", "desk phone", true, true);

The 4 parameters that we have for the CreateOutboundDevice method are:

  • id: The identifier of the device. For phones, this needs to be "tel:" followed by the full international number of your phone. In the US it should start with "tel:1...". In the UK it should start with "tel:44..."
  • name: A name for this device, which can be anything you like.
  • callbackreachme and ringstatus By setting these values to "true" we indicate that that we wish to receive calls on this device.

If you want to change any of the parameters after creating the device, use the

UpdateDevice()

method. Another helpful thing to a Ribbit developer is an inbound device or purpose number. This is a Ribbit number that developers can use to have their users call into their applications. Currently, Ribbit has inbound devices/purpose numbers available for the US and the UK. Creating an outbound number is very similar to creating an inbound one. We simply use a different method on the Device resource.

RibbitDevice d = new RibbitDevice();
String inboundNumber = d.CreateInboundNumber("GBR", "My inbound number");

The parameters are:

  • locale: The region for the number, currently "USA" or "GBR". A local number for the chosen place will be created.
  • name: As before a name for this device, which can be anything you like.

By default, an inbound number will have the flag "autoAnswer" set to false and "allowCCF" set to true. These settings indicate that when the inbound number is called, it will automatically call any of your applicable outbound devices. You may have several outbound devices registered, and these will all ring when someone phones your inbound number. If none of your outbound devices are answered, the person calling you may leave a voicemail message. This is helpful if you want someone in another country to be able to call you without making an international call.

  • REST
  • call forwarding
  • code samples
  • inbound numbers
  • ribbi tcall forwarding
  • ribbit
  • gabriela's blog
  • Login or register to post comments
  • Share/Save

Ribbit Photos

Ribbit's Voice-to-Text Service AssuranceInc.: The Best Voicemail Management ServicesFirst Camera PhoneRibbit Mobile: Online Message InboxRibbit for Salesforce brings you: SMS MessagesRibbit for Windows 7

See more photos at Flickr

Ribbit Conversations

  • Tips from Ribbit --> Validating USA and UK phone numbers from @sant1t1 http://su.pr/1VYkoI — 1 week 2 hours ago
  • @martyzigman: I would love to know more about this new CRM integration you are building, sounds good. — 1 week 10 hours ago
  • If you are developing a Ribbit powered application, let us know. We want to love on you a little bit. http://su.pr/6XqZSv — 1 week 5 days ago
  • I don't care what the CEO says, most important *thing* in the room is the candy bowl. <smile> http://yfrog.com/j677209011j — 2 weeks 4 hours ago
  • RT @kevinmarks: me talking about Buzz + open web to GTUG coming up in a few minutes live here -- http://www.building43.com/realtime/ — 2 weeks 19 hours ago
  •  
  • 1 of 60
  • ››
more

Follow Ribbit

 

            

            

           

Categories

  • .NET
  • AIR
  • Applications
  • Articles and Media Mentions
  • Challenge
  • Code
  • Community
  • Contest
  • Design
  • Events
  • Feature
  • Flash
  • Flash Toolkit
  • Flex
  • Flex SDK
  • Gallery
  • General
  • Inside Ribbit
  • Interviews
  • News
  • Newsletter
  • PHP
  • REST
  • Role Playing
  • Silverlight
  • Tips &amp; Tricks
  • Uncategorized
  • Wish List

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • November 1999

 

               

               

  • Company
    • Corporate Site
    • About Us
    • Careers
    • Contact Us
    • LegalPrivacy
    • News
    • Media Kit
  • Products
    • Platform
    • Mobile
    • Salesforce
    • Oracle
  • Solutions
    • Digital Agencies
    • Carriers
    • Systems Integrators
    • Hosted Contact Centers
  • Community
    • Corporate Blog
    • Developer Blog
    • CRM Blog
    • Moble Blog
    • Idea Wall
    • Events Calendar
  • Support
    • Developer Help
    • Ribbit for Salesforce Help
    • Ribbit for Oracle Help
    • Ribbit Mobile Help
    • Feedback
    • Developer Forums
    • Ribbit Mobile Forum
  • Developers
    • Developer Center
    • Develop for Ribbit Mobile
    • Register
    • Ribbit Labs

© 2010 Ribbit Corporation. All Rights Reserved.