ZyXEL V630 User Guide - Page 131

Voice Coding

Page 131 highlights

Chapter 14 SIP Account Setup 14.1.6.1 STUN STUN (Simple Traversal of User Datagram Protocol (UDP) through Network Address Translators) allows the V630 to find the presence and types of NAT routers and/or firewalls between it and the public Internet. STUN also allows the V630 to find the public IP address that NAT assigned, so the V630 can embed it in the SIP data stream. STUN does not work with symmetric NAT routers or firewalls. See RFC 3489 for details on STUN. The following figure shows how STUN works. 1 The V630 (A) sends SIP packets to the STUN server (B). 2 The STUN server (B) finds the public IP address and port number that the NAT router used on the V630's SIP packets and sends them to the V630. 3 The V630 uses the public IP address and port number in the SIP packets that it sends to the SIP server (C). Figure 131 STUN 14.1.6.2 Outbound Proxy Your VoIP service provider may host a SIP outbound proxy server to handle all of the V630's VoIP traffic. This allows the V630 to work with any type of NAT router and eliminates the need for STUN or a SIP ALG. Turn off a SIP ALG on a NAT router in front of the V630 to keep it from retranslating the IP address (since this is already handled by the outbound proxy server). 14.1.7 Voice Coding A codec (coder/decoder) codes analog voice signals into digital signals and decodes the digital signals back into voice signals. The V630 supports the following codecs. • G.711 is a Pulse Code Modulation (PCM) waveform codec. PCM measures analog signal amplitudes at regular time intervals (sampling) and converts them into digital bits (quantization). Quantization "reads" the analog signal and then "writes" it to the nearest digital value. For this reason, a digital sample is usually slightly different from its analog original (this difference is known as "quantization noise"). • G.726 is an ADPCM waveform codec that uses a lower bit rate than standard PCM conversion. G.726 operates at 16, 24, 32 or 40 kbps. V630 User's Guide 131

  • 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
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220

Chapter 14 SIP Account Setup
V630 User’s Guide
131
14.1.6.1
STUN
STUN (Simple Traversal of User Datagram Protocol (UDP) through Network Address
Translators) allows the V630 to find the presence and types of NAT routers and/or firewalls
between it and the public Internet. STUN also allows the V630 to find the public IP address
that NAT assigned, so the V630 can embed it in the SIP data stream. STUN does not work
with symmetric NAT routers or firewalls. See RFC 3489 for details on STUN.
The following figure shows how STUN works.
1
The V630 (
A
) sends SIP packets to the STUN server (
B
).
2
The STUN server (
B
) finds the public IP address and port number that the NAT router
used on the V630’s SIP packets and sends them to the V630.
3
The V630 uses the public IP address and port number in the SIP packets that it sends to
the SIP server (
C
).
Figure 131
STUN
14.1.6.2
Outbound Proxy
Your VoIP service provider may host a SIP outbound proxy server to handle all of the V630’s
VoIP traffic. This allows the V630 to work with any type of NAT router and eliminates the
need for STUN or a SIP ALG. Turn off a SIP ALG on a NAT router in front of the V630 to
keep it from retranslating the IP address (since this is already handled by the outbound proxy
server).
14.1.7
Voice Coding
A codec (coder/decoder) codes analog voice signals into digital signals and decodes the digital
signals back into voice signals. The V630 supports the following codecs.
G.711
is a Pulse Code Modulation (PCM) waveform codec. PCM measures analog signal
amplitudes at regular time intervals (sampling) and converts them into digital bits
(quantization). Quantization “reads” the analog signal and then “writes” it to the nearest
digital value. For this reason, a digital sample is usually slightly different from its analog
original (this difference is known as “quantization noise”).
G.726
is an ADPCM waveform codec that uses a lower bit rate than standard PCM
conversion. G.726 operates at 16, 24, 32 or 40 kbps.