mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 04:36:42 +00:00
re-adjusted parameter names
This commit is contained in:
parent
feaadd2f43
commit
143fb61bdb
@ -224,20 +224,19 @@ int ftmod_ss7_parse_xml(ftdm_conf_parameter_t *ftdm_parameters, ftdm_span_t *spa
|
|||||||
|
|
||||||
/* confirm that the first parameter is the "operating-mode" */
|
/* confirm that the first parameter is the "operating-mode" */
|
||||||
if(!strcasecmp(var, "operating-mode")){
|
if(!strcasecmp(var, "operating-mode")){
|
||||||
/**********************************************************************/
|
|
||||||
if(!strcasecmp(val, "ISUP")) {
|
if(!strcasecmp(val, "ISUP")) {
|
||||||
g_ftdm_operating_mode = SNG_SS7_OPR_MODE_ISUP;
|
g_ftdm_operating_mode = SNG_SS7_OPR_MODE_ISUP;
|
||||||
}
|
}
|
||||||
else if(!strcasecmp(val, "M2UA_SG")) {
|
else if(!strcasecmp(val, "M2UA_SG")) {
|
||||||
g_ftdm_operating_mode = SNG_SS7_OPR_MODE_M2UA_SG;
|
g_ftdm_operating_mode = SNG_SS7_OPR_MODE_M2UA_SG;
|
||||||
} else {
|
} else {
|
||||||
SS7_ERROR("Invalid operating Mode[%s] \n", val);
|
SS7_DEBUG("Operating mode not specified, defaulting to ISUP\n");
|
||||||
return FTDM_FAIL;
|
g_ftdm_operating_mode = SNG_SS7_OPR_MODE_ISUP;
|
||||||
}
|
}
|
||||||
/**********************************************************************/
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
i++;
|
|
||||||
|
|
||||||
var = ftdm_parameters[i].var;
|
var = ftdm_parameters[i].var;
|
||||||
val = ftdm_parameters[i].val;
|
val = ftdm_parameters[i].val;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user