Difference between revisions of "M2 DIDs"
(13 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
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. | 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 | 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. | ||
<br><br> | |||
= Did Management using Tariffs = | |||
Basic idea here is to create a separate Tariff for each [[M2_Termination_Points|Termination Point (TP)]] and route DIDs using [[M2_Dial_Peers#Routing_by_Destination.2FNumber_B|Destination by Tariff]] Dial Peer setting. The following procedure assumes fresh configuration, where you will create new [[M2_Origination_Points|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: | Basic idea here is to create a separate Tariff for each [[M2_Termination_Points|Termination Point (TP)]] and route DIDs using [[M2_Dial_Peers#Routing_by_Destination.2FNumber_B|Destination by Tariff]] Dial Peer setting. The following procedure assumes fresh configuration, where you will create new [[M2_Origination_Points|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: | ||
# Create a new Originator [[M2_Tariffs|Tariff]] and upload all DID numbers you want to manage as prefixes with rate 0.00. | # Create a new Originator [[M2_Tariffs|Tariff]] and upload all DID numbers you want to manage as prefixes with rate 0.00. | ||
# For each [[M2_Termination_Points|TP]] (DID terminating device), create a separate Terminator [[M2_Tariffs|Tariff]] and upload only DIDs which should be routed to this particular TP. DID numbers should be uploaded as prefixes with rate 0.00 | # For each [[M2_Termination_Points|TP]] (DID terminating device), create a separate Terminator [[M2_Tariffs|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 | ||
# 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. | # 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. | ||
# Assign all TPs created in strep above in one Dial Peer. In DP settings, select option [[M2_Dial_Peers#Routing_by_Destination.2FNumber_B|Destination by Tariff]]. | # Assign all TPs created in strep above in one Dial Peer. In DP settings, select option [[M2_Dial_Peers#Routing_by_Destination.2FNumber_B|Destination by Tariff]]. | ||
# Create a new [[M2_Routing_Groups|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 [[M2_Dial_Peers#General_settings|'''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. | # Create a new [[M2_Routing_Groups|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 [[M2_Dial_Peers#General_settings|'''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. | ||
# Create a [[M2_Origination_Points|Origination Point | # Create a [[M2_Origination_Points|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. | Now DID numbers coming from this DID provider will be routed to appropriate Termination Point. | ||
<br><br> | |||
Basic idea here is to create one Tariff with all DIDs you want to manage and assign | =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 [[M2_Termination_Points|Termination Points (TPs)]] and route DIDs using [[M2_Dial_Peers#Routing_by_Destination.2FNumber_B|Destination by Regexp]] Dial Peer setting. The following procedure assumes fresh configuration, where you will create new [[M2_Origination_Points|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: | |||
# Create a new Originator [[M2_Tariffs|Tariff]] and upload all DID numbers you want to manage as prefixes with rate 0.00. | # Create a new Originator [[M2_Tariffs|Tariff]] and upload all DID numbers you want to manage as prefixes with rate 0.00. | ||
# Create a new Terminator [[M2_Tariffs|Tariff]] and upload all DID numbers you want to manage as prefixes with rate 0.00. | # Create a new Terminator [[M2_Tariffs|Tariff]] and upload all DID numbers you want to manage as prefixes with rate 0.00. | ||
# For each endpoint you want to assign DID to | # 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''' [[M2_Dial_Peers#General_settings|'''Stop Hunting''']] in DP settings and in [[M2_Dial_Peers#Routing_by_Destination.2FNumber_B|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. | |||
# Create a new [[M2_Routing_Groups|Routing Group]] and assign all Dial Peers created in step above. | # Create a new [[M2_Routing_Groups|Routing Group]] and assign all Dial Peers created in step above. | ||
# Create a [[M2_Origination_Points|Origination Point | # Create a [[M2_Origination_Points|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. | Now DID numbers coming from this DID provider will be routed to appropriate Termination Point. | ||
<br><br> | <br><br> | ||
= See also = | |||
* [[M2 Routing Logic]] | * [[M2 Routing Logic]] | ||
* [[M2 | * [[M2 Dial Peers]] | ||
* [[M2 Termination Points]] | * [[M2 Termination Points]] |
Latest revision as of 09:32, 6 February 2020
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:
- Create a new Originator Tariff and upload all DID numbers you want to manage as prefixes with rate 0.00.
- 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
- 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.
- Assign all TPs created in strep above in one Dial Peer. In DP settings, select option Destination by Tariff.
- 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.
- 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:
- Create a new Originator Tariff and upload all DID numbers you want to manage as prefixes with rate 0.00.
- Create a new Terminator Tariff and upload all DID numbers you want to manage as prefixes with rate 0.00.
- 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.
- Create a new Routing Group and assign all Dial Peers created in step above.
- 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.