Previous Entry Share Next Entry
Correct CSipSimple Settings for RingCentral and VirtualPBX
Universal #2
guypaddock
If you've signed-up for cloud PBX phone service from RingCentral or VirtualPBX, and you have an android-based phone running CSipSimple, chances are you've been frustrated by how difficult it is to configure SIP correctly to work with them. Luckily, after spending a few hours last night playing with settings, I believe I have the information you need.


RingCentral
The difficulty with RingCentral is that they use two different usernames -- an "Authorization ID" for the proxy, and a "username" for the actual account -- which is awkward to configure in CSipSimple. Here's how to set it up:
  1. Purchase a new "SIP digital line" on your account from RingCentral, if you haven't already. This won't work unless the digital line is configured for SIP, because only SIP lines have the set-up instructions that include a unique authorization ID that only RingCentral can generate.
  2.  

  3. Pull up the set-up instructions for the SIP digital line. You'll find them under a link that says "Setup instructions", under the name of the line in the "RingCentral DigitalLines" section of your "Account Summary" or "Digital Lines" pages.
  4.  

  5. Create a new account with the "Basic" wizard, and input the following information:
    • Account name: Whatever means something to you; this doesn't affect the connection.
    • User: Enter the "Authorization ID" from the set-up instructions.
    • Server: sip.ringcentral.com
    • Password: Enter the "Password" from the set-up instructions. This is often the same as the "Authorization ID".
    •  

  6. Switch the new account over to the "Expert" wizard. (To do so, press and hold your finger on the account for several seconds, select "Choose wizard", then scroll down and tap "Expert" at the bottom).
  7.  

  8. Open the settings for the new account for modification (i.e. tap on the account in the list).
  9.  

  10. Change the account ID to: "YOUR_DESIRED_CALLER_ID <sip:USER_NAME_FROM_INSTRUCTIONS@sip.ringcentral.com>".The "USER_NAME_FROM_INSTRUCTIONS" is the user name that RingCentral provides you in the instructions (typically the same as the main phone number on your account).
  11. So, for example, if I wanted my caller ID to show up as "(123) 456-7890" and the user name that RingCentral provided me was "18002223333", the account ID would be: "(123) 456-7890 <sip:18002223333@sip.ringcentral.com>".

     

  12. Save settings (i.e. tap the "Save" button").
You should be all set!

VirtualPBX
VirtualPBX has a very picky set-up that only works well with clients from CounterPath. Even after you follow these steps, you'll likely have difficulty making or receiving calls. Their soft switch tends to return code "488 Not Acceptable Here" when calls are initialized, which I believe means that their switch doesn't accept the codecs that CSipSimple is trying to use.

The other problem is that the server name VirtualPBX tells you to use ("virtualpbx.net") is only correct for clients like CounterPath's that actually check DNS records to find out the real host names for SIP. The actual server names, from the SRV DNS records, are "registrar1.virtualpbx.net" or "registrar2.virtualpbx.net".

With all that in mind, if you're feeling adventurous, here's what it takes to get CSipSimple to at least register with VirtualPBX:
  1. Submit a support ticket to Virtual PBX to add a "SIP digital line" to your account, if you haven't already.
  2.  

  3. Wait for the e-mail from VirtualPBX that contains your set-up instructions for the new SIP digital line.
  4.  

  5. Create a new account with the "Basic" wizard, and input the following information:
    • Account name: Whatever means something to you; this doesn't affect the connection.
    • User: Enter the "User Name" from the set-up instructions.
    • Server: registrar1.virtualpbx.net
    • Password: Enter the "Password" from the set-up instructions.
    •  

  6. Switch the new account over to the "Expert" wizard. (To do so, press and hold your finger on the account for several seconds, select "Choose wizard", then scroll down and tap "Expert" at the bottom).
  7.  

  8. Open the settings for the new account for modification (i.e. tap on the account in the list).
  9.  

  10. The account ID will appear as "<USER_NAME_FROM_INSTRUCTIONS@registrar1.virtualpbx.net>". Change the account ID to: "YOUR_DESIRED_CALLER_ID <sip:USER_NAME_FROM_INSTRUCTIONS@virtualpbx.net>".The "USER_NAME_FROM_INSTRUCTIONS" is the user name that VirtualPBX provides you in the instructions.
  11. So, for example, if I wanted my caller ID to show up as "(123) 456-7890" and the user name that VirtualPBX provided me was "2132223333", the account ID would be: "(123) 456-7890 <sip:2132223333@virtualpbx.net>".

     

  12. Save settings (i.e. tap the "Save" button").
CSipSimple should now be able to register with the server, but if you try to make a call it won't go through. That I haven't sorted out just yet.

?

Log in