Difference between revisions of "PBX connection to MOR"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Any IP/PSTN capable PBX can be connected to MOR:
==Common connection diagram==
 
Any IP/PSTN-capable PBX can be connected to MOR:


[[Image:connecting_pbx.png]]
[[Image:connecting_pbx.png]]




To simplify diagram - we can show the common way how any PBX can be connected to MOR:
To simplify the diagram, this is the common way for a PBX to be connected to MOR:




Line 10: Line 12:




Here main principles will be explained. For detailed manual please see [[MOR and Trixbox | Trixbox]] section.
Here the main principles will be explained. For a detailed example, see the [[MOR and Trixbox | Trixbox]] section.
 
In this diagram we see that we have 1 PBX connected to MOR Billing system. 2 phones (Phone 1 and Phone 2)
are connected to PBX. Now both phones can dial out to the PSTN through PBX and MOR.


In this diagram, one PBX is connected to the MOR system. Two phones (Phone 1 and Phone 2)
are connected to the PBX. Now both phones can dial out to the PSTN through PBX and MOR.


==Dialing from PBX==
==Dialing from PBX==


Our task is to bill each Phone separately.
Our task is to bill each phone separately.


* In MOR we need to create 1 User/Device for PBX
* In MOR we need to create one User/Device for PBX.
* We need to create Device for this PBX to describe how it is connected to MOR
* We need to create a Device for this PBX to describe how it is connected to MOR.
* You should mark this device as Trunk with ANI
* You should mark this device as Trunk with ANI.


To bill our devices separately we need:
To bill our devices separately we need:


* To create for 1 virtual device for each real device connected to PBX
* To create one virtual device for each real device connected to PBX.
* In device's CLI menu we need to add CallerID's of these devices as described in PBX - using CallerID of device MOR recognizes who is calling and assigns call to correct device
* In the device's CLI menu we need to add CallerIDs of these devices as described in PBX. Using the CallerID of the device, MOR recognizes who is calling and assigns the call to the correct device.




==Dialing to PBX==
==Dialing to PBX==


DID should be forwarded to PBX for real device to get call.
DIDs should be forwarded to the PBX for a real device to get the call.
 
In order to assign a DID to a virtual device, the following steps are required:


In order to assign DID to virtual device you need to do following steps:
# Mark the virtual device as Trunk.
# Assign a DID to the virtual device.
# Go to the device's Call Flow.
# In the Before Call state, forward the call to the PBX device.


# Mark virtual device as Trunk
That way, when a call goes to the virtual device through a DID, it should go through PBX Trunk.
# Assign DID to virtual device
# Go to device's Call Flow
# In Before Call state Forward call to PBX device


That way when call goes to virtual device through some DID it should go through PBX Trunk.
If you do not forward the call to the PBX device, the call will fail.


If you do not forward call to PBX device – call will fail.
This lets the user log in to GUI and see all incoming calls to his device.


And this let’s user login to GUI and see all incoming calls to his device.
'''ATTENTION! In order for the virtual device to receive calls from the DID, the PBX should route calls to the correct device. MOR does not know the real location/connection type of the virtual device, it just sends the call to the PBX, and the PBX should send the call to the correct device. MOR CAN'T influence the PBX's configuration, so the PBX should be configured separately to handle incoming calls from the DIDs.'''


'''ATTENTION! In order for virtual device to receive call from the DID, PBX should route call to correct device. MOR does not know about real location/connection type of virtual device, it just sends call to PBX and PBX should send call to correct device. MOR CAN'T influence PBX's configuration so PBX should be configured separately to handle incoming call from the DIDs.'''
==Examples==
* [[MOR and Trixbox | MOR and Trixbox]].
* [[3CX_PBX_interconnection_with_MOR | MOR and 3CX]].
* [[3CX_PBX_interconnection_with_M4 | M4 and 3CX]].

Latest revision as of 11:37, 4 October 2023

Common connection diagram

Any IP/PSTN-capable PBX can be connected to MOR:

Connecting pbx.png


To simplify the diagram, this is the common way for a PBX to be connected to MOR:


Pbx simple.png


Here the main principles will be explained. For a detailed example, see the Trixbox section.

In this diagram, one PBX is connected to the MOR system. Two phones (Phone 1 and Phone 2) are connected to the PBX. Now both phones can dial out to the PSTN through PBX and MOR.

Dialing from PBX

Our task is to bill each phone separately.

  • In MOR we need to create one User/Device for PBX.
  • We need to create a Device for this PBX to describe how it is connected to MOR.
  • You should mark this device as Trunk with ANI.

To bill our devices separately we need:

  • To create one virtual device for each real device connected to PBX.
  • In the device's CLI menu we need to add CallerIDs of these devices as described in PBX. Using the CallerID of the device, MOR recognizes who is calling and assigns the call to the correct device.


Dialing to PBX

DIDs should be forwarded to the PBX for a real device to get the call.

In order to assign a DID to a virtual device, the following steps are required:

  1. Mark the virtual device as Trunk.
  2. Assign a DID to the virtual device.
  3. Go to the device's Call Flow.
  4. In the Before Call state, forward the call to the PBX device.

That way, when a call goes to the virtual device through a DID, it should go through PBX Trunk.

If you do not forward the call to the PBX device, the call will fail.

This lets the user log in to GUI and see all incoming calls to his device.

ATTENTION! In order for the virtual device to receive calls from the DID, the PBX should route calls to the correct device. MOR does not know the real location/connection type of the virtual device, it just sends the call to the PBX, and the PBX should send the call to the correct device. MOR CAN'T influence the PBX's configuration, so the PBX should be configured separately to handle incoming calls from the DIDs.

Examples