]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4599 --resolve
authorBrian West <brian@freeswitch.org>
Fri, 14 Sep 2012 15:29:25 +0000 (10:29 -0500)
committerBrian West <brian@freeswitch.org>
Fri, 14 Sep 2012 15:29:25 +0000 (10:29 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index 967a5502bd948ff255f51ca4f28ecc914d317eec..f475882e65ad3f12b57800280b96d2c28dfd6555 100644 (file)
@@ -4939,6 +4939,12 @@ switch_status_t config_sofia(int reload, char *profile_name)
                                                } else {
                                                        profile->ndlb &= ~PFLAG_NDLB_ALLOW_BAD_IANANAME;
                                                }
+                                       } else if (!strcasecmp(var, "NDLB-allow-crypto-in-avp")) {
+                                               if (switch_true(val)) {
+                                                       profile->ndlb |= PFLAG_NDLB_ALLOW_CRYPTO_IN_AVP;
+                                               } else {
+                                                       profile->ndlb &= ~PFLAG_NDLB_ALLOW_CRYPTO_IN_AVP;
+                                               }
                                        } else if (!strcasecmp(var, "NDLB-allow-nondup-sdp")) {
                                                if (switch_true(val)) {
                                                        profile->ndlb |= PFLAG_NDLB_ALLOW_NONDUP_SDP;