FreeCalypso > hg > themwi-system-sw
comparison mgw/main.c @ 126:815e4c59162e
mgw DTMF: tone definitions and sample array generation
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 01 Oct 2022 17:09:51 -0800 |
parents | f280328e7e2e |
children | f062c32a5116 |
comparison
equal
deleted
inserted
replaced
125:5081f2bc6f1c | 126:815e4c59162e |
---|---|
36 fd_set fds; | 36 fd_set fds; |
37 int cc, i; | 37 int cc, i; |
38 | 38 |
39 openlog("themwi-mgw", 0, LOG_LOCAL5); | 39 openlog("themwi-mgw", 0, LOG_LOCAL5); |
40 read_config_file(); | 40 read_config_file(); |
41 dtmf_init_sample_arrays(); | |
41 if (create_ctrl_socket() < 0) { | 42 if (create_ctrl_socket() < 0) { |
42 fprintf(stderr, "error creating TMGW control socket\n"); | 43 fprintf(stderr, "error creating TMGW control socket\n"); |
43 exit(1); | 44 exit(1); |
44 } | 45 } |
45 signal(SIGPIPE, SIG_IGN); | 46 signal(SIGPIPE, SIG_IGN); |