diff --git a/QnetGateway.cpp b/QnetGateway.cpp index 1d1b653..3965fd3 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -272,7 +272,7 @@ bool CQnetGateway::read_config(char *cfgFile) cfg.GetValue(path+"echotest", estr, echotest_dir, 2, FILENAME_MAX); cfg.GetValue(path+"dtmf", estr, dtmf_dir, 2, FILENAME_MAX); cfg.GetValue(path+"status", estr, status_file, 2, FILENAME_MAX); - cfg.GetValue(path+"qnvoicefile", estr, qnvoicefile, 2, FILENAME_MAX); + cfg.GetValue(path+"qnvoice_file", estr, qnvoicefile, 2, FILENAME_MAX); // timing path.assign("timing_play_"); diff --git a/QnetLink.cpp b/QnetLink.cpp index ba4bd69..9ebb878 100644 --- a/QnetLink.cpp +++ b/QnetLink.cpp @@ -583,7 +583,7 @@ bool CQnetLink::read_config(const char *cfgFile) key.assign("file_"); cfg.GetValue(key+"gwys", estr, gwys, 2, FILENAME_MAX); cfg.GetValue(key+"status", estr, status_file, 2, FILENAME_MAX); - cfg.GetValue(key+"qnvoicefile", estr, qnvoice_file, 2, FILENAME_MAX); + cfg.GetValue(key+"qnvoice_file", estr, qnvoice_file, 2, FILENAME_MAX); cfg.GetValue(key+"announce_dir", estr, announce_dir, 2, FILENAME_MAX); key.assign("timing_play_"); diff --git a/defaults b/defaults index e31ad89..ef9a2d5 100644 --- a/defaults +++ b/defaults @@ -167,7 +167,7 @@ dplus_use_repeaters_d=true # set to false if you are not going to link to DPlus file_status_d='/usr/local/etc/rptr_status' # where repeater status info is passed between services file_dtmf_d='/tmp' # where DTMF is decoded file_echotest_d='/tmp' # echo dat files will end up here -file_qnvoicefile_d='/tmp/qnvoice.txt' # where qnvoice will create the play command +file_qnvoice_file_d='/tmp/qnvoice.txt' # where qnvoice will create the play command file_gwys_d='/usr/local/etc/gwys.txt' # where the list of gateways and reflectors (with ports) is. file_announce_dir_d='/usr/local/etc' # where the *.dat files are for the verbal link, unlink, etc. announcements