#include <signal.h>
#define CMD_BUFLEN 1024
-#define PROMPT_PREFIX "sangoma-media-gateway"
+#define PROMPT_PREFIX "netborder-ss7"
static int WARN_STOP = 0;
#ifdef WIN32
"\n"
"*******************************************************\n"
- "* Sangoma Media Gateway *\n"
+ "* Netborder SS7 Gateway *\n"
"* Powered by FreeSWITCH (http://www.freeswitch.org) *\n"
"*******************************************************\n"
"\n"
int rv = 0;
#ifndef WIN32
- char hfile[512] = "/etc/smg_cli_history";
- char cfile[512] = "/etc/smg_cli.conf";
- char dft_cfile[512] = "/etc/smg_cli.conf";
+ char hfile[512] = "/etc/nbess7_cli_history";
+ char cfile[512] = "/etc/nbess7_cli.conf";
+ char dft_cfile[512] = "/etc/nbess7_cli.conf";
#else
- char hfile[512] = "smg_cli_history";
- char cfile[512] = "smg_cli.conf";
- char dft_cfile[512] = "smg_cli.conf";
+ char hfile[512] = "nbess7_cli_history";
+ char cfile[512] = "nbess7_cli.conf";
+ char dft_cfile[512] = "nbess7_cli.conf";
#endif
char *home = getenv("HOME");
/* Vars for optargs */
if (home) {
- snprintf(hfile, sizeof(hfile), "%s/.smg_cli_history", home);
- snprintf(cfile, sizeof(cfile), "%s/.smg_cli_conf", home);
+ snprintf(hfile, sizeof(hfile), "%s/.nbess7_cli_history", home);
+ snprintf(cfile, sizeof(cfile), "%s/.nbess7_cli_conf", home);
}
signal(SIGINT, handle_SIGINT);
print_banner(stdout);
- esl_log(ESL_LOG_INFO, "Sangoma Media Gateway CLI Ready.\nenter /help for a list of commands.\n");
+ esl_log(ESL_LOG_INFO, "Netborder SS7 CLI Ready.\nenter /help for a list of commands.\n");
printf("%s\n", handle.last_sr_reply);
while (running > 0) {
#define MULTICAST_EVENT "multicast::event"
#define SOFIA_REPLACES_HEADER "_sofia_replaces_"
-#define SOFIA_USER_AGENT "SangomaMediaGateway/" SWITCH_VERSION_MAJOR "." SWITCH_VERSION_MINOR "." SWITCH_VERSION_MICRO "-" SWITCH_VERSION_REVISION
+#define SOFIA_USER_AGENT "NetborderSS7/" SWITCH_VERSION_MAJOR "." SWITCH_VERSION_MINOR "." SWITCH_VERSION_MICRO "-" SWITCH_VERSION_REVISION
#define SOFIA_CHAT_PROTO "sip"
#define SOFIA_MULTIPART_PREFIX "sip_mp_"
#define SOFIA_MULTIPART_PREFIX_T "~sip_mp_"
#include "private/switch_core_pvt.h"
/* pid filename: Stores the process id of the freeswitch process */
-#define PIDFILE "sangoma-media-gateway.pid"
+#define PIDFILE "netborder-ss7.pid"
static char *pfile = PIDFILE;
static int system_ready = 0;
}
if (local_argv[x] && !strcmp(local_argv[x], "-version")) {
- fprintf(stdout, "Sangoma Media Gateway Version: %s\n", SWITCH_VERSION_FULL);
+ fprintf(stdout, "Netborder SS7 Version: %s\n", SWITCH_VERSION_FULL);
return 0;
known_opt++;
}
"* Brought to you by ClueCon http://www.cluecon.com/ *\n" "************************************************************\n" "\n");
#else
return (
-"\n _____ ___ ___ _ _ _____ _ \n"
-"/ ___| | \\/ | | (_) | __ \\ | | \n"
-"\\ `--. __ _ _ __ __ _ ___ _ __ ___ __ _ | . . | ___ __| |_ __ _ | | \\/ __ _| |_ _____ ____ _ _ _ \n"
-" `--. \\/ _` | '_ \\ / _` |/ _ \\| '_ ` _ \\ / _` | | |\\/| |/ _ \\/ _` | |/ _` | | | __ / _` | __|/ _ \\ \\ /\\ / / _` | | | |\n"
-"/\\__/ / (_| | | | | (_| | (_) | | | | | | (_| | | | | | __/ (_| | | (_| | | |_\\ \\ (_| | |_| __/\\ V V / (_| | |_| |\n"
-"\\____/ \\__,_|_| |_|\\__, |\\___/|_| |_| |_|\\__,_| \\_| |_/\\___|\\__,_|_|\\__,_| \\____/\\__,_|\\__|\\___| \\_/\\_/ \\__,_|\\__, |\n"
-" __/ | __/ |\n"
-" |___/ |___/ \n"
- "************************************************************\n"
- "* Powered by: FreeSWITCH (http://www.freeswitch.org) *\n"
- "************************************************************\n" "\n");
+ "************************************************************************\n"
+ "* .__ __. .______ _______ _______. _______. ______ *\n"
+ "* | \ | | | _ \ | ____| / | / ||____ |*\n"
+ "* | \| | | |_) | | |__ | (----` | (----` / / *\n"
+ "* | . ` | | _ < | __| \ \ \ \ / / *\n"
+ "* | |\ | | |_) | | |____ .----) | .----) | / / *\n"
+ "* |__| \__| |______/ |_______| |_______/ |_______/ /_/ *\n"
+ "* *\n"
+ "* Powered by: FreeSWITCH (http://www.freeswitch.org) *\n"
+ "**************************************************************************\n" "\n");
#endif
}