]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
duh, the code to parse the codec params from the config file wasn't there
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 25 Jun 2014 16:18:04 +0000 (21:18 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 25 Jun 2014 16:19:07 +0000 (21:19 +0500)
src/mod/endpoints/mod_verto/mod_verto.c

index 0bf914df8ca2f3fbb10f4b556e7826e68f31c501..f7be1c1163f6668e85477a80fe02555bca497059 100644 (file)
@@ -3446,6 +3446,10 @@ static switch_status_t parse_config(const char *cf)
                                        set_string(profile->key, val);
                                } else if (!strcasecmp(var, "secure-chain")) {
                                        set_string(profile->chain, val);
+                               } else if (!strcasecmp(var, "inbound-codec-string") && !zstr(val)) {
+                                       profile->inbound_codec_string = switch_core_strdup(profile->pool, val); 
+                               } else if (!strcasecmp(var, "outbound-codec-string") && !zstr(val)) {
+                                       profile->outbound_codec_string = switch_core_strdup(profile->pool, val); 
                                } else if (!strcasecmp(var, "userauth") && !zstr(val)) {
                                        profile->userauth = switch_core_strdup(profile->pool, val);
                                } else if (!strcasecmp(var, "root-password") && !zstr(val)) {