]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix issue #1545 - Wrong branding
authorMoises Silva <moy@sangoma.com>
Wed, 28 Sep 2011 17:40:55 +0000 (13:40 -0400)
committerMoises Silva <moy@sangoma.com>
Wed, 28 Sep 2011 17:40:55 +0000 (13:40 -0400)
Conflicts:

src/switch_console.c

src/mod/applications/mod_commands/mod_commands.c
src/switch_console.c
src/switch_core.c

index 785861457ee7bfc72ea8705b78db38118e6aa911..4e114ad5d7ad3785b2dccca47a28fa8072f6c28a 100644 (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;
 }
 
index 8f7238d2573755a6afb9199b4b87af3dcae56093..876e9386a4cf591b598585d70c5e6bb98e81bf14 100644 (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;
index 2aa40f918891a74284cdc505a91cfc79205f1609..bc4974b9950e13424ed4558365510b586a07bf77 100644 (file)
@@ -1859,7 +1859,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");