User`s guide

Dialogic
®
1000 and 2000 Media Gateway Series User’s Guide — September 2007 161
Dialogic Corporation
Dial Plan
5.9 Implementation Example
5.9.1 Route an Incoming TDM Call based on the Calling and
Called Number
Figure 25 represents a real world scenario where a gateway would be used to route an incoming
TDM call to a different VoIP endpoint based on the calling and called numbers.
Figure 26. Route an Incoming TDM Call to a Different VoIP Endpoint
Here, we want callers from each area code directed to a specific distributor on the VoIP network.
Each VoIP endpoint will have an agent assigned to an individual function. For example, if a
customer from the Syracuse area wants to order cookies, the "cookies agent" at the Syracuse
Distributor's VoIP address receives the call.
The implementation of this requires table entries in the TDM to VoIP routing page, and the CPID
manipulation page. The default Channel Pool (Any) entry can be used.
1. Set up the CPID manipulation rules. When the called number is 1-800-FLOWERS
(18003569377), change the outgoing VoIP called number to the extension of the flowers
agent, say 201. When the called number is 1-800-COOKIES (18002665437), change the
outgoing VoIP called number to the extension of the cookies agent, say 202. The table
would look like this:
Gateway
1.2.3.4
A
Public
Telephone
Network
IP Network
B
C
212-867 -5309
716-639 -3274
716-639 -3202
New York
Distributor
10.20.30.212
Buffalo
Distributor
10.20.30.716
Syracuse
Distributor
10.20.30.315
Flowers Agent
Cookies Agent
Flowers Agent
Cookies Agent
Flowers Agent
Cookies Agent