Cisco ATA188-I2-A Administration Guide - Page 119

Tone Parameter Syntax—Extended Formats, Extended Format

Page 119 highlights

Chapter 5 Parameters and Defaults Tone Configuration Parameters Tone Parameter Syntax-Extended Formats Two types of extended format exist for the Cisco ATA tone parameters: • Extended Format A, page 5-43-This format can be used for the following tone parameters: - DialTone - BusyTone - RingbackTone - CallWaitTone - AlertTone • Extended Format B, page 5-44-This format can be used only for the ReorderTone parameter. Extended Format A Each tone is specified by 11 integers, as follows: parametername:NumOfFreqs,Tfreq1,Tamp1,Tfreq2,Tamp2,NumOfOnOffPairs,OnTime1, OffTime1,OnTime2,OffTime2,TotalToneTime • parametername is the name of the tone. • NumOfFreqs = 100 + the number of frequencies in the tone. (Therefore, NumOfFreqs = 101 for one frequency, and 102 for two frequencies.) • Tfreq1 and Tfreq2 are the transformed frequencies of the first and second frequencies, respectively. Their values are calculated with the following formula: 32767 * cos (2*pi*F/8000) where F is the desired frequency in Hz. Set this value to 0 if the frequency does not exist. The range of each value is -32768 to 32767. For negative values, use the 16-bit 2's complement value. For example, enter -1 as 65535 or as 0xffff. • Tamp1 and Tamp2 are the transformed amplitudes of the first and second frequencies, respectively. Their values are calculated with the following formula: 32767 * A * sin(2*pi*F/8000) A (amplitude factor) = 0.5 * 10^((k+10-(n-1)*3)/20) where F is the desired frequency in Hz, k is the desired volume in dBm, and n is the number of frequencies. The ^ symbol means to the order of. • NumOfOnOffPairs is the number of on-off pairs in the cadence of the tone. Valid values are 0, 1 and 2. Use 0 if the tone is steady. • OnTime1 and OnTime2 values are the lengths of time the tone is played for the first and second on-off pairs of a cadence, respectively. (See Figure 5-1 for a graphical representation.) Specify each value as a number of samples with a sampling rate of 8 kHz. The range of each value is 0 to 0xffff. For example, for a length of 0.3 seconds, set the value to 2400. OL-4804-01 Cisco ATA 186 and Cisco ATA 188 Analog Telephone Adaptor Administrator's Guide for H.323 (version 3.0) 5-43

  • 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
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274

5-43
Cisco ATA 186 and Cisco ATA 188 Analog Telephone Adaptor Administrator’s Guide for H.323 (version 3.0)
OL-4804-01
Chapter 5
Parameters and Defaults
Tone Configuration Parameters
Tone Parameter Syntax—Extended Formats
Two types of extended format exist for the Cisco ATA tone parameters:
Extended Format A, page 5-43
—This format can be used for the following tone parameters:
DialTone
BusyTone
RingbackTone
CallWaitTone
AlertTone
Extended Format B, page 5-44
—This format can be used only for the ReorderTone parameter.
Extended Format A
Each tone is specified by 11 integers, as follows:
parametername
:
NumOfFreqs,Tfreq1,Tamp1,Tfreq2,Tamp2,NumOfOnOffPairs,OnTime1,
OffTime1,OnTime2,OffTime2,TotalToneTime
parametername
is the name of the tone.
NumOfFreqs
=
100 + the number of frequencies in the tone. (Therefore,
NumOfFreqs
= 101 for one
frequency, and 102 for two frequencies.)
Tfreq1
and
Tfreq2
are the transformed frequencies of the first and second frequencies, respectively.
Their values are calculated with the following formula:
32767 * cos (2*pi*F/8000)
where
F
is the desired frequency in Hz. Set this value to
0
if the frequency does not exist.
The range of each value is –32768 to 32767.
For negative values, use the 16-bit 2’s complement value. For example, enter
–1
as 65535 or as
0xffff.
Tamp1
and
Tamp2
are the transformed amplitudes of the first and second frequencies, respectively.
Their values are calculated with the following formula:
32767 * A * sin(2*pi*F/8000)
A (amplitude factor) = 0.5 * 10^((k+10-(n-1)*3)/20)
where
F
is the desired frequency in Hz,
k
is the desired volume in
dBm
, and
n
is the number of
frequencies. The
^
symbol means
to the order of
.
NumOfOnOffPairs
is
the number of on-off pairs in the cadence of the tone.
Valid values are 0, 1 and 2. Use 0 if the tone is steady.
OnTime1
and
OnTime2
values
are the lengths of time the tone is played for the first and second
on-off pairs of a cadence, respectively. (See
Figure 5-1
for a graphical representation.)
Specify each value as a number of samples with a sampling rate of 8 kHz. The range of each value
is 0 to 0xffff. For example, for a length of 0.3 seconds, set the value to 2400.