Configuring GNR Number Negotiation
The device functioning as the trunk gateway, following the GNR negotiation rules, can meet the hunt group service requirements in the scenario of tandem calls to the iMSS through trunks.
Context
In a voice project, the existing TDM PBX needs to connect to the iMSS through trunks for bidirectional trunk-based tandem calls. Figure 2-20 shows the network diagram.
To meet the hunt service requirements on the iMSS, with regard to trunk-based tandem calls from the TDM PBX (narrowband side) to the iMSS (broadband side), also ensure that calling numbers in SIP messages can be recognized on the broadband side. To achieve so, the trunk gateway uses the GNR list to check whether the calling numbers can be recognized on the broadband side. Table 2-4 describes the negotiation rules.
Result of Calling Number Matching |
SIP Message (From Field) |
SIP Message (PAI Field) |
---|---|---|
Calling number in the GNR list |
From: <SIP:Calling number@Calling address:Port> |
P-Asserted-Identity: <SIP:Calling number@Calling address:Port> |
Calling number not in the GNR list |
From: <SIP:GNRNumber@Calling address:Port> |
P-Asserted-Identity: <SIP:GNRNumber@Calling address:Port> |
Anonymous call |
From: <anonymous@anonymous.invalid> |
P-Asserted-Identity: <SIP:GNRNumber@Calling address:Port> |
The trunk gateway uses the GNR list to check calling numbers, and this list contains several full numbers that can be recognized on the broadband side.
The GNR number uniquely identifies a GNR list. When matching fails, the GNR number is sent to the broadband side as the default calling number, and the GNR number also must be recognized on the broadband side.
Prerequisites
The following data has been configured on the device for implementing basic bidirectional trunk-based tandem calling:
- Digital trunks (PRA/BRA) to the TDM PBX and SIP trunks to the iMSS
- Data (such as DN set) of trunks to the TDM PBX and to the iMSS
Configuration Procedure
Step |
Action |
Command |
Description |
---|---|---|---|
1 |
Enter the system view. |
system-view | - |
2 |
Enter the voice view. |
voice | - |
3 |
Create a GNR list. |
gnr-number gnr-number-value |
The gnr-number-value parameter uniquely identifies a GNR list, and its value is also the default calling number entered in the SIP message when matching fails. The system supports a maximum of 30 GNR lists. |
4 |
Add full numbers in the GNR list. |
full-number full-number-value [ number number-value steplen steplen-value ] |
A GNR list can contain a maximum of 50 full numbers. |
5 |
Return to the voice view. |
quit |
- |
6 |
Enter the trunk group view. |
trunk-group trunk-group-name |
Bind the same GNR list to the SIP trunk group destined for the iMSS and PRA/BRA trunk group destined for the TDM PBX. NOTE:
As for trunks on broadband side, configure GNR numbers based on the trunk type by referring to Table 2-5. |
7 |
Bind the GNR list to the trunk groups. |
gnr-number gnr-number-value [ num count [ step-lenth step-lenth-value ] ] |
|
8 |
Configure GNR numbers for trunk groups. |
number-parameter numpara-no numpara-value |
|
9 |
Return to the voice view. |
quit |
|
10 |
Save the configuration. |
save | - |
Broadband Trunk Type |
GNR Value |
||
---|---|---|---|
125 |
126 |
127 |
|
SIP IP |
2 |
default |
default |
SIP AT0 |
2 |
0 |
0 |
SIP PRA |
2 |
default |
0 |
Description |
When an anonymous call comes into an office from the narrowband side and goes out of the office from the broadband side, ensure that the From domain content meets requirements in Table 2-4: From: <anonymous@anonymous.invalid> |
If the trunk on the broadband side is SIP AT0, ensure that calling numbers received on the iMSS side are not forcibly changed to allocated registration numbers. |
If the trunk on the broadband side is SIP AT0 or SIP PRA trunk group, ensure that the Invite message carries the PAI domain rather than PPI domain. |
Configuration Example
Create GNR list 123456, add numbers 1234567890 to 1234567894 as full numbers to the GNR list, and bind the GNR list to trunk groups pra1 and sip1.
<Huawei> system-view [Huawei] voice [Huawei-voice] gnr-number 123456 [Huawei-voice-gnrnumber-123456] full-number 1234567890 number 5 steplen 1 [Huawei-voice-gnrnumber-123456] quit [Huawei-voice] trunk-group pra1 [Huawei-voice-trunkgroup-pra1] gnr-number 123456 [Huawei-voice-trunkgroup-pra1] quit [Huawei-voice] trunk-group sip1 [Huawei-voice-trunkgroup-sip1] gnr-number 123456 [Huawei-voice-trunkgroup-sip1] number-parameter 125 2 [Huawei-voice-trunkgroup-sip1] quit [Huawei-voice] save
Usage Example
Action |
Command |
Expected Result |
---|---|---|
Query GNR configuration information. |
display voice gnr-number [ GNR-number-value ] |
Parameter values in the command output are the same as the preset ones during data configuration. |
Query the GNR list bound to the trunk groups. |
display voice trunk-group [ trunk-group-name [ para-value ] ] |
The GNR list bound to the trunk groups in the command output is the desired one. |