Getting started

Connect your phone number to AvaritCall via SIP

Connect your existing number over SIP, assign it to an agent and check the connection.

  • 13 min read
  • 7 steps
  • Last updated:
On this page

This guide shows you how to connect a phone number you already have to AvaritCall over SIP, assign it to an agent and check the connection. AvaritCall does not sell phone numbers. Your number stays with your SIP provider or carrier, and calls are routed to AvaritCall.

Before you start

  • Your AvaritCall account needs a positive balance. Without one, the configuration check shows the "Top up first" warning.
  • You need access to your SIP provider's console (for example Twilio, Telnyx, Plivo or sipgate) or to your PBX admin screen.
  • You should already have an agent to answer the calls.
  • Decide whether you will use the number for incoming calls only, or for incoming and outgoing calls. Outgoing calls need a few extra steps with your provider.
Note: If your number is a regular landline or mobile line with no SIP access, you cannot point it at a SIP address directly. Connect it through your PBX, or forward it to a number from a SIP provider that you connect to AvaritCall. See Other SIP providers below.

Setup overview

  1. Open the "Connect Number" window in the panel.
  2. Make your choices in the connection setup guide.
  3. Set up your SIP provider or PBX.
  4. Enter the number and connection details, then click "Connect".
  5. Finish any remaining settings in the "Your number is connected. Finish the setup." step.
  6. Assign the number to an agent.
  7. Run "Check configuration", then call your number from another phone to try it.

1. Open the "Connect Number" window

In the top menu, open "More" › "Phone Numbers" and click the "Connect" button at the top right. If you have no numbers yet, the same button appears in the middle of the page.

Path in the dashboard: More › Phone Numbers › Connect

To connect the number straight to an agent, open the agent's page and use the "Attach number" button in the "Phone number" section. A number connected this way is assigned to that agent automatically, and the window shows the target agent. In this window the title reads "Attach Number" and the button reads "Attach".

2. Make your choices in the setup guide

The "Connection setup guide" at the top of the window asks two questions:

  • "What do you need?": "Incoming calls" or "Incoming and outgoing calls".
  • "Your carrier or PBX": if you run Asterisk, FreePBX, Issabel, 3CX, Yeastar or Grandstream, choose "My own PBX". Twilio, Telnyx, Plivo and sipgate are not in this list, and "Other carrier" is not meant for them: leave this question unanswered (it is optional) and choose your provider as the connection method in the form (step 4); the form then shows that provider's setup notes.

After you choose, three cards open: what to do in your PBX or provider console, what to fill in on this panel, and how to try it. Values such as the server address, port and IP have a "Copy" button next to them. Copy these values instead of typing them. The "Fill in the form for this carrier" button prepares the connection form below for your choice. If you use a PBX, first enter your number in the "Phone Number" field from step 4; the "SIP target" and "Called number (To)" values on the cards then show your own number instead of a placeholder.

If your provider asks you for these details separately, open the "Connection details to share with your provider" section. It lists the SIP server, port and protocol for incoming calls, and the IP addresses to allow for outgoing calls.

3. Set up your SIP provider or PBX

Follow the section for your provider or PBX. The IP, port, protocol and server address mentioned below come from the setup guide cards and the "Connection details to share with your provider" section; copy them with their "Copy" buttons. Keep the "Connect Number" window open while you work in your provider console; the same guide is also on the "Phone Numbers" page. If a card shows "the value in the connection details section" instead of a value, check the "Connection details to share with your provider" section. If it is not there either, contact us.

For every SIP provider, the inbound part works the same way: in your provider's console, point the number's inbound calls (SIP URI or origination) to the SIP target shown in the setup guide. The exact menu names depend on your provider.

In AvaritCall, choose Twilio, Telnyx, Plivo or sipgate as the connection method. When you select one, the form shows that provider's setup notes. For numbers outside your default country, choose the country in the "Country of the number" field and enter the number with its country code (+1 or +44, for example).

Twilio

  • Use Twilio Elastic SIP Trunking. In AvaritCall, enter your Termination SIP URI as the SIP server.
  • Twilio does not use registration (REGISTER). Choose IP authentication, or a username and password.
  • For incoming calls, point the trunk's origination to the SIP target shown in the setup guide.

Telnyx

  • The SIP server is sip.telnyx.com (sip.telnyx.eu for EU accounts).
  • You can use a registered connection with a username and password, or IP authentication.

Plivo

  • Use Plivo Zentrunk. In AvaritCall, enter your Termination SIP Domain as the SIP server.
  • Plivo does not use registration (REGISTER). Choose IP authentication, or a username and password.
  • For incoming calls, point the trunk's inbound calls to the SIP target shown in the setup guide.

sipgate

  • Use sipgate trunking. The SIP server is sipconnect.sipgate.de and the connection is registered (REGISTER).
  • Enter your SIP ID and SIP password. sipgate works with German numbers only.

Your own PBX

  1. On your PBX, create an IP (peer) trunk without registration for the SIP server shown in the setup guide.
  2. Send calls to your number into this trunk, to the address shown as "SIP target" on the card. The called number (To) must be your number itself, as shown on the card, not an internal extension.
  3. Audio settings: codecs G.722, PCMA and PCMU; DTMF RFC 4733; encryption and Opus off.
  4. On your firewall, allow SIP traffic from "Our outbound IP" and the "Audio (RTP) ports" range (UDP) shown on the card.
  5. For outgoing calls, add a rule that sends calls from this trunk out through your carrier line, and show your number as the caller ID.

Menu paths by PBX:

  • FreePBX / Issabel: add a SIP trunk under Connectivity › Trunks. In Outbound Routes, send the 999 prefix to this trunk; in Misc Destinations, define 999 plus the called number as a destination; in Inbound Routes, route your number to this destination.
  • 3CX: Voice & Chat › Add Trunk › Generic SIP Trunk (IP-based authentication).
  • Yeastar: Extension and Trunk › Trunk › Add › Peer Trunk.
  • Grandstream UCM: Extension/Trunk › VoIP Trunks › Add SIP Trunk › Peer SIP Trunk.

In AvaritCall: choose the "PBX connection with a static IP" connection method. Enter your PBX's public static outbound IP in the "Your PBX's IP address" field. This address is sent for approval; calls start arriving once it is approved.

Other SIP providers

You can connect a number from any SIP provider that gives you a SIP server, username and password.

  • In AvaritCall, choose "Other SIP provider" as the connection method.
  • Enter the SIP server address exactly as your provider shows it in the "SIP Host" field, without a "sip:" prefix or a port suffix such as ":5060". "SIP Port" stays 5060 unless your provider says otherwise.
  • Most providers do not require registration. If yours runs the line with registration (REGISTER), choose "Registered (REGISTER)" as the authentication mode; otherwise calls do not arrive. If you are not sure, ask your provider.
  • If your line ends on a PBX, connect it through the PBX instead and follow the "Your own PBX" steps. The connection method is then "PBX connection with a static IP".
  • If your number has no SIP access and you have no PBX, get a number from a SIP provider and connect it with this guide. Then turn on call forwarding from your existing number to that number, or ask your carrier to do it. Forwarded calls arrive on the connected number.

4. Enter the number and connection details

  • "Country of the number": choose the country your number belongs to.
  • "Phone Number": required. Enter the number in that country's format or with + and the country code, for example +1 XXX XXX XXXX or +44 XXXX XXXXXX.
  • "Description": optional; it helps you tell numbers apart in the list.

In the "Carrier connection (SIP)" section, choose the "Connection method". When the window opens, "Other SIP provider" is selected. If you use Twilio, Telnyx, Plivo or sipgate, change it in the list. The fields you need to fill in depend on the method:

Connection methodFields to fill inNote
PBX connection with a static IPYour PBX's IP address, SIP PortDefault port 5060. The address is sent for approval.
Other SIP providerAuthentication mode, SIP Host, SIP Username, SIP Password, SIP PortDefault port 5060. Default mode "No registration, username and password". If your provider runs the line with registration (REGISTER), choose "Registered (REGISTER)"; if you are not sure, ask your provider.
Twilio, Telnyx, Plivo, sipgateDepends on the providerThe form shows the setup notes for the selected provider.

Only UDP is supported. When the details are in, click "Connect".

5. Finish the setup

When the number is connected, the window stays open and the "Your number is connected. Finish the setup." step appears. The guide here is now filled in with your number. If you have not finished a step in your provider console or PBX, complete it from here.

For "PBX connection with a static IP", "Other SIP provider", Twilio, Telnyx, sipgate and Plivo connections, the "IP addresses that send the calls" section also appears. The PBX IP or SIP Host you entered in the form is already listed here; if it is not a known carrier address, it shows "Awaiting approval". If your PBX or provider also sends calls from another address, enter that address, click "Add", then "Save". You can also find this section later on the page of the agent the number is assigned to, under "Operator connection".

  • You can enter a single address (a.b.c.d) or a block no wider than /24. Private network addresses are not accepted.
  • Known carrier addresses are allowed right away; others after a short approval. Statuses: "Allowed", "Awaiting approval", "Rejected".
  • Calls from an address awaiting approval start arriving once it is approved.

6. Assign the number to an agent

If you connected the number from the agent's page, this step is already done. Otherwise, in the "Phone Numbers" list, click "Change Agent" on the number's row, choose the agent in the "Assign number to agent" window and click "Assign".

If you will make outgoing calls, check that the "Number shown on outbound calls" line in the agent's "Phone number" section shows this number. The line fills in automatically when the number is assigned to the agent. If you see a red warning, use the "Re-attach the number" link.

7. Check the configuration and test

In the "Phone Numbers" list, click "Check configuration" on the number's row. The check looks at:

  • Payment status: whether the account has a balance.
  • Call routing: whether an active agent route is assigned to the number.
  • Agent assignment: whether the assigned agent is active.
  • Number format: whether the number matches its routing entry.
  • SIP registration: whether registration is verified on connections that need it.

Each line is marked "Verified", "Action required" or "Unverified". The check does not place a call, so "Incoming call", "Outgoing call" and "Audio transport" show "Not tested". If the check looks good, call your number from another phone. Your agent should answer.

The "Carrier registration" column in the list also shows the connection status: "Registered", "No registration", "Not registered", "Not connected", "Timed out" or "Error".

Forwarding incoming calls

For incoming calls to reach the agent, your provider or PBX must send the call to AvaritCall. The "Forward your incoming calls" card on the "Phone Numbers" page shows the SIP target, called number (To), protocol, audio codecs and keypad tones (DTMF) setting for each number. If you use a PBX, or connected "Other SIP provider" in "No registration, username and password" mode, give these values to your PBX or provider. Until you do, incoming calls do not reach the agent.

Note: Numbers connected in "Registered (REGISTER)" mode do not need forwarding; your provider brings the calls itself.

Common issues

SymptomLikely causeFix
The check shows "Balance required"The account has no balance.Add funds with "Top up" and run the check again.
The check shows "Route not found"The number is not assigned to an agent.Assign the number to an agent (step 6).
The check shows "Agent assignment mismatch"The assigned agent was deleted or is inactive.Activate the agent or assign the number to another agent.
Calls do not arrive on a line that needs registrationThe authentication mode is set to no registration.Change the mode to "Registered (REGISTER)".
Calls from the PBX do not reach the agentThe PBX sends an internal extension as the called number (To).Set the To field on your PBX to your number itself.
The IP address is not savedA block wider than /24 or a private network address was entered.Enter your PBX's public address or a block no wider than /24.
Calls come from an address that shows "Awaiting approval"The address is not approved yet.Calls arrive after approval; contact us if it is urgent.
"Connect" says the number is already on your accountThe number was connected before.Find the number in the list and edit its SIP details with the pencil icon.

Help

If you cannot finish the connection, send us your number, your provider and the result of the configuration check through the contact page, and we will look at it with you.