Reference9:Gateway/CGPN-Maps

From innovaphone wiki
Jump to navigation Jump to search
There are also other versions of this article available: Reference | Reference7 | Reference9 (this version)

The CGPN (Calling Party Number) can be changed with mappings entered here for a call sent thru the respective route. A headmatch of the received number is performed and the matching digits are replaced by the out digits. '?' can be used to match any digit.

If the call is received from an interface configured as Gatekeeper/Registrar, the mapping can be restricted to a certain registration.

On presentation restricted numbers can be matched and the presentation restricted property of a calling party number can be set or cleared.

The DGPN (Diverting Party Number) is also changed according to the configured CGPN mapping.

If there are multipe CGPN-Maps, only the first one matching is used.

Configuration

GK Reg. Name

If configured, the mapping is applied only if the call is received from a Gatekeeper/Registrar interface and the name configured for the registration matches this name.

Number In

Digits used for the headmatch on the received number. In addition to the normal dialing digits (0..9,*,#) the following characters have special meaning:


R
If 'R' is used as first digit of the number only numbers with 'presentation restricted' match. In this case the 'presentation restricted' property is cleared if 'R' is not used on 'Number Out'.
?
Can be used at any place inside the number and means that any received digit matches.
.
Can be used at any place inside the number and means that any received digit matches. All input digits starting with the first digit matching to '.' are copied to the output number.
!
Can be used at the end of the number. It indicates that all digits received behind the matching digits shall be discarded.

Number Out

The matching digits are replaced by this number.

A ? is used as placeholder to be replaced by digits matched to ? in number in. An R as first character means that the presentation restricted property will be set for the calling party number.

A ~ is replaced by the channel number for the call indicated by caller (this only makes sense if the call comes from an ISDN interface).

Presentation

By using 'Set Presentation Restricted', CLIR (Calling Line Identification Restricted) can be activated. With 'Clear Presentation Restricted' CLIR is deactivated. This is a more convenient way to configure CLIR manipulation than using 'R' in Number-In or Number-Out. If 'Clear Presentation Restricted' is activated the map matches only to calls with the presentation restricted set. Together with the 'Verify CGPN' flag at the route this can be used to route calls with CLIR differently.

Screening

With this the Screening Indicator of the Calling Party Number can be set to 'User provided', 'User provided and verified', 'User provided verify failed' and 'Network provided'. Only used to solve compatibility issues.

Samples

!->0

An incoming CGPN is completely replaced by 0

12->

An incoming CGPN of 1234 is changed to 34

12->34

An incoming CGPN of 1234 is changed to 3434

12??->56

An incoming CGPN of 12345 is changed to 565

12??!->56

An incoming CGPN of 12345 is changed to 56

R12->34

An incoming CGPN of R1234 is changed to 3434. Only restricted numbers starting with 12 match.

12->R34

An incoming CGPN of 1234 is changed to R3434. Any number starting with 12 matches.

1..->2

An incoming CGPN of 1234 is changed to 2234. Any number starting with 1 matches.

1..!->2

An incoming CGPN of 1234 is changed to 223. Any number starting with 1 matches.