Fonio

Keep your existing provider with a SIP trunk

Your numbers and your contract stay with your provider. A SIP trunk connects them to the fonio AI Phone.

With a SIP trunk, incoming and outgoing calls keep running through your provider, and your team makes calls in fonio. You don't need number porting. fonio doesn't charge a separate fee for the connection. You keep paying line and call costs to your provider as before.

This guide is for the person who looks after your phone system or SIP connection. All technical details are in the SIP Trunk Connectivity Guide (PDF).

1

Check the requirements with your provider or IT

Your provider or your phone system must support one of these two options:

  • Recommended: SIP over TLS 1.2 or newer with SRTP (SDES) for voice.
  • Only if TLS is not possible: SIP over TCP with unencrypted RTP.

Not supported: SIP over UDP, calls without an SDP offer (delayed offer), and trunk prefixes.

2

Create the trunk

Open Telephony → Add number → Connect SIP trunk and click New trunk. Choose the Connection type. You can't change it after the trunk is created.

Connection typeFits if …What you need
Phone system registersyou run your own phone system (IP-PBX)nothing else: fonio generates the username and password when you create the trunk. The password is shown only once.
Fixed IP addressesan SBC or carrier delivers calls from fixed public IP addressesyour source IP addresses (up to 20) and up to five gateways in order of priority
Registration with provideryou have a SIP account with a providerregistrar, SIP domain, username and password, plus login name and realm if they differ

Click Next and enter the details under Setup.

3

Set up your side

SettingValue
SIP serveredge.prod.fonio-sip.ai
Port and transport5071 with TLS (recommended) or 5073 with TCP. Enter the port explicitly.
fonio IP addresses167.233.181.37 and 167.233.185.168. Allow both, for signaling and voice.
Voice (media)UDP 20000 to 29999 on fonio's side
CodecsG.711 A-law and µ-law
Phone number formatE.164, for example +493012345678

With Registration with provider, your provider must support "CLIP no screening" so that the people you call see your phone number and not the account's main number.

4

Assign phone numbers and test

Enter every phone number that should run through the trunk in E.164 format. A trunk only accepts calls for numbers assigned to it. Then set up the call flow and test both directions: call in once from outside, and call out once from fonio.

Result: The numbers appear under Telephony → Ring groups & numbers, incoming calls ring in fonio, and outgoing calls show your number.

Common errors

MessageMeaningSolution
403 Wrong TransportThe trunk is set up for TLS, but the phone system connects over TCP (or the other way round).Match port and transport: 5071 for TLS, 5073 for TCP.
488 SRTP RequiredVoice encryption is missing on a TLS trunk.Turn on SRTP with SDES.
486The trunk's limit for simultaneous calls has been reached (default: 10).Ask support@fonio.ai for a higher limit.
Registration pausedYour provider rejected the registration three times in a row.Check and correct the credentials.
Call is rejected even though the trunk is connectedThe called number is not assigned to the trunk or doesn't arrive in E.164 format.Check the number and the format.

If you're stuck, write to support@fonio.ai: connection type, TLS or TCP, affected numbers, and the date and time of a test call. Never send passwords by email.