Difference between revisions of "PBX connection to MOR"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: Line 1:
==Common connection diagram==
Any IP/PSTN capable PBX can be connected to MOR:
Any IP/PSTN capable PBX can be connected to MOR:



Revision as of 15:15, 18 December 2007

Common connection diagram

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

Connecting pbx.png


To simplify diagram - we can show the common way how any PBX can be connected to MOR:


Pbx simple.png


Here main principles will be explained. For detailed example please see 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.


Dialing from PBX

Our task is to bill each Phone separately.

  • In MOR we need to create 1 User/Device for PBX
  • We need to create 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 for 1 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


Dialing to PBX

DID should be forwarded to PBX for real device to get call.

In order to assign DID to virtual device you need to do following steps:

  1. Mark virtual device as Trunk
  2. Assign DID to virtual device
  3. Go to device's Call Flow
  4. 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 call to PBX device – call will fail.

And this let’s user login to GUI and see all incoming calls to his device.

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.


Example

Detailed example is prepared for Trixbox.