提交 d0ddd77c authored 作者: Giovanni Maruzzelli's avatar Giovanni Maruzzelli

gsmopen: FS-4652 , compilation failed with Mobigator

上级 ed6f040e
...@@ -1392,13 +1392,13 @@ static switch_status_t load_config(int reload_type) ...@@ -1392,13 +1392,13 @@ static switch_status_t load_config(int reload_type)
const char *dialplan = "XML"; const char *dialplan = "XML";
const char *destination = "5000"; const char *destination = "5000";
const char *controldevice_name = "/dev/ttyACM0"; const char *controldevice_name = "/dev/ttyACM0";
char *digit_timeout; //char *digit_timeout;
char *max_digits; //char *max_digits;
char *hotline; //char *hotline;
char *dial_regex = NULL; char *dial_regex = NULL;
char *hold_music = NULL; char *hold_music = NULL;
char *fail_dial_regex = NULL; char *fail_dial_regex = NULL;
const char *enable_callerid = "true"; const char *enable_callerid ;
const char *at_dial_pre_number = "ATD"; const char *at_dial_pre_number = "ATD";
...@@ -1506,12 +1506,12 @@ static switch_status_t load_config(int reload_type) ...@@ -1506,12 +1506,12 @@ static switch_status_t load_config(int reload_type)
destination = val; destination = val;
} else if (!strcasecmp(var, "controldevice_name")) { } else if (!strcasecmp(var, "controldevice_name")) {
controldevice_name = val; controldevice_name = val;
} else if (!strcasecmp(var, "digit_timeout")) { //} else if (!strcasecmp(var, "digit_timeout")) {
digit_timeout = val; //digit_timeout = val;
} else if (!strcasecmp(var, "max_digits")) { //} else if (!strcasecmp(var, "max_digits")) {
max_digits = val; //max_digits = val;
} else if (!strcasecmp(var, "hotline")) { //} else if (!strcasecmp(var, "hotline")) {
hotline = val; //hotline = val;
} else if (!strcasecmp(var, "dial_regex")) { } else if (!strcasecmp(var, "dial_regex")) {
dial_regex = val; dial_regex = val;
} else if (!strcasecmp(var, SWITCH_HOLD_MUSIC_VARIABLE)) { } else if (!strcasecmp(var, SWITCH_HOLD_MUSIC_VARIABLE)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论