diff --git a/conf/sofia.conf.xml b/conf/sofia.conf.xml
index ea343ab29e..19a4672e6e 100644
--- a/conf/sofia.conf.xml
+++ b/conf/sofia.conf.xml
@@ -51,7 +51,6 @@
-
diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.h b/src/mod/endpoints/mod_sofia/mod_sofia.h
index fab9d22bb7..f386d805e3 100644
--- a/src/mod/endpoints/mod_sofia/mod_sofia.h
+++ b/src/mod/endpoints/mod_sofia/mod_sofia.h
@@ -231,7 +231,6 @@ struct sofia_profile {
int sip_port;
char *codec_string;
int running;
- int codec_ms;
int dtmf_duration;
unsigned int flags;
unsigned int pflags;
diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c
index 90cdfe9656..a4e13c7594 100644
--- a/src/mod/endpoints/mod_sofia/sofia.c
+++ b/src/mod/endpoints/mod_sofia/sofia.c
@@ -808,7 +808,7 @@ switch_status_t config_sofia(int reload, char *profile_name)
switch_thread_rwlock_create(&profile->rwlock, profile->pool);
switch_mutex_init(&profile->flag_mutex, SWITCH_MUTEX_NESTED, profile->pool);
profile->dtmf_duration = 100;
- profile->codec_ms = 20;
+
for (param = switch_xml_child(settings, "param"); param; param = param->next) {
char *var = (char *) switch_xml_attr_soft(param, "name");
@@ -970,8 +970,6 @@ switch_status_t config_sofia(int reload, char *profile_name)
profile->max_calls = atoi(val);
} else if (!strcasecmp(var, "codec-prefs")) {
profile->codec_string = switch_core_strdup(profile->pool, val);
- } else if (!strcasecmp(var, "codec-ms")) {
- profile->codec_ms = atoi(val);
} else if (!strcasecmp(var, "dtmf-duration")) {
int dur = atoi(val);
if (dur > 10 && dur < 8000) {