/usr/local/FS_1/bin/fs_cli -P 8021<br>/usr/local/FS_2/bin/fs_cli -P 8022<br><br>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.<br>
<br>-Steve<br><br><br><div class="gmail_quote">On 11 January 2011 15:04, Sam <span dir="ltr"><<a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Something more here ... i am getting the console for 192.168.2.1 every time i do fs_cli on both instances .<br><br>like <br>/usr/local/FS_1/bin/fs_cli<br>/usr/localFS_2/bin/fs_cli<br>i get the console for the 1st server only<br>
<br>the 2 server are listing to 2 different ips .<br><br>Regds<br><font color="#888888">Sam</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Jan 11, 2011 at 8:07 PM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It should work. Is there anything already listening on port 8022?<br>
<br>
$ netstat -a -n -p | grep 8022<br>
<br>
Are you also sure that they're not both loading the same config file?<br>
<br>
Regards,<br>
-Steve<br>
<div><div></div><div><br>
<br>
<br>
On 11 January 2011 14:32, Sam <<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>> wrote:<br>
> the scenario is i have 2 ips on 1 server for 2 FS instances;<br>
><br>
> 192.168.2.1<br>
> 192.168.2.2<br>
><br>
> and the parameters i have set is:-<br>
><br>
> for<br>
> 192.168.2.1:-<br>
> <param name="listen-ip" value="127.0.0.1"/><br>
> <param name="listen-port" value="8021"/><br>
> for<br>
> 192.168.2.2:-<br>
> <param name="listen-ip" value="127.0.0.1"/><br>
> <param name="listen-port" value="8022"/><br>
><br>
> Ideally it should work but i am getting console for only 192.168.2.1 FS .<br>
><br>
><br>
> Regards<br>
> Sam<br>
><br>
> On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre <<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>> wrote:<br>
>><br>
>> <param name="listen-ip" value="127.0.0.1"/><br>
>> <param name="listen-port" value="8021"/><br>
>><br>
>> You can bind both to port 8021 on their individual IPs, or different<br>
>> ports on the same IP.<br>
>><br>
>> A listen IP of 0.0.0.0 will mean any IP.<br>
>><br>
>> -Steve<br>
>><br>
>> On 11 January 2011 10:44, Sam <<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>> wrote:<br>
>> > A query,<br>
>> ><br>
>> > I have 2 FS running on one server on 2 different ips,<br>
>> > so when i do fs_cli going to respective bins , i see console of only the<br>
>> > first server.<br>
>> ><br>
>> > Is there any way to get the console of both the FS on the same server .<br>
>> > I tried changing the port of event socket to 8022 but it donot works.<br>
>> > <param name="listen-port" value="8022"/><br>
>> ><br>
>> > Is there some method to start the console of both the instances.<br>
>> ><br>
>> > Regds<br>
>> > Sam<br>
>> ><br>
>> > _______________________________________________<br>
>> > FreeSWITCH-users mailing list<br>
>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> ><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>