<html><body bgcolor="#FFFFFF"><div>Neither are listening yet you can connect to one if them? That doesn't sound right?<br><br>Steve on iPhone</div><div><br>On 13 Jan 2011, at 03:16, Sam <<a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><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"><a href="mailto:jrichey@itltd.net">jrichey@itltd.net</a></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>
<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 class="h5">
<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"><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a></a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank"><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a></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"><a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a></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"><a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a></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"><a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a></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"><a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a></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"><a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a></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"><a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a></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"><a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a></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"><a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a></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"><a href="mailto:u2nsam@gmail.com">u2nsam@gmail.com</a></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"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>>>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>>>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>>>
> <a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>>>
><br>>> ><br>>><br>>>
_______________________________________________<br>>>
FreeSWITCH-users mailing list<br>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>>>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>>>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>>>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>><br>><br>>
_______________________________________________<br>>
FreeSWITCH-users mailing list<br>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>><br>><br><br>_______________________________________________<br>FreeSWITCH-users
mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br><a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></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"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br><a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></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"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br><a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></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"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br><a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></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"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br><a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></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"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a><br>
<a href="http://www.freeswitch.org" target="_blank"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></a><br>
<br></blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>