Reach the outside world.

Connect a SIP provider, route inbound numbers and outbound calls, and keep the trunk working behind NAT.

MONOSIP v1.9.9Reviewed 25 November 2026 · v1.9.9Upstream reference ↗

Add your provider

Open Admin → SIP providers and enter the details your provider gives you: registrar host, SIP login, password and the numbers (DIDs) on the account. Save, and MonoSIP writes the registration and reloads Asterisk. The provider list shows Registered within a few seconds.

FieldWhat to enter
HostThe provider's registrar, e.g. sip.provider.example
UsernameSIP login; also sent as the Contact user
NumbersEvery DID that should ring your PBX
Caller IDThe number shown on outbound calls

Works behind NAT without a port forward

Providers register from their own UDP transport on port 5070. The provider sends inbound calls back to the address and port it saw, so routers that rewrite the source port still deliver them. A registering trunk needs no inbound firewall rule.

Set EXTERNAL_IP to the address your phones reach (LAN or VPN). Providers are given the public address found through STUN, so both sides get an address they can use.

Send each number where it belongs

Inbound routes match a DID and send the call to an extension, ring group, queue or IVR. Add a schedule to a route to switch destinations outside business hours. Callers keep their own number on the phone display.

Set business hours and holidays →

Control outbound dialling

Outbound routes pick a trunk by dial pattern and can strip or add prefixes. Extension permissions decide who may call mobiles, international numbers or premium lines. Emergency numbers always go out, even from restricted extensions.

When calls do not arrive

  1. Check the trunk shows Registered. If not, re-check login and password.
  2. Run pjsip set logger on and call the number. No INVITE means the provider cannot reach the registration Contact.
  3. An INVITE answered with 404 means the number is not listed on the trunk or has no inbound route.