Difference between revisions of "3CX PBX interconnection with MOR"

From Kolmisoft Wiki
Jump to navigationJump to search
Tag: Reverted
Line 53: Line 53:
* The hostname in the field "Registrar/Server/Gateway Hosted or IP" should match what you entered in the "Domain" field in MOR, e.g. user1.kolmisoft.com, user2.kolmisoft.com, etc.
* The hostname in the field "Registrar/Server/Gateway Hosted or IP" should match what you entered in the "Domain" field in MOR, e.g. user1.kolmisoft.com, user2.kolmisoft.com, etc.
<br><br>
<br><br>
[[File:3cx trunk config.jpg|500px]]
[[File:3cx trunk config.jpg|800px]]
<br><br>
<br><br>

Revision as of 05:15, 8 October 2023

Single-trunk

If each of your clients has a separate 3CX instance with a unique IP address, follow these steps:

Configurations in MOR



MOR Device Settings Trunk Yes.png

  • You can also select Icon trunk with ani.png Trunk with ANI if you want to do an additional authorization by CLI or Domain.
  • If you choose Icon trunk with ani.png Trunk with ANI, click on Icon clis.png CLIs, then “Add new CLI”



Add CLI.png

  • Fill in the field “CLI or "Domain" (for example, demo.kolmisoft.com).



Add CLI - CLI or Domain.png



Configurations in 3CX PBX

  • Create a new trunk and enter the IP address of MOR.
  • If you entered some hostname name in MOR CLI > Domain settings, add the same hostname here.



3cx trunk config.jpg

Multi-trunk

If you want to host a few clients on the same 3CX instance and multiple clients will share the same IP address, you’ll need a few additional steps.

Configurations in MOR

  • Create an Interconnection User with an empty Tariff (without rates) and empty LCR (without providers). If multiple clients use the same IP address and MOR cannot do proper authorization through the domain, it will bill one of your users. To avoid this, you must create a “fake” Interconnection User that will be used in all cases, where authorization cannot be done (e.g. your users are sending calls from a domain that is not defined in MOR).
  • Create a SIP device for the Interconnection User with the IP address of the 3CX PBX server.
  • Choose Icon trunk.png Trunk --> “Yes” or Icon trunk with ani.png Trunk with ANI.
  • Create a regular User (that represents your client on 3CX) in MOR. Assign a proper Tariff and LCR for this User.
  • Add a Virtual Device for this User and in the top settings click on Icon clis.png CLIs and then “Add new CLI”.
  • Fill in the field "Domain" (for example, demo.kolmisoft.com). Each subdomain represents your client/tenant in 3CX PBX (e.g. user1.kolmisoft.com, user2.kolmisoft.com, etc.).



Add CLI - CLI or Domain.png



Configurations in 3CX

  • Create a new trunk for each user/tenant and enter the IP address of MOR.
  • The hostname in the field "Registrar/Server/Gateway Hosted or IP" should match what you entered in the "Domain" field in MOR, e.g. user1.kolmisoft.com, user2.kolmisoft.com, etc.



3cx trunk config.jpg