Properly reload gateway after it has been edited.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16478 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
João Mesquita
2010-01-23 16:15:59 +00:00
parent 25a4270e3d
commit 035e603634
4 changed files with 46 additions and 13 deletions

View File

@@ -149,7 +149,6 @@ void PrefAccounts::readConfig(bool reload)
if (reload)
{
QString res;
_settings->sync();
if (g_FSHost.sendCmd("sofia", "profile softphone rescan", &res) != SWITCH_STATUS_SUCCESS)
{
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Could not rescan the softphone profile.\n");