git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4680 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-03-20 16:26:12 +00:00
parent f52c431c8e
commit 9ff33bd8fd
1 changed files with 1 additions and 1 deletions

View File

@ -5607,7 +5607,7 @@ static switch_status_t config_sofia(int reload)
gateway->register_realm = switch_core_strdup(gateway->pool, realm); gateway->register_realm = switch_core_strdup(gateway->pool, realm);
gateway->register_username = switch_core_strdup(gateway->pool, username); gateway->register_username = switch_core_strdup(gateway->pool, username);
gateway->register_password = switch_core_strdup(gateway->pool, password); gateway->register_password = switch_core_strdup(gateway->pool, password);
gateway->register_from = switch_core_sprintf(gateway->pool, "sip:%s@%s", extension, realm); gateway->register_from = switch_core_sprintf(gateway->pool, "sip:%s@%s", username, realm);
gateway->register_contact = switch_core_sprintf(gateway->pool, gateway->register_contact = switch_core_sprintf(gateway->pool,
"sip:%s@%s:%d", extension, profile->sipip, profile->sip_port); "sip:%s@%s:%d", extension, profile->sipip, profile->sip_port);