MikoPBX and FreePBX (IAX)
Instructions for connecting multiple PBX systems
Last updated
Was this helpful?
Instructions for connecting multiple PBX systems
Last updated
Was this helpful?
In MikoPBX, navigate to "Routing" → "Telephony Providers":
Create a new IAX provider:
Fill in the parameters:
Provider Name – any name
Host or IP Address – the IP address of FreePBX
Username – “tmp”
Password – any (secure) password
Save the parameters.
After saving, you’ll see the provider ID in the browser’s address bar. Copy it into the Username field:
In FreePBX, go to "Connectivity" → "Trunks" and add a new IAX2 trunk:
Under the "General" tab, set Trunk Name to the login used in MikoPBX (seen in the browser address bar, e.g., “IAX-TRUNK-1E8B1CFE”):
Under "Dialed Number Manipulation Rules," define a pattern for outgoing calls:
Go to "pjsip Settings" → "iax2 Settings." Under Trunk Name, use the same login from MikoPBX (e.g., “IAX-TRUNK-1E8B1CFE”):
Fill in PEER Details:
In the "Incoming" tab, fill in the Register String field in the format “LOGIN:PASSWORD@IP_FREE_PBX”:
If needed, define a separate route for each DID with its own destination:
Go to "Connectivity" → "Inbound Routes" and define an inbound route:
Go to "Connectivity" → "Outbound Routes" and define an outbound route:
Define an incoming route (). In this example, all calls are routed to extension 202:
Define an outgoing route ():