Skip to main content
Connect your NFON SIP trunk to Miyon AI so your voice agent can answer calls on your existing phone numbers and make outbound calls. The connection described here uses IP authentication without SIP registration and without a password. First, set up the destination and phone numbers in the NFON portal. Then allow NFON as a source in Miyon AI and configure the outbound connection.

Requirements and connection details

You need access to Template, PBX Endpunkt, and Nummernrouting in the NFON portal, plus the SIP feature enabled under Phone numbers → SIP in Miyon AI. Have your NFON phone numbers and the public signaling IP addresses or networks provided by NFON for your connection ready. The gateway IP is stored in NFON as the destination for inbound calls and for IP authentication of outbound calls. Enter the NFON source addresses on our side instead. Do not confuse these two sides of the connection.

1. Create a template in NFON

Open NFON SIP Trunk → Template → PBX Endpunkt Template and click +. Save with Erstellen. Make sure you select IP Adresse for authentication. The Registrieren option is not part of this setup. Creating a PBX endpoint template with IP authentication and E164 Inbound Ruri Format determines how NFON sends the called number in the SIP destination. With E164, Miyon AI can match that number to the corresponding custom phone number and assigned voice agent. From ID Clip determines how NFON evaluates the displayed caller number.

2. Add a PBX endpoint to the trunk

Open PBX Endpunkt, select your existing main SIP trunk or its trunkset, and click +. The name SIP Trunk STARFACE in the screenshots is an example; select the trunk your phone numbers belong to. Enter the following in the PBX Endpunkt erstellen dialog: Creating a PBX endpoint with the gateway IP, UDP, and port 5060 Save the endpoint. Then check in the overview that Aktiv is enabled and the endpoint is marked Primär. If necessary, adjust Priorität using the arrows. The endpoint is enabled and marked as primary
Endpoint priority applies to the trunkset. If the trunk is already in use, check which other phone numbers and phone systems are routed through it before changing the primary endpoint.

3. Route phone numbers in NFON

Open Nummernrouting and click +.
  1. Give the routing a name.
  2. Under Verfügbare Trunksets/Dienste, select the same main trunk to which you added the new PBX endpoint.
  3. Select the appropriate Nummernblock.
  4. Select the phone number or numbers your voice agent should handle.
  5. Save the routing.
Selecting the trunkset, number block, and required phone number
The new assignment then appears in the routing overview. The names and phone numbers in the screenshots are examples; use your own values. Saved phone number routing in the overview

4. Set up inbound calls in the platform

In Miyon AI, open Phone numbers → SIP → Set up SIP connection → Inbound.
  1. Enable Receive calls via IP.
  2. Under Allowed Source IPs / CIDRs, enter the NFON signaling network 109.68.96.0/21, unless NFON specifies different source addresses for your connection. You can separate multiple IP addresses or CIDRs with commas.
  3. Save the connection and make sure Inbound is active.
Inbound SIP connection with allowed source addresses and IP mode
192.168.0.1 in the screenshot is only an example. Replace it with the real public source addresses specified for your NFON connection. Do not enter your local network address or our gateway IP 35.198.71.76 here. The allowed sources list is required in IP mode.
The NFON SIP Trunk Flexx manual, page 5, lists 109.68.96.0/21 as its signaling network. Use this network if it matches the current connection details from NFON; different details provided by NFON for your connection take precedence. The IP setting applies to Inbound and Outbound of the same SIP connection. For this NFON setup, you do not need to enter your personal inbound SIP address in the NFON portal: NFON sends directly to the gateway IP. Miyon AI uses the allowed source and the full called number to route the call.

Assign the number to the voice agent

Under Custom phone numbers → Add phone number, add each number routed by NFON and assign it to the required voice agent. Use the exact full E.164 number sent by NFON, for example +4921112345678. An additional or missing final digit means a different phone number. A number block in NFON does not replace assigning the individual phone numbers in Miyon AI. See Custom SIP Connection for details.

5. Set up outbound calls

Open Set up SIP connection → Outbound.
  1. Enter siptrunk.cloud-cfg.com as the Termination URL (domain or IP).
  2. Keep IP authentication (no password) enabled. In this mode, you do not need a SIP username or SIP password in the platform.
  3. If needed, open Advanced to set the User-Agent (optional). Read the next section before making your first test call.
  4. Save the connection and make sure Outbound is active.
Outbound SIP connection with IP authentication and an optional User-Agent The sip.provider.example placeholder in the screenshot is not an NFON address. Enter siptrunk.cloud-cfg.com there. The termination URL is a single outbound SIP destination; a list of source IP addresses belongs exclusively in the Inbound setting. For outbound calls, use a phone number from your NFON trunk assigned to the calling voice agent under Custom phone numbers. Then start a test under Outbound Calls.

Set the User-Agent before the first call

NFON remembers the User-Agent of a PBX endpoint. If no value is stored yet, NFON learns it from the next outbound SIP call setup (INVITE). For subsequent calls, NFON compares the first five characters. A different value can therefore prevent a call even when the IP address is correct. This behavior is described on page 37 of the NFON manual. For a new connection, you can leave the optional field empty to use the default or set a fixed value before the first call. Keep that value unchanged afterwards. No particular brand name is required. To change the User-Agent of an endpoint that has already been used:
  1. Save your chosen value under Outbound → Advanced → User-Agent (optional).
  2. Open the corresponding PBX Endpunkt in the NFON portal.
  3. Click Reset des User Agents.
  4. Then start an outbound test call from Miyon AI. NFON learns the newly sent value from that call.
The reset and learning process are described on page 38 of the NFON manual. The User-Agent is not a password.

6. Set up and test warm transfer

For NFON, use warm transfer when the voice agent needs to hand a caller over to a colleague. A working outbound connection is required. While the inbound conversation stays connected, Miyon AI starts an additional outbound call through your NFON trunk to the transfer destination. Once the handover is accepted and confirmed, the participants are connected. The trunk needs at least two concurrent call channels for the inbound call and the additional outbound call. Other ongoing calls require additional capacity. Set up the handover using the Warm Transfer guide. Test a normal outbound call first, then test the transfer, including acceptance and audio in both directions.
SIP REFER: The NFON SIP Trunk Flexx manual does not describe how to configure in-dialog REFER, which transfers a call within an existing SIP dialog. Use warm transfer for call handovers. The outbound connection must be set up because the handover starts an additional outbound call.

Check the connection

If you need support, note the test time and time zone, caller and destination numbers, and the affected direction. These details help identify the calls in the SIP logs on both sides.