How to set up MagnusBilling with ILLYVOIP

Written by Rexhep Arifaj | February 5, 2025

MagnusBilling is a powerful open-source VoIP billing system that lets you manage SIP trunks, VoIP providers, DIDs, and call routing efficiently. It’s widely used by VoIP businesses, call centers, and service providers to automate billing, monitor call usage, and optimize traffic routes.

MagnusBilling dashboard overview

Key Features of MagnusBilling

  • Manage VoIP accounts for users and clients.
  • Create and configure SIP trunks to connect with providers like ILLYVOIP.
  • Set up inbound and outbound routes to control call handling.
  • Automate billing and balance deductions by duration and rates.
  • Monitor live call logs and reports for activity and usage.
  • Become a VoIP reseller by offering ILLYVOIP services and managing everything from MagnusBilling.

By integrating MagnusBilling with Illyvoip, you can resell VoIP services, manage multiple clients, set pricing, and scale your business without worrying about infrastructure.

Step 1: Logging into MagnusBilling

Open your browser and go to your MagnusBilling URL. Use the default credentials on first login:

  • Username: root
  • Password: magnus
MagnusBilling login page

Step 2: Creating a New User

Create a user (client) to assign a plan and SIP:

  1. Clients -> Users -> New
  2. Select Client as the user group.
Create new user in MagnusBilling User details form in MagnusBilling

Use the default plan for now. You can create a custom rate plan later.

Auto-generated SIP user in MagnusBilling

Testing the SIP Account

MagnusBilling generates a SIP account per user. Test with Zoiper (any SIP softphone works).

Zoiper SIP account fields

Enter:

  • Domain: 8.8.8.8
  • Username: 41578
  • Password: chQ1BTCJ

Click Register.

If successful, SIP status shows OK.

Full Zoiper guide: How to Set Up Zoiper with a SIP User.


Before test calls, create a Provider: Routes -> Providers -> New

Create provider in MagnusBilling

Provider Fields

  • Name: Illyvoip
  • Credit: Track available funds with the provider.
  • Credit Control: Monitor spend and remaining balance.
  • Description: Notes about this provider.

Click Save.

Adding a SIP Trunk

Routes -> Trunks -> New -> add your ILLYVOIP trunk (for in/out routing).

Trunk creation form

Get Your SIP Account Details

  1. Log in to ILLYVOIP.
  2. Open SIP Accounts.
  3. Copy your SIP Username, Password, and Domain.
  4. Use them in the Magnus Trunk.
SIP account details on Illyvoip

Tip: You can convert a SIP User to a SIP Trunk via Convert to Trunk in SIP Accounts.

Difference: SIP User vs SIP Trunk

  • SIP User: One device/registration (softphone or IP phone).
  • SIP Trunk: Multiple concurrent calls for PBX/business use.
Detailed trunk configuration options

Trunk Fields (example)

  • Provider: ILLYVOIP
  • Name: ILLYVOIP
  • Username: Your SIP username
  • Password: Your SIP password
  • Host/IP: e.g., 81.17.99.220
  • Prefix (Optional): 40001 for Platinum routes
Note: In Supplementary Info, keep From User empty. If filled, it overrides Caller ID.

Supplementary info section

Using IP-to-IP Authentication

Configure a SIP trunk with IP Authentication:

  • Open your SIP Account on Illyvoip.

IP authentication icon on Illyvoip SIP account

  • Click the IP icon under the password field.
  • Enter your server IP address.

IP added successfully confirmation

  • On MagnusBilling, fill only the Host (SIP Server).
Important: The main SIP admin account is reserved for the Illyvoip Web Phone and cannot be authenticated from external servers/PBX. For external systems (Asterisk / 3CX / Vici / Yeti / etc.), use a dedicated SIP agent account or Convert to Trunk and authenticate that account on your switch.

IP-auth trunk configuration in MagnusBilling

If everything is configured correctly, your ILLYVOIP trunk shows Active.

Create Trunk Groups: Routes -> Trunk Groups -> New

Creating trunk group

Configuring Trunk Group

  • Name: ILLYVOIP-Premium
  • Type: Order
  • Trunks: ILLYVOIP

Trunk group configuration form

Creating a New Plan

  • Rates -> Plans -> New

Create plan page

  • Name: ILLYVOIP-Premium
  • Use on signup: optional
  • Notices with audio: Yes/No
  • Tech Prefix: optional

Plan created confirmation

Configuring Prefixes

  • Rates -> Prefixes -> New

Add prefix manually

You can bulk upload prefixes and tariffs via CSV, or add manually:

Manual prefix example for Kosovo

Configuring Tariffs

Rates -> Tariffs -> New

Add tariff screen

Tariffs for Prefix Destinations

  • Plan: ILLYVOIP
  • Destination: selected prefix (e.g., 383 Kosovo)
  • Trunk Groups: ILLYVOIP-Premium
  • Sell Price: per minute
  • Initial/Billing Block: e.g., 1/1

Tariff example for Kosovo

Finalize & Test Calls

  1. Update the user’s routing plan to use your plan/trunks.

Update user routing plan

  1. Assign a Caller ID to the SIP user.

Assign caller ID to SIP user

Ensure the User Has Credit

Otherwise you’ll see Balance Empty.

  1. Billing -> Refills -> New

Refill credit page

Assigning Credit to a User

  • Username: pick the user
  • Credit: amount
  • Description: note
  • Add Payment: Yes to mark paid

Add credit to user form

Making a Test Call

Place a test call.

If everything is set up correctly, your test call will connect successfully.

Zoiper placing a call via MagnusBilling


Configuring DID Numbers on MagnusBilling

Step-by-Step for Illyvoip DIDs

Phone numbers list on Illyvoip

No DID yet? Go to Phone Numbers on Illyvoip and order one.

Assign Your DID

  1. In Illyvoip -> Phone Numbers.
  2. Select your active DID -> Actions -> Configure.
  3. Choose Route to External SIP Extensions to send inbound calls to MagnusBilling.

Routing DID to external SIP extension

Configure the DID in MagnusBilling

  1. DIDs -> New

Inbound call to DID example

Fill at least: DID Number, Country, and set Status to Active.

DID configuration form

Recommended: complete billing details (Setup, Monthly, Connection Charge) and set Caller ID, DID increments, and Server.

When successful, the Number status shows Active.

Now set the DID destination (where to route inbound calls).

Configuring DID Destination

  1. Select your DID from the list.
  2. Enter the Username (SIP user) that will receive the calls.
  3. Set Status to Active.
  4. Priority: 1 (or as needed).

Assigning DID routing to a user

Click Yes to save. You should now receive calls on your Zoiper SIP extension.

Testing Your DID

Make a test call to your DID from a mobile SIM.

Testing inbound call to DID number

Calls should arrive on your Zoiper 5 SIP extension. If you need help, contact support.

More: For SIP trunking or softphone setup, see this article.

We’re Here for You

Experience unparalleled support with our dedicated team of experts. Whether it’s day or night, our knowledgeable and responsive support heroes are ready to assist you whenever you need help.

Subscribe to our newsletter

Join our mailing list to receive latest news and exclusive offers.