]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
set default smg event socket port to 8821 instead of 8021 which is for FreeSWITCH...
authorMoises Silva <moy@sangoma.com>
Tue, 1 Mar 2011 17:31:35 +0000 (12:31 -0500)
committerMoises Silva <moy@sangoma.com>
Tue, 1 Mar 2011 17:32:30 +0000 (12:32 -0500)
libs/esl/fs_cli.c
libs/esl/fs_cli.conf

index 5a52c630857febb9afcb876a915c6b236f713bdd..749c8df16779afe8154f9051ccedc07c9d93d2ba 100644 (file)
@@ -1040,7 +1040,7 @@ int main(int argc, char *argv[])
        strncpy(internal_profile.host, "127.0.0.1", sizeof(internal_profile.host));
        strncpy(internal_profile.pass, "ClueCon", sizeof(internal_profile.pass));
        strncpy(internal_profile.name, "internal", sizeof(internal_profile.name));
-       internal_profile.port = 8021;
+       internal_profile.port = 8821;
        set_fn_keys(&internal_profile);
 
 
@@ -1139,7 +1139,7 @@ int main(int argc, char *argv[])
                                esl_set_string(profiles[pcount].name, cur_cat);
                                esl_set_string(profiles[pcount].host, "localhost");
                                esl_set_string(profiles[pcount].pass, "ClueCon");
-                               profiles[pcount].port = 8021;
+                               profiles[pcount].port = 8821;
                                set_fn_keys(&profiles[pcount]);
                                esl_log(ESL_LOG_DEBUG, "Found Profile [%s]\n", profiles[pcount].name);
                                pcount++;
@@ -1218,7 +1218,7 @@ int main(int argc, char *argv[])
        esl_log(ESL_LOG_DEBUG, "Using profile %s [%s]\n", profile->name, profile->host);
        
        if (argv_host) {
-               if (argv_port && profile->port != 8021) {
+               if (argv_port && profile->port != 8821) {
                        snprintf(prompt_str, sizeof(prompt_str), PROMPT_PREFIX "@%s:%u@%s> ", profile->host, profile->port, profile->name);
                } else {
                        snprintf(prompt_str, sizeof(prompt_str), PROMPT_PREFIX "@%s@%s> ", profile->host, profile->name);
index 34932df48aae0237dbf2a1d9666ee598279159b5..47de41be70c77c675eeca4cb224e850dc966c416 100644 (file)
@@ -4,7 +4,7 @@
 
 host => 127.0.0.1
 password => ClueCon
-port => 8021
+port => 8821
 debug => 2
 
 key_f1 => help