Fix issue #1545 - Wrong branding

Conflicts:

	src/switch_console.c
This commit is contained in:
Moises Silva 2011-09-28 13:40:55 -04:00
parent 1578da6623
commit fd55b32ad1
3 changed files with 3 additions and 3 deletions

View File

@ -283,7 +283,7 @@ SWITCH_STANDARD_API(shutdown_function)
SWITCH_STANDARD_API(version_function)
{
stream->write_function(stream, "Sangoma Media Gateway Version %s\n", SWITCH_VERSION_FULL);
stream->write_function(stream, "NSG Version %s\n", SWITCH_VERSION_FULL);
return SWITCH_STATUS_SUCCESS;
}

View File

@ -1004,7 +1004,7 @@ static unsigned char console_f12key(EditLine * el, int ch)
char *prompt(EditLine * e)
{
if (*prompt_str == '\0') {
switch_snprintf(prompt_str, sizeof(prompt_str), "sangoma-media-gateway@%s> ", switch_core_get_switchname());
switch_snprintf(prompt_str, sizeof(prompt_str), "nsg@%s> ", switch_core_get_switchname());
}
return prompt_str;

View File

@ -1894,7 +1894,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(switch_core_flag_t
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE,
"\nSangoma Media Gateway Version %s Started.\nMax Sessions[%u]\nSession Rate[%d]\nSQL [%s]\n", SWITCH_VERSION_FULL,
"\nNSG Version %s Started.\nMax Sessions[%u]\nSession Rate[%d]\nSQL [%s]\n", SWITCH_VERSION_FULL,
switch_core_session_limit(0),
switch_core_sessions_per_second(0), switch_test_flag((&runtime), SCF_USE_SQL) ? "Enabled" : "Disabled");