Simulation of external calls
Configuring simulated external calls
Last updated
Was this helpful?
Configuring simulated external calls
Last updated
Was this helpful?
A useful tool for configuring MikoPBX is to simulate incoming and outgoing external calls without connecting a real provider, thus saving costs.
Go to "Call Routing" → "Telephony Providers":
Add a new SIP Provider:
Specify the following parameters for the new provider:
Name – arbitrary
Account Type – "Incoming Registration"
DTMF Mode – "auto"
In the provider creation menu, go to "Advanced Settings":
Disable the "fromuser" field.
In "Additional Options," add:
You can replace "66179878899" with any desired number.
Save your settings and note:
The provider ID, e.g., "SIP-TRUNK-704CB9B8", which you can find in the address bar or in the provider details.
The password.
To make calls with a simulated number, you need to connect the provider to a softphone. In this example, we’ll use Zoiper.
Enter the following credentials:
Login – "ProviderID@MikoPBXIPAddress"
Password – The password from the provider’s settings.
Replace:
ProviderID with the ID of your provider.
MikoPBXIPAddress with the IP address of your PBX.
Complete the authorization process by clicking through “Next.” You can verify the successful connection by checking the provider’s status indicator:
For the simulation provider to work properly, you must define both incoming and outgoing routes. Below are examples used in this guide.
Alternatively, you can manually describe a route for simulating external calls (add this at the end of the "extensions.conf" file in "System file customization"):
In this example, the route applies to calls through the "SIP-TRUNK-0CDC0182" provider, and the displayed caller number is "66179878899".
In the context above, change "SIP-TRUNK-0CDC0182" to your actual provider ID and 66179878899 to your number.