Linksys RTP300 User Guide - Page 75

How VoIP-To-PSTN Calls Work, One-Stage Dialing

Page 75 highlights

Configuring the PSTN (FXO) Gateway How VoIP-To-PSTN Calls Work VoIP callers can be authenticated by one of the following methods: • No Authentication-All callers are accepted for service. • PIN-Caller is prompted to enter a PIN right after the call is answered. • HTTP digest-SIP INVITE must contain a valid authorization header. PSTN callers can be authenticated by one of the following methods: • No authentication-All callers are accepted for service. • PIN-Caller is prompted to enter a PIN right after the call is answered. How VoIP-To-PSTN Calls Work To obtain PSTN services through the SPA3102 or AG310 devices, the VoIP caller establishes a connection with the PSTN Line by way of a standard SIP INVITE request addressed to the PSTN Line. The PSTN Line can be configured to support one-stage and two-stage dialing as described in the following sections. One-Stage Dialing One-stage dialing allows a call to be started over VoIP and then immediately get a dial tone on the PSTN. To use one-stage dialing, the Request-URI of the INVITE to the PSTN Line should have the form @, where is the number dialed by the VoIP caller, and is a valid address of the SPA3102 or AG310 device, such as 10.0.0.100:5061. If the FXO port is currently in use (off-hook) or the PSTN line is being used by another extension, the Linksys ATA device replies to the INVITE with a 503 response. Otherwise, it compares the with the User ID parameter of the PSTN Line. If they are the same, the Linksys ATA device interprets this as a request for two-stage dialing (see the "Two-Stage Dialing" section on page 76). If they are different, the Linksys ATA device processes the using the corresponding . If dial plan processing fails, the Linksys ATA device replies with a 403 response. Otherwise, it replies with a 200 and at the same time takes the FXO port off hook and dials the target number returned after processing the dial plan. NOTE: If the User ID parameter on the PSTN Line is blank, the Register parameter should be disabled for the PSTN Line. If HTTP Digest Authentication is enabled, the Linksys ATA device challenges the INVITE with a 401 response if it does not have a valid Authorization header. The Authorization header should include a parameter, where n refers to one of eight VoIP user accounts that can be configured on the Linksys ATA device. The credentials are computed based on the corresponding password using Message Digest 5 (MD5). The parameter must Linksys ATA Administration Guide 75

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201

Linksys ATA Administration Guide
75
How VoIP-To-PSTN Calls Work
Configuring the PSTN (FXO) Gateway
VoIP callers can be authenticated by one of the following methods:
No Authentication—All callers are accepted for service.
PIN—Caller is prompted to enter a PIN right after the call is answered.
HTTP digest—SIP INVITE must contain a valid authorization header.
PSTN callers can be authenticated by one of the following methods:
No authentication—All callers are accepted for service.
PIN—Caller is prompted to enter a PIN right after the call is answered.
How VoIP-To-PSTN Calls Work
To obtain PSTN services through the SPA3102 or AG310 devices, the VoIP caller establishes a
connection with the PSTN Line by way of a standard SIP INVITE request addressed to the PSTN
Line. The PSTN Line can be configured to support one-stage and two-stage dialing as described
in the following sections.
One-Stage Dialing
One-stage dialing allows a call to be started over VoIP and then immediately get a dial tone on
the PSTN.
To use one-stage dialing, the Request-URI of the INVITE to the PSTN Line should have the form
<
Dialed-Number
>@<
SPA-Address
>, where <
Dialed-Number
> is the number dialed by the VoIP
caller, and <
SPA-Address
> is a valid address of the SPA3102 or AG310 device, such as
10.0.0.100:5061.
If the FXO port is currently in use (off-hook) or the PSTN line is being used by another extension,
the Linksys ATA device replies to the INVITE with a 503 response. Otherwise, it compares the
<
Dialed-Number
> with the
User ID
parameter of the PSTN Line. If they are the same, the Linksys
ATA device interprets this as a request for two-stage dialing (see the
”Two-Stage Dialing” section
on page 76
). If they are different, the Linksys ATA device processes the <
Dialed-Number
> using
the corresponding <
Dial Plan
>.
If dial plan processing fails, the Linksys ATA device replies with a 403 response. Otherwise, it
replies with a 200 and at the same time takes the FXO port off hook and dials the target number
returned after processing the dial plan.
NOTE:
If the
User ID parameter
on the PSTN Line is blank, the
Register
parameter should be
disabled for the PSTN Line.
If HTTP Digest Authentication is enabled, the Linksys ATA device challenges the INVITE with a
401 response if it does not have a valid Authorization header. The Authorization header should
include a <
User ID
n
> parameter, where n refers to one of eight VoIP user accounts that can be
configured on the Linksys ATA device. The credentials are computed based on the
corresponding password using Message Digest 5 (MD5). The <
User ID
n
> parameter must