Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 2.46 KB

zoiper-soft-phone.md

File metadata and controls

56 lines (41 loc) · 2.46 KB

Zoiper Soft-phone

Soft-phones allow you to make and receive phone calls over the Internet using your computer rather than dedicated hardware. Soft-phones are great for manual testing of Twilio apps. There are lot clients to choose from, but this doc will explain how to configure Zoiper.

Download

To download Zoiper visit https://www.zoiper.com.

Sip Domain

Before you configure the Zoiper client you have to create SIP domain on Twilio . Fill in following fields:

  • FRIENDLY NAME - preferably your name
  • SIP URI - URI which you will need to use for Zoiper configuration later
  • REQUEST URL - URL to your application which will handle API requests (see how to configure ngrok to get public url from your localhost)
  • SIP Registration should be set to ENABLED

Authentication

Soft-phones require basic authentication, so we have to create a user and password. On Twilio:

  • Click on + next to the CREDENTIAL LISTS field or go to Credential Lists directly.
  • Fill in the form:
    • FRIENDLY NAME - preferably your name
    • USERNAME - enter your phone number in E164 format e.g. +441231231231
    • PASSWORD - your password (don't forget to use 1Password)
  • Once it's done click on create. You should see a new record in the CREDENTIAL LISTS field
  • Select newly created credential within SIP Registration Authentication block
  • Save your SIP domain

Zoiper Configuration

After installing Zoiper you will be requested to enter the following credentials:

  1. Fill user name (phone number) and password which we created before.
  2. Fill in your localized hostname, you can find it on Voice SIP Domains page, e.g. dvelp-test.sip.us1.twilio.com
  3. Skip Authentication and outbound proxy
  4. Skip testing step
  5. Click Create Account

In order to receive incoming calls, use this TwiML Bin example to redirect one of your phone numbers to your SIP client:

<Response>
    <Dial answerOnBridge="true">
      <Sip>
        [email protected]
      </Sip>
    </Dial>
</Response>

Where +441231231231 is your USERNAME and dvelp-test.sip.us1.twilio.com is your SIP URI.

That's it. Now you are ready to make and receive calls!

Other Links

For more information visit https://www.twilio.com/blog/registering-sip-phone-twilio-inbound-outbound