SIP User's Manual 356 Document #: LTRT-83310
Mediant 600 & Mediant 1000
18.8.4 Trunk-to-Trunk Routing Example
This example describes two devices, each interfacing with the PSTN through four E1
spans. Device A is configured to route all incoming Tel-to-IP calls to Device B. Device B
generates calls to the PSTN on the same E1 trunk on which the call was originally received
(in Device A).
Device A IP address: 192.168.3.50
Device B IP address: 192.168.3.51
The ini file parameters configuration for devices A and B are as follows:
1. At both devices, define four Trunk Groups, each with 30 B-channels:
• TrunkGroup_1 = 0/1-31,1000
• TrunkGroup_2 = 1/1-31,2000
• TrunkGroup_3 = 2/1-31,3000
• TrunkGroup_4 = 3/1-31,4000
2. At Device A, add the originating Trunk Group ID as a prefix to the destination number
for Tel-to-IP calls:
AddTrunkGroupAsPrefix = 1
3. At Device A, route all incoming PSTN calls starting with prefixes 1, 2, 3, and 4, to the
IP address of Device B:
• Prefix = 1, 192.168.3.51
• Prefix = 2, 192.168.3.51
• Prefix = 3, 192.168.3.51
• Prefix = 4, 192.168.3.51
Note: You can also define Prefix = *,192.168.3.51, instead of the four lines above.
4. At Device B, route IP-to-PSTN calls to Trunk Group ID according to the first digit of the
called number:
• PSTNPrefix = 1,1
• PSTNPrefix = 2,2
• PSTNPrefix = 3,4
• PSTNPrefix = 4,4
5. At Device B, remove the first digit from each IP-to-PSTN number before it is used in
an outgoing call: NumberMapIP2Tel = *,1.