force-register-domain

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6057 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-10-25 20:25:32 +00:00
parent 3241ad1512
commit 36dac92636
3 changed files with 5 additions and 1 deletions

View File

@ -101,6 +101,8 @@
<!-- <param name="vad" value="out"/> -->
<!-- <param name="vad" value="both"/> -->
<!--<param name="alias" value="sip:10.0.1.251:5555"/>-->
<!--all inbound reg will look in this domain for the users -->
<!--<param name="force-register-domain" value="cluecon.com"/>-->
</settings>
</profile>
</profiles>

View File

@ -227,6 +227,7 @@ struct sofia_profile {
char *timer_name;
char *hold_music;
char *bind_params;
char *reg_domain;
int sip_port;
char *codec_string;
int running;

View File

@ -873,7 +873,8 @@ switch_status_t config_sofia(int reload, char *profile_name)
}
}
}
} else if (!strcasecmp(var, "force-register-domain")) {
profile->reg_domain = switch_core_strdup(profile->pool, val);
} else if (!strcasecmp(var, "bind-params")) {
profile->bind_params = switch_core_strdup(profile->pool, val);
} else if (!strcasecmp(var, "sip-domain")) {