Yes both FS are complied with the prefixes and are running quiet independently , the only problem is with the fs_cli .<br><br>Regards<br>Sam<br><br><br><br><div class="gmail_quote">On Thu, Jan 13, 2011 at 9:02 AM, Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</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;">
<div bgcolor="#ffffff">
<div><font size="2">did you try to compile your two FS</font></div>
<div><font size="2">with different prefix and .pid path ?</font></div>
<div><font size="2">as this you'll be sure that FS are running
independtly.</font></div>
<div><font size="2">I remember (maybe wrongly) to have this kind of problem
before.....</font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="h5">
<div style="font: 10pt arial;">----- Original Message ----- </div>
<div style="font: 10pt arial; background: none repeat scroll 0% 0% rgb(228, 228, 228);"><b>From:</b>
<a title="u2nsam@gmail.com" href="mailto:u2nsam@gmail.com" target="_blank">Sam</a> </div>
<div style="font: 10pt arial;"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a>
</div>
<div style="font: 10pt arial;"><b>Sent:</b> Wednesday, January 12, 2011 10:16
PM</div>
<div style="font: 10pt arial;"><b>Subject:</b> Re: [Freeswitch-users]
console</div>
<div><br></div>Yes the netstat shows the ports 8081 & 8082 not used
<br>Justin, as said earlier i have 2 FS instances running on same server and
having below config:-<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>Here I tried all the permutation combination changing
the IP port but no sucess.<br><br>Regds<br>Sam<br><br>
<div class="gmail_quote">On Wed, Jan 12, 2011 at 11:25 PM, JRichey <span dir="ltr"><<a href="mailto:jrichey@itltd.net" target="_blank">jrichey@itltd.net</a>></span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div>
<div><font color="#0000ff" face="Arial" size="2"><span>Did you ever try using
netstat like Steven suggested? What do you get as output for "netstat
-tunlp"?</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span>In one of your commands
below you show 127.0.0.2 instead of 127.0.0.1 so if that's not a typo you
may want to try it again.</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span>-Justin</span></font></div>
<div>
<div></div>
<div>
<div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<blockquote>
<div dir="ltr" align="left"><font face="Tahoma" size="2">-----Original
Message-----<br><b>From:</b> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]<b>On
Behalf Of </b>Sam<br><b>Sent:</b> Tuesday, January 11, 2011 9:27
PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re:
[Freeswitch-users] console<br><br></font></div>Tried this below and
received :-<br><br><br># /usr/local/fs_2/bin/fs_cli -H 127.0.0.2 -P
8082<br>[ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket
Connection Error]<br><br>tried by creating profile:-<br>#
/usr/local/fs_2/bin/fs_cli profile1<br>[ERROR] libs/esl/fs_cli.c:1206
main() Error Connecting [Socket Connection Error]<br><br>By port:<br>#
/usr/local/fs_2/bin/fs_cli -P 8082<br>[ERROR] libs/esl/fs_cli.c:1206
main() Error Connecting [Socket Connection Error]<br><br><br><span style="text-transform: none; text-indent: 0px; border-collapse: separate; font: medium 'Times New Roman'; white-space: normal; letter-spacing: normal; color: rgb(0, 0, 0); word-spacing: 0px;"><pre>
<i>netstat -nlp | grep ; ports 8081 & 8082 are available</i></pre></span>But
i could get a console for other server by<br>#
/usr/local/fs_2/bin/fs_cli<br><br>Regards<br>Sam<br><br><br>
<div class="gmail_quote">On Tue, Jan 11, 2011 at 10:54 PM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">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.<br><br>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.<br><br>-Steve
<div>
<div></div>
<div><br><br><br><br><br><br>
<div class="gmail_quote">On 11 January 2011 16:59, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">It does not read any config file.
<div>
<div></div>
<div><br><br><br><br><br>
<div class="gmail_quote">On 11 January 2011 16:56, Sam <span dir="ltr"><<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">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 & FS_2] path where i am executing.<br><br>Regds<br><font color="#888888">Sam</font>
<div>
<div></div>
<div><br><br><br>
<div class="gmail_quote">On Tue, Jan 11, 2011 at 9:38 PM, Steven Ayre
<span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">/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
<div>
<div></div>
<div><br><br><br>
<div class="gmail_quote">On 11 January 2011 15:04, Sam <span dir="ltr"><<a href="mailto:u2nsam@gmail.com" target="_blank">u2nsam@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">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"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">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" 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" 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></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></blockquote></div></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><p>
</p><hr><div class="im">
<p></p>_______________________________________________<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></blockquote></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>