]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: Added gsm debug configuration parameter
authorMoises Silva <moy@sangoma.com>
Sun, 11 May 2014 06:55:07 +0000 (02:55 -0400)
committerMoises Silva <moy@sangoma.com>
Sun, 11 May 2014 06:55:07 +0000 (02:55 -0400)
libs/freetdm/src/ftmod/ftmod_gsm/ftmod_gsm.c

index 4ba9a0b5c2eaf79fe7729da1da0807410779f530..257bad45105f71ff69dd6e7b0324bc33c846f6c1 100755 (executable)
@@ -964,6 +964,8 @@ static FIO_CONFIGURE_SPAN_SIGNALING_FUNCTION(ftdm_gsm_configure_span_signaling)
                                continue;
                        }
                        ftdm_log(FTDM_LOG_DEBUG, "Configuring GSM span %s with moduletype %s\n", span->name, val);
+               } else if (!strcasecmp(var, "debug")) {
+                       span_config.debug_mask = wat_str2debug(val);
                } else {
                        ftdm_log(FTDM_LOG_ERROR, "Ignoring unknown GSM parameter '%s'", var);
                }