M2 DIDs

From Kolmisoft Wiki
Jump to navigationJump to search

Description

M2 is class 4 switch designed for wholesale/call center traffic so there is no separate DIDs configuration page as in MOR. DID number will be routed the same as any outgoing number.

It is possible to use DIDs in M2 using some workarounds as explained bellow. If there is a requirement to use/manage a lot of DIDs and/or use additional DID management/call-flow functionality, we strongly suggest to use MOR Class 5 Switch, as M2 was not designed to use/manage DIDs.

Did Management using Tariffs

Basic idea here is to create a separate Tariff for each Termination Point (TP) and route DIDs using Destination by Tariff Dial Peer setting. The following procedure assumes fresh configuration, where you will create new Origination Point (OP) for DID provider and new Termination Points as DID termination endpoints, but this can be easily applied to existing OPs and/or TPs too. Detailed procedure is the following:

  1. Create a new Originator Tariff and upload all DID numbers you want to manage as prefixes with rate 0.00.
  2. For each TP (DID terminating device), create a separate Terminator Tariff and upload only DIDs (as prefixes with rate 0.00) which should be routed to this particular TP. DID numbers should be uploaded as prefixes with rate 0.00
  3. For each endpoint you want to assign DID to, create a new Termination Point. In TP settings assign appropriate tariff with DID number(s) for that TP.
  4. Assign all TPs created in strep above in one Dial Peer. In DP settings, select option Destination by Tariff.
  5. Create a new Routing Group and assign Dial Peer to this Routing Group. If you are using existing Routing Group with other Dial Peers, make sure to enable Stop Hunting in DP settings, otherwise calls to DID can be routed outside if DID endpoint fails and M2 continue to check Termination Points in other DPs.
  6. Create a Origination Point for DID provider and assign new Routing Group and Originator Tariff created in 1st step to this new Origination Point.

Now DID numbers coming from this DID provider will be routed to appropriate Termination Point.

Did Management using Single Termination Tariff and Dial Peers

Basic idea here is to create one Tariff with all DIDs you want to manage and assign it to Termination Points (TPs) and route DIDs using Destination by Regexp Dial Peer setting. The following procedure assumes fresh configuration, where you will create new Origination Point (OP) for DID provider and new Termination Points/Dial Peers as DID termination endpoints, but this can be applied to existing OPs and/or TPs too. Detailed procedure is the following:

  1. Create a new Originator Tariff and upload all DID numbers you want to manage as prefixes with rate 0.00.
  2. Create a new Terminator Tariff and upload all DID numbers you want to manage as prefixes with rate 0.00.
  3. For each endpoint you want to assign DID to:
    • Create a new Termination Point and assign Tariff you created in 2nd step for this new TP.
    • Create a new Dial Peer and
    • Disable Stop Hunting in DP settings and in Destination by Regexp field put DID number you want to route to this particular DP. If several DIDs must point to same terminating device, several DIDs can be put in Destination by Regexp field like this ^(1111111|2222222|3333333)$
    • Assign Termination Point to Dial Peer.
  4. Create a new Routing Group and assign all Dial Peers created in step above.
  5. Create a Origination Point for DID provider and assign new Routing Group and Originator Tariff created in 1st step to this new Origination Point.

Now DID numbers coming from this DID provider will be routed to appropriate Termination Point.

See also