From: David Yat Sin Date: Wed, 13 Jun 2012 00:19:37 +0000 (-0400) Subject: re-adjusted parameter names X-Git-Tag: v1.2.3^2~71^2^2~170^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2112375e07a5e59a4766e15459a423b27c8860df;p=thirdparty%2Ffreeswitch.git re-adjusted parameter names --- diff --git a/libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_xml.c b/libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_xml.c index 182ca0745e..c028bb709d 100644 --- a/libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_xml.c +++ b/libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_xml.c @@ -222,6 +222,8 @@ int ftmod_ss7_parse_xml(ftdm_conf_parameter_t *ftdm_parameters, ftdm_span_t *spa var = ftdm_parameters[i].var; val = ftdm_parameters[i].val; + g_ftdm_operating_mode = SNG_SS7_OPR_MODE_ISUP; + /* confirm that the first parameter is the "operating-mode" */ if(!strcasecmp(var, "operating-mode")){ if(!strcasecmp(val, "ISUP")) { @@ -231,7 +233,6 @@ int ftmod_ss7_parse_xml(ftdm_conf_parameter_t *ftdm_parameters, ftdm_span_t *spa g_ftdm_operating_mode = SNG_SS7_OPR_MODE_M2UA_SG; } else { SS7_DEBUG("Operating mode not specified, defaulting to ISUP\n"); - g_ftdm_operating_mode = SNG_SS7_OPR_MODE_ISUP; } i++; }