It does not read any config file.<br><br><br><br><br><div class="gmail_quote">On 11 January 2011 16:56, Sam <span dir="ltr">&lt;<a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a>&gt;</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;">
the port and ip donot work for me,<br>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 &amp; FS_2] path where i am executing.<br>

<br>Regds<br><font color="#888888">Sam</font><div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Tue, Jan 11, 2011 at 9:38 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</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;">
/usr/local/FS_1/bin/fs_cli -P 8021<br>/usr/local/FS_2/bin/fs_cli -P 8022<br><br>fs_cll doesn&#39;t read any config file. It&#39;s not part of the FS server at all, you can have it on a different machine that doesn&#39;t have FS installed. It entirely relies on the arguments to control where to connect to.<br>


<br>-Steve<div><div></div><div><br><br><br><div class="gmail_quote">On 11 January 2011 15:04, Sam <span dir="ltr">&lt;<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>&gt;</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;">
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><br><br><div class="gmail_quote">On Tue, Jan 11, 2011 at 8:07 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</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&#39;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 &lt;<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>&gt; wrote:<br>
&gt; the scenario is i have 2 ips on 1 server for 2 FS instances;<br>
&gt;<br>
&gt; 192.168.2.1<br>
&gt; 192.168.2.2<br>
&gt;<br>
&gt; and the parameters i have set is:-<br>
&gt;<br>
&gt; for<br>
&gt; 192.168.2.1:-<br>
&gt;    &lt;param name=&quot;listen-ip&quot; value=&quot;127.0.0.1&quot;/&gt;<br>
&gt;    &lt;param name=&quot;listen-port&quot; value=&quot;8021&quot;/&gt;<br>
&gt; for<br>
&gt; 192.168.2.2:-<br>
&gt;    &lt;param name=&quot;listen-ip&quot; value=&quot;127.0.0.1&quot;/&gt;<br>
&gt;    &lt;param name=&quot;listen-port&quot; value=&quot;8022&quot;/&gt;<br>
&gt;<br>
&gt; Ideally it should work  but i am getting console for only 192.168.2.1 FS .<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt; Sam<br>
&gt;<br>
&gt; On Tue, Jan 11, 2011 at 4:20 PM, Steven Ayre &lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;    &lt;param name=&quot;listen-ip&quot; value=&quot;127.0.0.1&quot;/&gt;<br>
&gt;&gt;    &lt;param name=&quot;listen-port&quot; value=&quot;8021&quot;/&gt;<br>
&gt;&gt;<br>
&gt;&gt; You can bind both to port 8021 on their individual IPs, or different<br>
&gt;&gt; ports on the same IP.<br>
&gt;&gt;<br>
&gt;&gt; A listen IP of 0.0.0.0 will mean any IP.<br>
&gt;&gt;<br>
&gt;&gt; -Steve<br>
&gt;&gt;<br>
&gt;&gt; On 11 January 2011 10:44, Sam &lt;<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; A query,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I have 2 FS running on one server on 2 different ips,<br>
&gt;&gt; &gt; so when i do fs_cli going to respective bins , i see console of only the<br>
&gt;&gt; &gt; first server.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Is there any way to get the console of both the FS on the same server .<br>
&gt;&gt; &gt; I tried changing the port of event socket to 8022 but it donot works.<br>
&gt;&gt; &gt; &lt;param name=&quot;listen-port&quot; value=&quot;8022&quot;/&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Is there some method to start the console of both the instances.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Regds<br>
&gt;&gt; &gt; Sam<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; FreeSWITCH-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<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" 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></blockquote></div><br>
</div></div><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></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>