[Freeswitch-users] Problems with fs_cli on OS X 10.6.4

covici at ccs.covici.com covici at ccs.covici.com
Wed Oct 6 23:12:10 PDT 2010


Did you copy fs_cli.conf to  /etc and make sure its parameters agreed
with those in the config for mod_esl?  

Peter Schrock <peter.schrock at gmail.com> wrote:

> In answer to your first question, yes. I guess my next question would be, if
> I don't need fs_cli, then what is it for? I guess I am assuming to access FS
> when it is running in background. What would be the difference between
> running it in the foreground vs background?
> Also, I ran FS without -nc and it showed that mod_event_socket loaded
> successfully. So why won't it with fs_cli?
> 
> PeterS
> 
> On Wed, Oct 6, 2010 at 5:29 PM, Mathieu Rene <mrene_lists at avgs.ca> wrote:
> 
> > Hi,
> >
> > Did you start FreeSWITCH before? fs_cli is only used to connect to the
> > console of a running FreeSWITCH instance.
> >
> > If you did, try starting it without the -nc switch, it should stay in the
> > foreground and tell you whats wrong, if you have a console you can also
> > check that mod_event_socket is properly loaded (load mod_event_socket)
> >
> > Mathieu Rene
> > Avant-Garde Solutions Inc
> > Office: + 1 (514) 664-1044 x100
> > Cell: +1 (514) 664-1044 x200
> > mrene at avgs.ca
> >
> >
> >
> >
> > On 2010-10-06, at 8:23 PM, Peter Schrock wrote:
> >
> > Okay, so I managed to get FS working the other day and I even managed to
> > test a call and test my voicemail. All seemed to be working smoothly until,
> > because of the rain here, my power went out and I had to reboot my computer.
> > I logged in through the terminal, set up FS in background went to fs_cliand I get this error message:
> > [ERROR] libs/esl/fs_cli.c:1206 main() Error Connecting [Socket Connection
> > Error]
> > I managed to figure out that in the file "fs_cli.c" on line 1206 you find
> > the code for displaying this error message. The problem is that I don't know
> > why this error message is occurring. Does anyone have any helpful hints as
> > to what I should look at to resolve this problem?
> > I even tried going to the git tree and make current, but that gave me
> > problems that forced me to turn off mod_spandsp and mod_skyopen in the
> > modules.conf, which I had running earlier. Any thoughts?
> >
> > PeterS
> >
> > PS
> > I am not sure if this is of any help, but in addition to the error line
> > above, it also posted this info:
> > Usage: fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x
> > command] [profile]
> >
> >   -?,-h --help                    Usage Information
> >   -H, --host=hostname             Host to connect
> >   -P, --port=port                 Port to connect (1 - 65535)
> >   -u, --user=user at domain          user at domain
> >   -p, --password=password         Password
> >   -x, --execute=command           Execute Command and Exit
> >   -l, --loglevel=command          Log Level
> >   -q, --quiet                     Disable logging
> >   -r, --retry                     Retry connection on failure
> >   -R, --reconnect                 Reconnect if disconnected
> >   -d, --debug=level               Debug Level (0 - 7)
> >
> > _______________________________________________
> > 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
> >
> >
> 
> ----------------------------------------------------
> Alternatives:
> 
> ----------------------------------------------------
> _______________________________________________
> 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

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com



More information about the FreeSWITCH-users mailing list