[Freeswitch-users] console

Sam u2nsam at gmail.com
Tue Jan 11 19:56:03 MSK 2011


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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110111/1431920a/attachment.html 


More information about the FreeSWITCH-users mailing list