A query, I have 2 FS running on one server on 2 different ips, so when i do fs_cli going to respective bins , i see console of only the first server. Is there any way to get the console of both the FS on the same server . I tried changing the port of event socket to 8022 but it donot works. <param name="listen-port" value="8022"/> Is there some method to start the console of both the instances. Regds Sam
<param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/> You can bind both to port 8021 on their individual IPs, or different ports on the same IP. A listen IP of 0.0.0.0 will mean any IP. -Steve On 11 January 2011 10:44, Sam <u2nsam@gmail.com> wrote:
A query,
I have 2 FS running on one server on 2 different ips, so when i do fs_cli going to respective bins , i see console of only the first server.
Is there any way to get the console of both the FS on the same server . I tried changing the port of event socket to 8022 but it donot works. <param name="listen-port" value="8022"/>
Is there some method to start the console of both the instances.
Regds Sam
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
the scenario is i have 2 ips on 1 server for 2 FS instances; 192.168.2.1 192.168.2.2 and the parameters i have set is:- for 192.168.2.1:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/> for 192.168.2.2:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8022"/> Ideally it should work but i am getting console for only 192.168.2.1 FS . Regards Sam On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre <steveayre@gmail.com> wrote:
<param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/>
You can bind both to port 8021 on their individual IPs, or different ports on the same IP.
A listen IP of 0.0.0.0 will mean any IP.
-Steve
On 11 January 2011 10:44, Sam <u2nsam@gmail.com> wrote:
A query,
I have 2 FS running on one server on 2 different ips, so when i do fs_cli going to respective bins , i see console of only the first server.
Is there any way to get the console of both the FS on the same server . I tried changing the port of event socket to 8022 but it donot works. <param name="listen-port" value="8022"/>
Is there some method to start the console of both the instances.
Regds Sam
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
It should work. Is there anything already listening on port 8022? $ netstat -a -n -p | grep 8022 Are you also sure that they're not both loading the same config file? Regards, -Steve On 11 January 2011 14:32, Sam <u2nsam@gmail.com> wrote:
the scenario is i have 2 ips on 1 server for 2 FS instances;
192.168.2.1 192.168.2.2
and the parameters i have set is:-
for 192.168.2.1:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/> for 192.168.2.2:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8022"/>
Ideally it should work but i am getting console for only 192.168.2.1 FS .
Regards Sam
On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre <steveayre@gmail.com> wrote:
<param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/>
You can bind both to port 8021 on their individual IPs, or different ports on the same IP.
A listen IP of 0.0.0.0 will mean any IP.
-Steve
On 11 January 2011 10:44, Sam <u2nsam@gmail.com> wrote:
A query,
I have 2 FS running on one server on 2 different ips, so when i do fs_cli going to respective bins , i see console of only the first server.
Is there any way to get the console of both the FS on the same server . I tried changing the port of event socket to 8022 but it donot works. <param name="listen-port" value="8022"/>
Is there some method to start the console of both the instances.
Regds Sam
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Something more here ... i am getting the console for 192.168.2.1 every time i do fs_cli on both instances . like /usr/local/FS_1/bin/fs_cli /usr/localFS_2/bin/fs_cli i get the console for the 1st server only the 2 server are listing to 2 different ips . Regds Sam On Tue, Jan 11, 2011 at 8:07 PM, Steven Ayre <steveayre@gmail.com> wrote:
It should work. Is there anything already listening on port 8022?
$ netstat -a -n -p | grep 8022
Are you also sure that they're not both loading the same config file?
Regards, -Steve
On 11 January 2011 14:32, Sam <u2nsam@gmail.com> wrote:
the scenario is i have 2 ips on 1 server for 2 FS instances;
192.168.2.1 192.168.2.2
and the parameters i have set is:-
for 192.168.2.1:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/> for 192.168.2.2:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8022"/>
Ideally it should work but i am getting console for only 192.168.2.1 FS .
Regards Sam
On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre <steveayre@gmail.com> wrote:
<param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/>
You can bind both to port 8021 on their individual IPs, or different ports on the same IP.
A listen IP of 0.0.0.0 will mean any IP.
-Steve
On 11 January 2011 10:44, Sam <u2nsam@gmail.com> wrote:
A query,
I have 2 FS running on one server on 2 different ips, so when i do fs_cli going to respective bins , i see console of only
the
first server.
Is there any way to get the console of both the FS on the same server . I tried changing the port of event socket to 8022 but it donot works. <param name="listen-port" value="8022"/>
Is there some method to start the console of both the instances.
Regds Sam
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Usage: fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [profile] -?,-h --help Usage Information -H, --host=hostname Host to connect -P, --port=port Port to connect (1 - 65535) I think you need to use fs_cli -H 192.168.2.2 to connect to other fs. Alex On Tue, 11 Jan 2011 20:34:30 +0530 Sam <u2nsam@gmail.com> wrote:
Something more here ... i am getting the console for 192.168.2.1 every time i do fs_cli on both instances .
like /usr/local/FS_1/bin/fs_cli /usr/localFS_2/bin/fs_cli i get the console for the 1st server only
the 2 server are listing to 2 different ips .
Regds Sam
On Tue, Jan 11, 2011 at 8:07 PM, Steven Ayre <steveayre@gmail.com> wrote:
It should work. Is there anything already listening on port 8022?
$ netstat -a -n -p | grep 8022
Are you also sure that they're not both loading the same config file?
Regards, -Steve
On 11 January 2011 14:32, Sam <u2nsam@gmail.com> wrote:
the scenario is i have 2 ips on 1 server for 2 FS instances;
192.168.2.1 192.168.2.2
and the parameters i have set is:-
for 192.168.2.1:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/> for 192.168.2.2:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8022"/>
Ideally it should work but i am getting console for only 192.168.2.1 FS .
Regards Sam
On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre <steveayre@gmail.com> wrote:
<param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/>
You can bind both to port 8021 on their individual IPs, or different ports on the same IP.
A listen IP of 0.0.0.0 will mean any IP.
-Steve
On 11 January 2011 10:44, Sam <u2nsam@gmail.com> wrote:
A query,
I have 2 FS running on one server on 2 different ips, so when i do fs_cli going to respective bins , i see console of only
the
first server.
Is there any way to get the console of both the FS on the same server . I tried changing the port of event socket to 8022 but it donot works. <param name="listen-port" value="8022"/>
Is there some method to start the console of both the instances.
Regds Sam
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
/usr/local/FS_1/bin/fs_cli -P 8021 /usr/local/FS_2/bin/fs_cli -P 8022 fs_cll doesn't read any config file. It's not part of the FS server at all, you can have it on a different machine that doesn't have FS installed. It entirely relies on the arguments to control where to connect to. -Steve On 11 January 2011 15:04, Sam <u2nsam@gmail.com> wrote:
Something more here ... i am getting the console for 192.168.2.1 every time i do fs_cli on both instances .
like /usr/local/FS_1/bin/fs_cli /usr/localFS_2/bin/fs_cli i get the console for the 1st server only
the 2 server are listing to 2 different ips .
Regds Sam
On Tue, Jan 11, 2011 at 8:07 PM, Steven Ayre <steveayre@gmail.com> wrote:
It should work. Is there anything already listening on port 8022?
$ netstat -a -n -p | grep 8022
Are you also sure that they're not both loading the same config file?
Regards, -Steve
On 11 January 2011 14:32, Sam <u2nsam@gmail.com> wrote:
the scenario is i have 2 ips on 1 server for 2 FS instances;
192.168.2.1 192.168.2.2
and the parameters i have set is:-
for 192.168.2.1:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/> for 192.168.2.2:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8022"/>
Ideally it should work but i am getting console for only 192.168.2.1 FS .
Regards Sam
On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre <steveayre@gmail.com> wrote:
<param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/>
You can bind both to port 8021 on their individual IPs, or different ports on the same IP.
A listen IP of 0.0.0.0 will mean any IP.
-Steve
On 11 January 2011 10:44, Sam <u2nsam@gmail.com> wrote:
A query,
I have 2 FS running on one server on 2 different ips, so when i do fs_cli going to respective bins , i see console of only
the
first server.
Is there any way to get the console of both the FS on the same server . I tried changing the port of event socket to 8022 but it donot works. <param name="listen-port" value="8022"/>
Is there some method to start the console of both the instances.
Regds Sam
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Any reason you have FS installed in two locations? You can save some disk space by two versions from the same path. ss5:/opt/freeswitch/bin# ./freeswitch --help these are the optional arguments you can pass to freeswitch -nf -- no forking -u [user] -- specify user to switch to -g [group] -- specify group to switch to -help -- this message -version -- print the version and exit -waste -- allow memory waste -core -- dump cores -hp -- enable high priority settings -vg -- run under valgrind -nosql -- disable internal sql scoreboard -heavy-timer -- Heavy Timer, possibly more accurate but at a cost -nonat -- disable auto nat detection -nocal -- disable clock calibration -nort -- disable clock clock_realtime -stop -- stop freeswitch -nc -- do not output to a console and background -ncwait -- do not output to a console and background but wait until the system is ready before exiting (implies -nc) -c -- output to a console and stay in the foreground -conf [confdir] -- specify an alternate config dir -log [logdir] -- specify an alternate log dir -run [rundir] -- specify an alternate run dir -db [dbdir] -- specify an alternate db dir -mod [moddir] -- specify an alternate mod dir -htdocs [htdocsdir] -- specify an alternate htdocs dir -scripts [scriptsdir] -- specify an alternate scripts dir Those last -conf -log -run -db options would let you use different directories for configs, logs and sqlite databases per-instance but use the same binaries and modules. Of course there's no reason not to do it the way you are now - it'll just save a bit of space this way. You can also use two SIP profiles to have the same FS process listen on 2 different IPs. I guess you have a reason though for having them separated into two processes though. -Steve On 11 January 2011 16:08, Steven Ayre <steveayre@gmail.com> wrote:
/usr/local/FS_1/bin/fs_cli -P 8021 /usr/local/FS_2/bin/fs_cli -P 8022
fs_cll doesn't read any config file. It's not part of the FS server at all, you can have it on a different machine that doesn't have FS installed. It entirely relies on the arguments to control where to connect to.
-Steve
On 11 January 2011 15:04, Sam <u2nsam@gmail.com> wrote:
Something more here ... i am getting the console for 192.168.2.1 every time i do fs_cli on both instances .
like /usr/local/FS_1/bin/fs_cli /usr/localFS_2/bin/fs_cli i get the console for the 1st server only
the 2 server are listing to 2 different ips .
Regds Sam
On Tue, Jan 11, 2011 at 8:07 PM, Steven Ayre <steveayre@gmail.com> wrote:
It should work. Is there anything already listening on port 8022?
$ netstat -a -n -p | grep 8022
Are you also sure that they're not both loading the same config file?
Regards, -Steve
On 11 January 2011 14:32, Sam <u2nsam@gmail.com> wrote:
the scenario is i have 2 ips on 1 server for 2 FS instances;
192.168.2.1 192.168.2.2
and the parameters i have set is:-
for 192.168.2.1:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/> for 192.168.2.2:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8022"/>
Ideally it should work but i am getting console for only 192.168.2.1 FS .
Regards Sam
On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre <steveayre@gmail.com> wrote:
<param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/>
You can bind both to port 8021 on their individual IPs, or different ports on the same IP.
A listen IP of 0.0.0.0 will mean any IP.
-Steve
On 11 January 2011 10:44, Sam <u2nsam@gmail.com> wrote:
A query,
I have 2 FS running on one server on 2 different ips, so when i do fs_cli going to respective bins , i see console of only
the
first server.
Is there any way to get the console of both the FS on the same server . I tried changing the port of event socket to 8022 but it donot works. <param name="listen-port" value="8022"/>
Is there some method to start the console of both the instances.
Regds Sam
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
It an experimental setup to check the resource utilization and threading, also will keep the structure simple and manageable plus different recording directories. Regards Sam On Tue, Jan 11, 2011 at 9:41 PM, Steven Ayre <steveayre@gmail.com> wrote:
Any reason you have FS installed in two locations?
You can save some disk space by two versions from the same path.
ss5:/opt/freeswitch/bin# ./freeswitch --help these are the optional arguments you can pass to freeswitch -nf -- no forking -u [user] -- specify user to switch to -g [group] -- specify group to switch to -help -- this message -version -- print the version and exit -waste -- allow memory waste -core -- dump cores -hp -- enable high priority settings -vg -- run under valgrind -nosql -- disable internal sql scoreboard -heavy-timer -- Heavy Timer, possibly more accurate but at a cost -nonat -- disable auto nat detection -nocal -- disable clock calibration -nort -- disable clock clock_realtime -stop -- stop freeswitch -nc -- do not output to a console and background -ncwait -- do not output to a console and background but wait until the system is ready before exiting (implies -nc) -c -- output to a console and stay in the foreground -conf [confdir] -- specify an alternate config dir -log [logdir] -- specify an alternate log dir -run [rundir] -- specify an alternate run dir -db [dbdir] -- specify an alternate db dir -mod [moddir] -- specify an alternate mod dir -htdocs [htdocsdir] -- specify an alternate htdocs dir -scripts [scriptsdir] -- specify an alternate scripts dir
Those last -conf -log -run -db options would let you use different directories for configs, logs and sqlite databases per-instance but use the same binaries and modules.
Of course there's no reason not to do it the way you are now - it'll just save a bit of space this way.
You can also use two SIP profiles to have the same FS process listen on 2 different IPs. I guess you have a reason though for having them separated into two processes though.
-Steve
On 11 January 2011 16:08, Steven Ayre <steveayre@gmail.com> wrote:
/usr/local/FS_1/bin/fs_cli -P 8021 /usr/local/FS_2/bin/fs_cli -P 8022
fs_cll doesn't read any config file. It's not part of the FS server at all, you can have it on a different machine that doesn't have FS installed. It entirely relies on the arguments to control where to connect to.
-Steve
On 11 January 2011 15:04, Sam <u2nsam@gmail.com> wrote:
Something more here ... i am getting the console for 192.168.2.1 every time i do fs_cli on both instances .
like /usr/local/FS_1/bin/fs_cli /usr/localFS_2/bin/fs_cli i get the console for the 1st server only
the 2 server are listing to 2 different ips .
Regds Sam
On Tue, Jan 11, 2011 at 8:07 PM, Steven Ayre <steveayre@gmail.com>wrote:
It should work. Is there anything already listening on port 8022?
$ netstat -a -n -p | grep 8022
Are you also sure that they're not both loading the same config file?
Regards, -Steve
On 11 January 2011 14:32, Sam <u2nsam@gmail.com> wrote:
the scenario is i have 2 ips on 1 server for 2 FS instances;
192.168.2.1 192.168.2.2
and the parameters i have set is:-
for 192.168.2.1:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/> for 192.168.2.2:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8022"/>
Ideally it should work but i am getting console for only 192.168.2.1 FS .
Regards Sam
On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre <steveayre@gmail.com> wrote:
<param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/>
You can bind both to port 8021 on their individual IPs, or different ports on the same IP.
A listen IP of 0.0.0.0 will mean any IP.
-Steve
On 11 January 2011 10:44, Sam <u2nsam@gmail.com> wrote: > A query, > > I have 2 FS running on one server on 2 different ips, > so when i do fs_cli going to respective bins , i see console of
only the
> first server. > > Is there any way to get the console of both the FS on the same server . > I tried changing the port of event socket to 8022 but it donot works. > <param name="listen-port" value="8022"/> > > Is there some method to start the console of both the instances. > > Regds > Sam > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > >
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
the port and ip donot work for me, is it that the fs_cli is not reading the config from 192.168.2.2 but it is reading the config only of 192.168.2.1, though its in the different [FS_1 & FS_2] path where i am executing. Regds Sam On Tue, Jan 11, 2011 at 9:38 PM, Steven Ayre <steveayre@gmail.com> wrote:
/usr/local/FS_1/bin/fs_cli -P 8021 /usr/local/FS_2/bin/fs_cli -P 8022
fs_cll doesn't read any config file. It's not part of the FS server at all, you can have it on a different machine that doesn't have FS installed. It entirely relies on the arguments to control where to connect to.
-Steve
On 11 January 2011 15:04, Sam <u2nsam@gmail.com> wrote:
Something more here ... i am getting the console for 192.168.2.1 every time i do fs_cli on both instances .
like /usr/local/FS_1/bin/fs_cli /usr/localFS_2/bin/fs_cli i get the console for the 1st server only
the 2 server are listing to 2 different ips .
Regds Sam
On Tue, Jan 11, 2011 at 8:07 PM, Steven Ayre <steveayre@gmail.com> wrote:
It should work. Is there anything already listening on port 8022?
$ netstat -a -n -p | grep 8022
Are you also sure that they're not both loading the same config file?
Regards, -Steve
On 11 January 2011 14:32, Sam <u2nsam@gmail.com> wrote:
the scenario is i have 2 ips on 1 server for 2 FS instances;
192.168.2.1 192.168.2.2
and the parameters i have set is:-
for 192.168.2.1:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/> for 192.168.2.2:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8022"/>
Ideally it should work but i am getting console for only 192.168.2.1 FS .
Regards Sam
On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre <steveayre@gmail.com> wrote:
<param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/>
You can bind both to port 8021 on their individual IPs, or different ports on the same IP.
A listen IP of 0.0.0.0 will mean any IP.
-Steve
On 11 January 2011 10:44, Sam <u2nsam@gmail.com> wrote:
A query,
I have 2 FS running on one server on 2 different ips, so when i do fs_cli going to respective bins , i see console of only
the
first server.
Is there any way to get the console of both the FS on the same server . I tried changing the port of event socket to 8022 but it donot works. <param name="listen-port" value="8022"/>
Is there some method to start the console of both the instances.
Regds Sam
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
It does not read any config file. On 11 January 2011 16:56, Sam <u2nsam@gmail.com> wrote:
the port and ip donot work for me, is it that the fs_cli is not reading the config from 192.168.2.2 but it is reading the config only of 192.168.2.1, though its in the different [FS_1 & FS_2] path where i am executing.
Regds Sam
On Tue, Jan 11, 2011 at 9:38 PM, Steven Ayre <steveayre@gmail.com> wrote:
/usr/local/FS_1/bin/fs_cli -P 8021 /usr/local/FS_2/bin/fs_cli -P 8022
fs_cll doesn't read any config file. It's not part of the FS server at all, you can have it on a different machine that doesn't have FS installed. It entirely relies on the arguments to control where to connect to.
-Steve
On 11 January 2011 15:04, Sam <u2nsam@gmail.com> wrote:
Something more here ... i am getting the console for 192.168.2.1 every time i do fs_cli on both instances .
like /usr/local/FS_1/bin/fs_cli /usr/localFS_2/bin/fs_cli i get the console for the 1st server only
the 2 server are listing to 2 different ips .
Regds Sam
On Tue, Jan 11, 2011 at 8:07 PM, Steven Ayre <steveayre@gmail.com>wrote:
It should work. Is there anything already listening on port 8022?
$ netstat -a -n -p | grep 8022
Are you also sure that they're not both loading the same config file?
Regards, -Steve
On 11 January 2011 14:32, Sam <u2nsam@gmail.com> wrote:
the scenario is i have 2 ips on 1 server for 2 FS instances;
192.168.2.1 192.168.2.2
and the parameters i have set is:-
for 192.168.2.1:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/> for 192.168.2.2:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8022"/>
Ideally it should work but i am getting console for only 192.168.2.1 FS .
Regards Sam
On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre <steveayre@gmail.com> wrote:
<param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/>
You can bind both to port 8021 on their individual IPs, or different ports on the same IP.
A listen IP of 0.0.0.0 will mean any IP.
-Steve
On 11 January 2011 10:44, Sam <u2nsam@gmail.com> wrote: > A query, > > I have 2 FS running on one server on 2 different ips, > so when i do fs_cli going to respective bins , i see console of
only the
> first server. > > Is there any way to get the console of both the FS on the same server . > I tried changing the port of event socket to 8022 but it donot works. > <param name="listen-port" value="8022"/> > > Is there some method to start the console of both the instances. > > Regds > Sam > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > >
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Actually, correction it does - just not the event_socket.conf.xml one. It'll read .fs_cli_conf in your home directory if it exists, but that isn't created by default - you create it yourself if you want to use it (it's optional). The command line arguments -H and -P -will- override the config file though. Are you using a capital P? -p is password while -P is port. If there's no password on the event socket you'd get no error from using a small p by accident. -Steve On 11 January 2011 16:59, Steven Ayre <steveayre@gmail.com> wrote:
It does not read any config file.
On 11 January 2011 16:56, Sam <u2nsam@gmail.com> wrote:
the port and ip donot work for me, is it that the fs_cli is not reading the config from 192.168.2.2 but it is reading the config only of 192.168.2.1, though its in the different [FS_1 & FS_2] path where i am executing.
Regds Sam
On Tue, Jan 11, 2011 at 9:38 PM, Steven Ayre <steveayre@gmail.com> wrote:
/usr/local/FS_1/bin/fs_cli -P 8021 /usr/local/FS_2/bin/fs_cli -P 8022
fs_cll doesn't read any config file. It's not part of the FS server at all, you can have it on a different machine that doesn't have FS installed. It entirely relies on the arguments to control where to connect to.
-Steve
On 11 January 2011 15:04, Sam <u2nsam@gmail.com> wrote:
Something more here ... i am getting the console for 192.168.2.1 every time i do fs_cli on both instances .
like /usr/local/FS_1/bin/fs_cli /usr/localFS_2/bin/fs_cli i get the console for the 1st server only
the 2 server are listing to 2 different ips .
Regds Sam
On Tue, Jan 11, 2011 at 8:07 PM, Steven Ayre <steveayre@gmail.com>wrote:
It should work. Is there anything already listening on port 8022?
$ netstat -a -n -p | grep 8022
Are you also sure that they're not both loading the same config file?
Regards, -Steve
On 11 January 2011 14:32, Sam <u2nsam@gmail.com> wrote:
the scenario is i have 2 ips on 1 server for 2 FS instances;
192.168.2.1 192.168.2.2
and the parameters i have set is:-
for 192.168.2.1:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8021"/> for 192.168.2.2:- <param name="listen-ip" value="127.0.0.1"/> <param name="listen-port" value="8022"/>
Ideally it should work but i am getting console for only 192.168.2.1 FS .
Regards Sam
On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre <steveayre@gmail.com> wrote: > > <param name="listen-ip" value="127.0.0.1"/> > <param name="listen-port" value="8021"/> > > You can bind both to port 8021 on their individual IPs, or different > ports on the same IP. > > A listen IP of 0.0.0.0 will mean any IP. > > -Steve > > On 11 January 2011 10:44, Sam <u2nsam@gmail.com> wrote: > > A query, > > > > I have 2 FS running on one server on 2 different ips, > > so when i do fs_cli going to respective bins , i see console of only the > > first server. > > > > Is there any way to get the console of both the FS on the same server . > > I tried changing the port of event socket to 8022 but it donot works. > > <param name="listen-port" value="8022"/> > > > > Is there some method to start the console of both the instances. > > > > Regds > > Sam > > > > _______________________________________________ > > FreeSWITCH-users mailing list > > FreeSWITCH-users@lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Tried this below and received :- # /usr/local/fs_2/bin/fs_cli -H 127.0.0.2 -P 8082 [ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket Connection Error] tried by creating profile:- # /usr/local/fs_2/bin/fs_cli profile1 [ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket Connection Error] By port: # /usr/local/fs_2/bin/fs_cli -P 8082 [ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket Connection Error] *netstat -nlp | grep ; ports 8081 & 8082 are available* But i could get a console for other server by # /usr/local/fs_2/bin/fs_cli Regards Sam On Tue, Jan 11, 2011 at 10:54 PM, Steven Ayre <steveayre@gmail.com> wrote:
Actually, correction it does - just not the event_socket.conf.xml one. It'll read .fs_cli_conf in your home directory if it exists, but that isn't created by default - you create it yourself if you want to use it (it's optional). The command line arguments -H and -P -will- override the config file though.
Are you using a capital P? -p is password while -P is port. If there's no password on the event socket you'd get no error from using a small p by accident.
-Steve
On 11 January 2011 16:59, Steven Ayre <steveayre@gmail.com> wrote:
It does not read any config file.
On 11 January 2011 16:56, Sam <u2nsam@gmail.com> wrote:
the port and ip donot work for me, is it that the fs_cli is not reading the config from 192.168.2.2 but it is reading the config only of 192.168.2.1, though its in the different [FS_1 & FS_2] path where i am executing.
Regds Sam
On Tue, Jan 11, 2011 at 9:38 PM, Steven Ayre <steveayre@gmail.com>wrote:
/usr/local/FS_1/bin/fs_cli -P 8021 /usr/local/FS_2/bin/fs_cli -P 8022
fs_cll doesn't read any config file. It's not part of the FS server at all, you can have it on a different machine that doesn't have FS installed. It entirely relies on the arguments to control where to connect to.
-Steve
On 11 January 2011 15:04, Sam <u2nsam@gmail.com> wrote:
Something more here ... i am getting the console for 192.168.2.1 every time i do fs_cli on both instances .
like /usr/local/FS_1/bin/fs_cli /usr/localFS_2/bin/fs_cli i get the console for the 1st server only
the 2 server are listing to 2 different ips .
Regds Sam
On Tue, Jan 11, 2011 at 8:07 PM, Steven Ayre <steveayre@gmail.com>wrote:
It should work. Is there anything already listening on port 8022?
$ netstat -a -n -p | grep 8022
Are you also sure that they're not both loading the same config file?
Regards, -Steve
On 11 January 2011 14:32, Sam <u2nsam@gmail.com> wrote: > the scenario is i have 2 ips on 1 server for 2 FS instances; > > 192.168.2.1 > 192.168.2.2 > > and the parameters i have set is:- > > for > 192.168.2.1:- > <param name="listen-ip" value="127.0.0.1"/> > <param name="listen-port" value="8021"/> > for > 192.168.2.2:- > <param name="listen-ip" value="127.0.0.1"/> > <param name="listen-port" value="8022"/> > > Ideally it should work but i am getting console for only 192.168.2.1 FS . > > > Regards > Sam > > On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre <steveayre@gmail.com> wrote: >> >> <param name="listen-ip" value="127.0.0.1"/> >> <param name="listen-port" value="8021"/> >> >> You can bind both to port 8021 on their individual IPs, or different >> ports on the same IP. >> >> A listen IP of 0.0.0.0 will mean any IP. >> >> -Steve >> >> On 11 January 2011 10:44, Sam <u2nsam@gmail.com> wrote: >> > A query, >> > >> > I have 2 FS running on one server on 2 different ips, >> > so when i do fs_cli going to respective bins , i see console of only the >> > first server. >> > >> > Is there any way to get the console of both the FS on the same server . >> > I tried changing the port of event socket to 8022 but it donot works. >> > <param name="listen-port" value="8022"/> >> > >> > Is there some method to start the console of both the instances. >> > >> > Regds >> > Sam >> > >> > _______________________________________________ >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users@lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> > >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users@lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > >
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Alex Wang
-
Sam
-
Steven Ayre