Running the DM/PM rules is CPU- and memory-intensive because each rule is issued for every sub-rule linearly. If you do not use DM/PM rules sparingly, it becomes difficult to manage the number of DM/PM rules or sub-rules applied to a call. Ribbon recommends issuing no more than 80-100 sub-rules per call.
In this section:
DM/PM Rule
Command Syntax
% set profiles digitParameterHandling dmPmRule <dmPmRule_name> criteria digitManipulation ruleType
Command Parameters
The DM/PM Rule parameters are listed in the table below.
Parameter | Description |
---|---|
| The name of this DM/PM (digit manipulation/parameter manipulation) rule (Length: 1-23 characters). The default DM/PM rules are listed below. You can also create your own DM/PM rules.
|
criteria | DM/PM Criteria. See Criteria Options table below for a list of criteria. |
| The type of digit manipulation to perform. See Digit Manipulation Parameters table below for details. |
ruleType | See Rule Type Options table below for a listing of sub-parameters. |
Digit Manipulation
Command Syntax
% set profiles digitParameterHandling dmPmRule <dmPmRule_name> digitManipulation digitStringManipulation action <addDestinationCountry | addIngressTrunkGroupCountry | addOriginatingCountry | none> numberOfDigits <0-30> replacement digitString <252 | 253 | 254 | billingNumber | calledDirectoryNumber | calledInNumber | calledNumber | calledUri | callingName | callingNumber | callingUri | causeOfNoId | contractorNumberdialedNumber | fromUri | gnAdditionalCalled | gnAdditionalCalling | gnAdditionalConnected | gnAdditionalOriginalCalled | gnAdditionalRedirecting | gnAdditionalRedirection | gnCalledCesId | gnCollectCallNumber | gnDestination | gnDialedDigits | gnLocalAni | gnNetworkProvidedNumber | gnPortedDialed | gnRedirectingTerminating | gnThirdPartyNumber | gnUserCallingNotScreened | gnUserCallingScreened | location | none | originalCalledNumber | outpulseNumber | paiSipDisplayName | paiSipUri | paiTelDisplayName | presentationNumber | pretranslated | redirecting | redirection | sipFromDisplayName | toUri | twoStageCollected> numberOfDigits <0-30> startDigitPosition <0-29> type <constant | variable> value <0-64 chars> startDigitPosition <0-29> numberParameterManipulation includeInEgress <discardInEgress | includeInEgress | none> natureOfAddress <noa_name> numberLength <0-30, noInput> numberingPlanIndicator <data | ignore | isdn | none | offsetUnused | private | spare0Unknown | spare1 | spare2 | spare3 | spare4 | spare5 | spare6 | spare7 | telephony | telex> presentation <allowed | none | numberUnavailable | restricted | spare> screening <networkProvidedNotScreened | none | userProvidedFailedNetworkScreening | userProvidedNotScreened | userProvidedPassedNetworkScreening> numberType <billingNumber | calledDirectoryNumber | calledNumber | callingNumber | contractorNumber | gnAdditionalCalled | gnAdditionalCalling | gnAdditionalConnected | gnAdditionalOriginalCalled | gnAdditionalRedirecting | gnAdditionalRedirection | gnCalledCesId | gnDestination | gnDialedDigits | gnNQI-252 | | gnNQI-253 | gnNQI-254 | gnNetworkProvidedNumber | gnPortedDialed | gnRedirectingTerminating | gnUserCallingNotScreened | gnUserCallingScreened | location | originalCalledNumber | outpulseNumber | pretranslated | redirecting | redirection | twoStageCollected>
Command Parameters
Parameter | Length/Range | Description |
---|---|---|
digitStringManipulation | N/A |
|
numberParameterManipulation | N/A | Options for manipulating number parameter.
|
|
NOA Options
The following DM/PM rules include assigned criteria groups.
Criteria groups are not visible to the operator and cannot be modified.
DM/PM Rule ID | DM/PM Criteria Group ID |
---|---|
PAI_AND_FROM_HEADER |
|
PRFX_TO_HEADER_CDPN_NTL | TOHD_EXST_CALLED_NTL |
PRFX_TO_HEADER_GDPN_NTL | TOHD_EXST_GN_DIALED_NTL |
PRFX_TO_HEADER_OCN_NTL | TOHD_EXST_OCN_NTL |
PAI_DISPLAY_NAMES_1_NTL |
|
The following table shows the criteria sub-rule sequence for each Criteria Group executed against the DM/PM rules. The logical operator defines the logic used when processing the criteria.
DM/PM Criteria Group ID | Criteria ID Sequence | Logical |
---|---|---|
CPN_!SEND_RES_!EXST |
| OR |
GN_CPN!EXST_CPN_NTL_TEL |
| AND |
GN_CPN_!EXST_CPN_ALLOW |
| AND |
GN_CPN_!EXST_CPN_EXST |
| AND |
GN_CPN_!EXST_CPN_RESTRC |
| AND |
GN_CPN_ALLOW_CPN_!EXST |
| AND |
GN_CPN_ALLOW_CPN_EXST |
| AND |
GN_CPN_EXSTS_CPN_!EXSTS |
| AND |
GN_CPN_EXSTS_CPN_EXSTS |
| AND |
GN_CPN_NTL_TEL |
| AND |
GN_CPN_RES_CPN_!EXST |
| AND |
GN_CPN_RES_CPN_EXISTS |
| AND |
TOHD_EXST_CALLED_NTL |
| AND |
TOHD_EXST_GN_DIALED_NTL |
| AND |
TOHD_EXST_OCN_NTL |
| AND |