Instructions for connecting a provider account can be found here.
Many telecom operators cannot offer multiple SIP numbers in a single trunk (as one provider account) and provide separate registration details for each number. For example, when using the provider Zadarma, to connect the phone number +60(3)-2293-042, you should use the login 847706 and password XXXXXX, while to connect the phone number +60(3)-6382-584, you should use the login 847900 and password YYYYYY. The host for both accounts will be the same: sip.zadarma.com.
Task: For each number, specific incoming routing needs to be configured. For example, calls to +60(3)-2293-042 should be routed to the sales department (call queue), while calls to +60(3)-6382-584 should be routed to an IVR menu.
Potential Issue: The issue is that all incoming calls will go through the first Zadarma provider account defined in MikoPBX. Calls from the second provider will never be routed through MikoPBX.
In the Routing → Telephony Providers section, create two provider accounts from the same service provider. In our example, this is Zadarma. Enter the correct login, password, and host.
In the advanced options, specify:
In the Routing → Incoming routing section, set up an incoming call rule for each provider. In the Direct inward dialing number field, enter the login from the provider account. In the Provider field, select Provider-independent...
Instructions for setting up incoming call routing are available here.