]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add context to reconfig_sofia
authorMathieu Rene <mrene@avgs.ca>
Tue, 17 Feb 2009 02:45:44 +0000 (02:45 +0000)
committerMathieu Rene <mrene@avgs.ca>
Tue, 17 Feb 2009 02:45:44 +0000 (02:45 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12080 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 5b10e548ddc33e8f5f51bc22431351ebc863545e..0eb56b43e738eb91420071a351600d9146f07b7e 100644 (file)
@@ -1586,6 +1586,8 @@ switch_status_t reconfig_sofia(sofia_profile_t *profile)
                                                } else {
                                                        sofia_clear_pflag(profile, PFLAG_AUTH_CALLS);
                                                }
+                                       } else if(!strcasecmp(var, "context")) {
+                                               profile->context = switch_core_strdup(profile->pool, val);
                                        } else if (!strcasecmp(var, "force-register-domain")) {
                                                profile->reg_domain = switch_core_strdup(profile->pool, val);
                                        } else if (!strcasecmp(var, "force-register-db-domain")) {