Specifications
4-6
Linksys ATA Administrator Guide
Document Version 3.1
Chapter 4 Configuring the PSTN Gateway (FXO)
How PSTN-To-VoIP Calls Work
Gateways 1 to 4 can be specified in a dial plan with the special identifier gw1, gw2, gw3, or gw4. Also,
gw0 represents the internal PSTN gateway via the FXO port. You can specify in the dial plan to use gwx
(x = 0,1,2,3,4) when making certain calls. In general, you can specify any gateway address in the dial
plan. In addition, three parameters are added that can be used with call routing:
• usr—User-id used for authentication with the given gateway
• pwd—Password used for authentication with the given gateway
• nat—Enable or disable NAT mapping when calling the gateway
Table 1-31 lists some examples.
You can set up multiple PSTN gateways at different locations and configure Line 1 to use a different
gateway when dialing specific numbers.
Table 1-30 VoIP Outbound Call Routing Parameters
Parameters Group Description Values
Gateway 1 Line 1 Fully qualified domain name (or IP address) of a
gateway. If the port number is not specified, 5060 is
assumed. Default value is [blank]
Domain name or IP
address
GW1 Nat
Mapping
Enable
Line 1 Whether to enable NAT mapping when using
Gateway 1. Default is “no”.
Yes or No
GW1 User
ID
Line 1 The authentication user name when using Gateway 1.
Default is [blank]
31-character string
GW2
Password
Line 1 The authentication password when using Gateway 1.
Default is [blank]
31-character string
Similar for
GW 2, 3,
and 4
Line 1 Similar for GW 2, 3, and 4
Table 1-31 Specifying Gateway Addresses
Example Description
<9,:>xx.<:@gw1 Dial 9 to start outside dial tone, followed by one or more
digits, and route the call to Gateway 1.
[93]11<:@gw0> Route 911 and 311 calls to the local PSTN gateway
<8,:1408>xxxxxxx<:@pstn.Linksys.c
om:5061;usr=joe;pwd=joe_pwd;nat>
Dial 8 to start outside dial tone, prepend 1408 followed by
seven digits, and route the call to pstn.Linksys.com:5061,
with user-id = joe, and pwd = bell_pwd, and enable NAT
mapping
<8,:1408>xxxxxxx<:@gw2:5061;usr
=”Alex
Bell”;pwd=”anything”;nat=no>
Dial 8 to start outside dial tone, prepend 1408 followed by
seven digits, and route the call to Gateway 2, but use the
given port, user-id, and password, and no
pstn.Linksys.com:5061, and with user-id = “Alex Bell” and
pwd = bell_pwd, and disable NAT mapping