SIPFLEX GUIDE

FreePBX 17 PJSIP trunk

Use the FreePBX PJSIP trunk form with the account-specific registrar and authentication values shown in Sipflex.

Before you start

Sign in to the Sipflex portal and open the trunk you want to connect. Keep the profile, phone number or username and account-specific credentials visible while you configure your system.

  • FreePBX 17 administrator access
  • A Sipflex trunk username and separate trunk password
  • A destination for inbound calls
  • A backup of the FreePBX configuration
Use the current Sipflex endpoints.

The SIP registrar is sip.sipflex.co.uk and the IAX2 host is iax.sipflex.co.uk. Usernames and passwords remain account-specific and are shown in your portal.

Configure the connection

  1. Open Connectivity → Trunks and choose Add Trunk → Add SIP (chan_pjsip) Trunk.
  2. Give the trunk a clear name such as Sipflex.
  3. On pjsip Settings → General, enter the trunk username as Username and Authentication Username, then enter the trunk password.
  4. Set SIP Server to sip.sipflex.co.uk and SIP Server Port to 5060 for UDP/TCP or 5061 for TLS.
  5. Set Authentication to Outbound and Registration to Send.
  6. On Advanced, select RFC4733/RFC2833 DTMF, disable direct media, and allow alaw/ulaw or the supported codecs you require.
  7. Submit and Apply Config, then create an outbound route using the Sipflex trunk.
  8. Create inbound routes for every full Sipflex number delivered to the trunk.
FreePBX fieldValue
UsernameSipflex trunk username
Auth usernameSipflex trunk username
SecretSipflex trunk password
SIP serversip.sipflex.co.uk
Port5060 / 50600, or 5061 for TLS
AuthenticationOutbound
RegistrationSend
Contextfrom-pstn or your restricted inbound context
DTMFRFC4733 / RFC2833
Direct mediaNo
Additional numbers

Add other Sipflex numbers as FreePBX inbound routes; they do not require separate registrations.

Verify the service

  1. Confirm the trunk is registered or that the correct public peer IP is saved in the Sipflex portal.
  2. Place an outbound test call and check the caller ID presented.
  3. Call the Sipflex number from another network and confirm it reaches the expected inbound context or route.
  4. Check two-way audio and RFC4733/RFC2833 DTMF.

Support scope

We can check Sipflex credentials, registration state and provider-side call routing. Your PBX, device, firewall, dial plan and application remain your responsibility.

Contact support