| 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 |
#include "asterisk.h" |
| 33 |
|
| 34 |
#include "asterisk/file.h" |
| 35 |
#include "asterisk/pbx.h" |
| 36 |
#include "asterisk/module.h" |
| 37 |
#include "asterisk/app.h" |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
#include "asterisk/say.h" |
| 42 |
#include "asterisk/cli.h" |
| 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 |
static char *app = "Playback"; |
| 111 |
|
| 112 |
static struct ast_config *say_cfg = NULL; |
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
static const void *say_api_buf[40]; |
| 120 |
static const char * const say_old = "old"; |
| 121 |
static const char * const say_new = "new"; |
| 122 |
|
| 123 |
static void save_say_mode(const void *arg) |
| 124 |
{ |
| 125 |
int i = 0; |
| 126 |
say_api_buf[i++] = arg; |
| 127 |
|
| 128 |
say_api_buf[i++] = ast_say_number_full; |
| 129 |
say_api_buf[i++] = ast_say_enumeration_full; |
| 130 |
say_api_buf[i++] = ast_say_digit_str_full; |
| 131 |
say_api_buf[i++] = ast_say_character_str_full; |
| 132 |
say_api_buf[i++] = ast_say_phonetic_str_full; |
| 133 |
say_api_buf[i++] = ast_say_datetime; |
| 134 |
say_api_buf[i++] = ast_say_time; |
| 135 |
say_api_buf[i++] = ast_say_date; |
| 136 |
say_api_buf[i++] = ast_say_datetime_from_now; |
| 137 |
say_api_buf[i++] = ast_say_date_with_format; |
| 138 |
} |
| 139 |
|
| 140 |
static void restore_say_mode(void *arg) |
| 141 |
{ |
| 142 |
int i = 0; |
| 143 |
say_api_buf[i++] = arg; |
| 144 |
|
| 145 |
ast_say_number_full = say_api_buf[i++]; |
| 146 |
ast_say_enumeration_full = say_api_buf[i++]; |
| 147 |
ast_say_digit_str_full = say_api_buf[i++]; |
| 148 |
ast_say_character_str_full = say_api_buf[i++]; |
| 149 |
ast_say_phonetic_str_full = say_api_buf[i++]; |
| 150 |
ast_say_datetime = say_api_buf[i++]; |
| 151 |
ast_say_time = say_api_buf[i++]; |
| 152 |
ast_say_date = say_api_buf[i++]; |
| 153 |
ast_say_datetime_from_now = say_api_buf[i++]; |
| 154 |
ast_say_date_with_format = say_api_buf[i++]; |
| 155 |
} |
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
|
| 162 |
|
| 163 |
typedef struct { |
| 164 |
struct ast_channel *chan; |
| 165 |
const char *ints; |
| 166 |
const char *language; |
| 167 |
int audiofd; |
| 168 |
int ctrlfd; |
| 169 |
} say_args_t; |
| 170 |
|
| 171 |
static int s_streamwait3(const say_args_t *a, const char *fn) |
| 172 |
{ |
| 173 |
int res = ast_streamfile(a->chan, fn, a->language); |
| 174 |
if (res) { |
| 175 |
ast_log(LOG_WARNING, "Unable to play message %s\n", fn); |
| 176 |
return res; |
| 177 |
} |
| 178 |
res = (a->audiofd > -1 && a->ctrlfd > -1) ? |
| 179 |
ast_waitstream_full(a->chan, a->ints, a->audiofd, a->ctrlfd) : |
| 180 |
ast_waitstream(a->chan, a->ints); |
| 181 |
ast_stopstream(a->chan); |
| 182 |
return res; |
| 183 |
} |
| 184 |
|
| 185 |
|
| 186 |
|
| 187 |
|
| 188 |
|
| 189 |
static int do_say(say_args_t *a, const char *s, const char *options, int depth) |
| 190 |
{ |
| 191 |
struct ast_variable *v; |
| 192 |
char *lang; |
| 193 |
char *x; |
| 194 |
const char *y; |
| 195 |
char *rule = NULL; |
| 196 |
char *rule_head = NULL; |
| 197 |
int ret = 0; |
| 198 |
struct varshead head = { .first = NULL, .last = NULL }; |
| 199 |
struct ast_var_t *n; |
| 200 |
|
| 201 |
ast_debug(2, "string <%s> depth <%d>\n", s, depth); |
| 202 |
if (depth++ > 10) { |
| 203 |
ast_log(LOG_WARNING, "recursion too deep, exiting\n"); |
| 204 |
return -1; |
| 205 |
} else if (!say_cfg) { |
| 206 |
ast_log(LOG_WARNING, "no say.conf, cannot spell '%s'\n", s); |
| 207 |
return -1; |
| 208 |
} |
| 209 |
|
| 210 |
|
| 211 |
if (a->language == NULL) |
| 212 |
a->language = "en"; |
| 213 |
ast_debug(2, "try <%s> in <%s>\n", s, a->language); |
| 214 |
lang = ast_strdupa(a->language); |
| 215 |
for (;;) { |
| 216 |
for (v = ast_variable_browse(say_cfg, lang); v ; v = v->next) { |
| 217 |
if (ast_extension_match(v->name, s)) { |
| 218 |
rule_head = rule = ast_strdup(v->value); |
| 219 |
break; |
| 220 |
} |
| 221 |
} |
| 222 |
if (rule) |
| 223 |
break; |
| 224 |
if ( (x = strchr(lang, '_')) ) |
| 225 |
*x = '\0'; |
| 226 |
else if (strcmp(lang, "en")) |
| 227 |
lang = "en"; |
| 228 |
else |
| 229 |
break; |
| 230 |
} |
| 231 |
if (!rule) |
| 232 |
return 0; |
| 233 |
|
| 234 |
|
| 235 |
if ( (y = strchr(s, ':')) ) |
| 236 |
s = y + 1; |
| 237 |
if ( (y = strchr(s, ':')) ) |
| 238 |
s = y + 1; |
| 239 |
ast_debug(2, "value is <%s>\n", s); |
| 240 |
n = ast_var_assign("SAY", s); |
| 241 |
if (!n) { |
| 242 |
ast_log(LOG_ERROR, "Memory allocation error in do_say\n"); |
| 243 |
ast_free(rule_head); |
| 244 |
return -1; |
| 245 |
} |
| 246 |
AST_LIST_INSERT_HEAD(&head, n, entries); |
| 247 |
|
| 248 |
|
| 249 |
while ( !ret && (x = strsep(&rule, ",")) ) { |
| 250 |
char fn[128]; |
| 251 |
const char *p, *fmt, *data; |
| 252 |
|
| 253 |
|
| 254 |
x = ast_skip_blanks(x); |
| 255 |
ast_trim_blanks(x); |
| 256 |
|
| 257 |
|
| 258 |
pbx_substitute_variables_varshead(&head, x, fn, sizeof(fn)); |
| 259 |
ast_debug(2, "doing [%s]\n", fn); |
| 260 |
|
| 261 |
|
| 262 |
fmt = strchr(fn, ':'); |
| 263 |
if (!fmt || fmt == fn) { |
| 264 |
ret = s_streamwait3(a, fn); |
| 265 |
continue; |
| 266 |
} |
| 267 |
fmt++; |
| 268 |
data = strchr(fmt, ':'); |
| 269 |
if (!data || data == fmt) { |
| 270 |
ret = do_say(a, fn, options, depth); |
| 271 |
continue; |
| 272 |
} |
| 273 |
|
| 274 |
for (p = fmt; p < data && ret <= 0; p++) { |
| 275 |
char fn2[sizeof(fn)]; |
| 276 |
if (*p == ' ' || *p == '\t') |
| 277 |
continue; |
| 278 |
if (*p == '\'') { |
| 279 |
char *y; |
| 280 |
strcpy(fn2, ast_skip_blanks(p+1)); |
| 281 |
y = strchr(fn2, '\''); |
| 282 |
if (!y) { |
| 283 |
p = data; |
| 284 |
break; |
| 285 |
} |
| 286 |
*y = '\0'; |
| 287 |
ast_trim_blanks(fn2); |
| 288 |
p = strchr(p+1, '\''); |
| 289 |
ret = s_streamwait3(a, fn2); |
| 290 |
} else { |
| 291 |
int l = fmt-fn; |
| 292 |
strcpy(fn2, fn); |
| 293 |
|
| 294 |
fn2[l++] = *p; |
| 295 |
strcpy(fn2 + l, data); |
| 296 |
ret = do_say(a, fn2, options, depth); |
| 297 |
} |
| 298 |
|
| 299 |
if (ret) { |
| 300 |
break; |
| 301 |
} |
| 302 |
} |
| 303 |
} |
| 304 |
ast_var_delete(n); |
| 305 |
ast_free(rule_head); |
| 306 |
return ret; |
| 307 |
} |
| 308 |
|
| 309 |
static int say_full(struct ast_channel *chan, const char *string, |
| 310 |
const char *ints, const char *lang, const char *options, |
| 311 |
int audiofd, int ctrlfd) |
| 312 |
{ |
| 313 |
say_args_t a = { chan, ints, lang, audiofd, ctrlfd }; |
| 314 |
return do_say(&a, string, options, 0); |
| 315 |
} |
| 316 |
|
| 317 |
static int say_number_full(struct ast_channel *chan, int num, |
| 318 |
const char *ints, const char *lang, const char *options, |
| 319 |
int audiofd, int ctrlfd) |
| 320 |
{ |
| 321 |
char buf[64]; |
| 322 |
say_args_t a = { chan, ints, lang, audiofd, ctrlfd }; |
| 323 |
snprintf(buf, sizeof(buf), "num:%d", num); |
| 324 |
return do_say(&a, buf, options, 0); |
| 325 |
} |
| 326 |
|
| 327 |
static int say_enumeration_full(struct ast_channel *chan, int num, |
| 328 |
const char *ints, const char *lang, const char *options, |
| 329 |
int audiofd, int ctrlfd) |
| 330 |
{ |
| 331 |
char buf[64]; |
| 332 |
say_args_t a = { chan, ints, lang, audiofd, ctrlfd }; |
| 333 |
snprintf(buf, sizeof(buf), "enum:%d", num); |
| 334 |
return do_say(&a, buf, options, 0); |
| 335 |
} |
| 336 |
|
| 337 |
static int say_date_generic(struct ast_channel *chan, time_t t, |
| 338 |
const char *ints, const char *lang, const char *format, const char *timezonename, const char *prefix) |
| 339 |
{ |
| 340 |
char buf[128]; |
| 341 |
struct ast_tm tm; |
| 342 |
struct timeval when = { t, 0 }; |
| 343 |
say_args_t a = { chan, ints, lang, -1, -1 }; |
| 344 |
if (format == NULL) |
| 345 |
format = ""; |
| 346 |
|
| 347 |
ast_localtime(&when, &tm, timezonename); |
| 348 |
snprintf(buf, sizeof(buf), "%s:%s:%04d%02d%02d%02d%02d.%02d-%d-%3d", |
| 349 |
prefix, |
| 350 |
format, |
| 351 |
tm.tm_year+1900, |
| 352 |
tm.tm_mon+1, |
| 353 |
tm.tm_mday, |
| 354 |
tm.tm_hour, |
| 355 |
tm.tm_min, |
| 356 |
tm.tm_sec, |
| 357 |
tm.tm_wday, |
| 358 |
tm.tm_yday); |
| 359 |
return do_say(&a, buf, NULL, 0); |
| 360 |
} |
| 361 |
|
| 362 |
static int say_date_with_format(struct ast_channel *chan, time_t t, |
| 363 |
const char *ints, const char *lang, const char *format, const char *timezonename) |
| 364 |
{ |
| 365 |
return say_date_generic(chan, t, ints, lang, format, timezonename, "datetime"); |
| 366 |
} |
| 367 |
|
| 368 |
static int say_date(struct ast_channel *chan, time_t t, const char *ints, const char *lang) |
| 369 |
{ |
| 370 |
return say_date_generic(chan, t, ints, lang, "", NULL, "date"); |
| 371 |
} |
| 372 |
|
| 373 |
static int say_time(struct ast_channel *chan, time_t t, const char *ints, const char *lang) |
| 374 |
{ |
| 375 |
return say_date_generic(chan, t, ints, lang, "", NULL, "time"); |
| 376 |
} |
| 377 |
|
| 378 |
static int say_datetime(struct ast_channel *chan, time_t t, const char *ints, const char *lang) |
| 379 |
{ |
| 380 |
return say_date_generic(chan, t, ints, lang, "", NULL, "datetime"); |
| 381 |
} |
| 382 |
|
| 383 |
|
| 384 |
|
| 385 |
|
| 386 |
static int say_init_mode(const char *mode) { |
| 387 |
if (!strcmp(mode, say_new)) { |
| 388 |
if (say_cfg == NULL) { |
| 389 |
ast_log(LOG_ERROR, "There is no say.conf file to use new mode\n"); |
| 390 |
return -1; |
| 391 |
} |
| 392 |
save_say_mode(say_new); |
| 393 |
ast_say_number_full = say_number_full; |
| 394 |
|
| 395 |
ast_say_enumeration_full = say_enumeration_full; |
| 396 |
#if 0 |
| 397 |
|
| 398 |
|
| 399 |
|
| 400 |
|
| 401 |
ast_say_digits_full = say_digits_full; |
| 402 |
ast_say_digit_str_full = say_digit_str_full; |
| 403 |
ast_say_character_str_full = say_character_str_full; |
| 404 |
ast_say_phonetic_str_full = say_phonetic_str_full; |
| 405 |
ast_say_datetime_from_now = say_datetime_from_now; |
| 406 |
#endif |
| 407 |
ast_say_datetime = say_datetime; |
| 408 |
ast_say_time = say_time; |
| 409 |
ast_say_date = say_date; |
| 410 |
ast_say_date_with_format = say_date_with_format; |
| 411 |
} else if (!strcmp(mode, say_old) && say_api_buf[0] == say_new) { |
| 412 |
restore_say_mode(NULL); |
| 413 |
} else if (strcmp(mode, say_old)) { |
| 414 |
ast_log(LOG_WARNING, "unrecognized mode %s\n", mode); |
| 415 |
return -1; |
| 416 |
} |
| 417 |
|
| 418 |
return 0; |
| 419 |
} |
| 420 |
|
| 421 |
static char *__say_cli_init(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) |
| 422 |
{ |
| 423 |
const char *old_mode = say_api_buf[0] ? say_new : say_old; |
| 424 |
const char *mode; |
| 425 |
switch (cmd) { |
| 426 |
case CLI_INIT: |
| 427 |
e->command = "say load [new|old]"; |
| 428 |
e->usage = |
| 429 |
"Usage: say load [new|old]\n" |
| 430 |
" say load\n" |
| 431 |
" Report status of current say mode\n" |
| 432 |
" say load new\n" |
| 433 |
" Set say method, configured in say.conf\n" |
| 434 |
" say load old\n" |
| 435 |
" Set old say method, coded in asterisk core\n"; |
| 436 |
return NULL; |
| 437 |
case CLI_GENERATE: |
| 438 |
return NULL; |
| 439 |
} |
| 440 |
if (a->argc == 2) { |
| 441 |
ast_cli(a->fd, "say mode is [%s]\n", old_mode); |
| 442 |
return CLI_SUCCESS; |
| 443 |
} else if (a->argc != e->args) |
| 444 |
return CLI_SHOWUSAGE; |
| 445 |
mode = a->argv[2]; |
| 446 |
if (!strcmp(mode, old_mode)) |
| 447 |
ast_cli(a->fd, "say mode is %s already\n", mode); |
| 448 |
else |
| 449 |
if (say_init_mode(mode) == 0) |
| 450 |
ast_cli(a->fd, "setting say mode from %s to %s\n", old_mode, mode); |
| 451 |
|
| 452 |
return CLI_SUCCESS; |
| 453 |
} |
| 454 |
|
| 455 |
static struct ast_cli_entry cli_playback[] = { |
| 456 |
AST_CLI_DEFINE(__say_cli_init, "Set or show the say mode"), |
| 457 |
}; |
| 458 |
|
| 459 |
static int playback_exec(struct ast_channel *chan, const char *data) |
| 460 |
{ |
| 461 |
int res = 0; |
| 462 |
int mres = 0; |
| 463 |
char *tmp; |
| 464 |
int option_skip=0; |
| 465 |
int option_say=0; |
| 466 |
int option_mix=0; |
| 467 |
int option_noanswer = 0; |
| 468 |
|
| 469 |
AST_DECLARE_APP_ARGS(args, |
| 470 |
AST_APP_ARG(filenames); |
| 471 |
AST_APP_ARG(options); |
| 472 |
); |
| 473 |
|
| 474 |
if (ast_strlen_zero(data)) { |
| 475 |
ast_log(LOG_WARNING, "Playback requires an argument (filename)\n"); |
| 476 |
return -1; |
| 477 |
} |
| 478 |
|
| 479 |
tmp = ast_strdupa(data); |
| 480 |
AST_STANDARD_APP_ARGS(args, tmp); |
| 481 |
|
| 482 |
if (args.options) { |
| 483 |
if (strcasestr(args.options, "skip")) |
| 484 |
option_skip = 1; |
| 485 |
if (strcasestr(args.options, "say")) |
| 486 |
option_say = 1; |
| 487 |
if (strcasestr(args.options, "mix")) |
| 488 |
option_mix = 1; |
| 489 |
if (strcasestr(args.options, "noanswer")) |
| 490 |
option_noanswer = 1; |
| 491 |
} |
| 492 |
if (ast_channel_state(chan) != AST_STATE_UP) { |
| 493 |
if (option_skip) { |
| 494 |
|
| 495 |
goto done; |
| 496 |
} else if (!option_noanswer) { |
| 497 |
|
| 498 |
res = ast_answer(chan); |
| 499 |
} |
| 500 |
} |
| 501 |
if (!res) { |
| 502 |
char *back = args.filenames; |
| 503 |
char *front; |
| 504 |
|
| 505 |
ast_stopstream(chan); |
| 506 |
while (!res && (front = ast_strsep(&back, '&', AST_STRSEP_STRIP | AST_STRSEP_TRIM))) { |
| 507 |
if (option_say) |
| 508 |
res = say_full(chan, front, "", ast_channel_language(chan), NULL, -1, -1); |
| 509 |
else if (option_mix){ |
| 510 |
|
| 511 |
if (strcasestr(front, ":") && !strcasestr(front, "://")) |
| 512 |
res = say_full(chan, front, "", ast_channel_language(chan), NULL, -1, -1); |
| 513 |
else |
| 514 |
res = ast_streamfile(chan, front, ast_channel_language(chan)); |
| 515 |
} |
| 516 |
else |
| 517 |
res = ast_streamfile(chan, front, ast_channel_language(chan)); |
| 518 |
if (!res) { |
| 519 |
res = ast_waitstream(chan, ""); |
| 520 |
ast_stopstream(chan); |
| 521 |
} else { |
| 522 |
if (!ast_check_hangup(chan)) { |
| 523 |
ast_log(LOG_WARNING, "Playback failed on %s for %s\n", ast_channel_name(chan), (char *)data); |
| 524 |
} |
| 525 |
res = 0; |
| 526 |
mres = 1; |
| 527 |
} |
| 528 |
} |
| 529 |
} |
| 530 |
done: |
| 531 |
pbx_builtin_setvar_helper(chan, "PLAYBACKSTATUS", mres ? "FAILED" : "SUCCESS"); |
| 532 |
return res; |
| 533 |
} |
| 534 |
|
| 535 |
static int reload(void) |
| 536 |
{ |
| 537 |
struct ast_variable *v; |
| 538 |
struct ast_flags config_flags = { CONFIG_FLAG_FILEUNCHANGED }; |
| 539 |
struct ast_config *newcfg; |
| 540 |
|
| 541 |
if ((newcfg = ast_config_load("say.conf", config_flags)) == CONFIG_STATUS_FILEUNCHANGED) { |
| 542 |
return 0; |
| 543 |
} else if (newcfg == CONFIG_STATUS_FILEINVALID) { |
| 544 |
ast_log(LOG_ERROR, "Config file say.conf is in an invalid format. Aborting.\n"); |
| 545 |
return 0; |
| 546 |
} |
| 547 |
|
| 548 |
if (say_cfg) { |
| 549 |
ast_config_destroy(say_cfg); |
| 550 |
ast_log(LOG_NOTICE, "Reloading say.conf\n"); |
| 551 |
} |
| 552 |
say_cfg = newcfg; |
| 553 |
|
| 554 |
if (say_cfg) { |
| 555 |
for (v = ast_variable_browse(say_cfg, "general"); v ; v = v->next) { |
| 556 |
if (ast_extension_match(v->name, "mode")) { |
| 557 |
say_init_mode(v->value); |
| 558 |
break; |
| 559 |
} |
| 560 |
} |
| 561 |
} |
| 562 |
|
| 563 |
|
| 564 |
|
| 565 |
|
| 566 |
|
| 567 |
return 0; |
| 568 |
} |
| 569 |
|
| 570 |
static int unload_module(void) |
| 571 |
{ |
| 572 |
int res; |
| 573 |
|
| 574 |
res = ast_unregister_application(app); |
| 575 |
|
| 576 |
ast_cli_unregister_multiple(cli_playback, ARRAY_LEN(cli_playback)); |
| 577 |
|
| 578 |
if (say_cfg) |
| 579 |
ast_config_destroy(say_cfg); |
| 580 |
|
| 581 |
return res; |
| 582 |
} |
| 583 |
|
| 584 |
static int load_module(void) |
| 585 |
{ |
| 586 |
struct ast_variable *v; |
| 587 |
struct ast_flags config_flags = { 0 }; |
| 588 |
|
| 589 |
say_cfg = ast_config_load("say.conf", config_flags); |
| 590 |
if (say_cfg && say_cfg != CONFIG_STATUS_FILEINVALID) { |
| 591 |
for (v = ast_variable_browse(say_cfg, "general"); v ; v = v->next) { |
| 592 |
if (ast_extension_match(v->name, "mode")) { |
| 593 |
say_init_mode(v->value); |
| 594 |
break; |
| 595 |
} |
| 596 |
} |
| 597 |
} |
| 598 |
|
| 599 |
ast_cli_register_multiple(cli_playback, ARRAY_LEN(cli_playback)); |
| 600 |
return ast_register_application_xml(app, playback_exec); |
| 601 |
} |
| 602 |
|
| 603 |
AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Sound File Playback Application", |
| 604 |
.support_level = AST_MODULE_SUPPORT_CORE, |
| 605 |
.load = load_module, |
| 606 |
.unload = unload_module, |
| 607 |
.reload = reload, |
| 608 |
); |