gsmopen: FS-4652 , compilation failed with Mobigator
This commit is contained in:
parent
ed6f040e70
commit
d0ddd77cdc
|
@ -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)
|
||||||
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)) {
|
||||||
|
|
Loading…
Reference in New Issue