M2 DIDs

From Kolmisoft Wiki
Revision as of 17:16, 5 February 2020 by Gilbertas (talk | contribs)
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 require additional DID management/call-flow functionality, we strongly suggest to use MOR Class 4 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 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 in to Termination Points 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 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. 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. Assign Tariff you created in 2nd step for new TP.
  4. For each TP created above, create a new Dial Peer and disable Stop Hunting in DP settings
  5. Assign TP to DP and in [M2_Dial_Peers#Routing_by_Destination.2FNumber_B|Destination by Regexp]] field put DID number you want to route this DP. If several DIDs must point to same terminating device, several DIDs can be put in Destination by Regexp like this ^(1111111|2222222|3333333)$
  6. Create a new Routing Group and assign all Dial Peers created in step above.
  7. 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