<div>John Covici,</div><div><br></div>To make sure I understand correctly, do you me the copy found in:<div><font class="Apple-style-span" face="'courier new', monospace">/usr/local/freeswitch/libs/esl</font></div>
<div>or somewhere else?</div><div>Also, is there a wiki that discusses how to make those parameters agreeable?</div><div><br></div><div>Peter Olsson,</div><div>Thanks for clarifying that. I guess my question now would be (cause I am trying to use the book as much as possible to help me understand FS) is why would the book be insistent on using <font class="Apple-style-span" face="'courier new', monospace">fs_cli</font> and how many people actually use it. Is there a wiki discussing how to manage the mod_event_socket so that <font class="Apple-style-span" face="'courier new', monospace">fs_cli</font> will function the way it should instead popping up errors like it has been.</div>
<div><br></div><div>Also, in general, if one were to set up FS in background mode, how do you stop it from being in background mode?</div><div><br></div><div>PeterS<br><br><div class="gmail_quote">On Wed, Oct 6, 2010 at 11:14 PM, Peter Olsson <span dir="ltr"><<a href="mailto:peter.olsson@visionutveckling.se">peter.olsson@visionutveckling.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="SV" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D">fs_cli is a tool to connect to a running instance of FS, on the
same computer, or another computer. It communicates with FS using the
mod_event_socket loaded within FS. The server socket in FS listens for requests
on port 8021 by default, this can be changed in event_socket.conf.xml</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D">/Peter</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt">Från:</span></b><span style="font-size:10.0pt">
<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>För </b>Peter Schrock<br>
<b>Skickat:</b> den 7 oktober 2010 07:55<br>
<b>Till:</b> FreeSWITCH Users Help<br>
<b>Ämne:</b> Re: [Freeswitch-users] Problems with fs_cli on OS X 10.6.4</span></p>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal">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?</p>
<div>
<p class="MsoNormal">Also, I ran FS without -nc and it showed that
mod_event_socket loaded successfully. So why won't it with fs_cli?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">PeterS</p>
<div>
<p class="MsoNormal">On Wed, Oct 6, 2010 at 5:29 PM, Mathieu Rene <<a href="mailto:mrene_lists@avgs.ca" target="_blank">mrene_lists@avgs.ca</a>> wrote:</p>
<div>
<p class="MsoNormal">Hi,</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Did you start FreeSWITCH before? fs_cli is only used to
connect to the console of a running FreeSWITCH instance.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">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)</p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"> </p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;color:black">Mathieu Rene</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;color:black">Avant-Garde Solutions Inc</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;color:black">Office: + 1 (514) 664-1044 x100</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;color:black">Cell: +1 (514) 664-1044 x200</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;color:black"><a href="mailto:mrene@avgs.ca" target="_blank">mrene@avgs.ca</a></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;color:black"> </span></p>
</div>
</div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">On 2010-10-06, at 8:23 PM, Peter Schrock wrote:</p>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">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 <span style="font-family:"Courier New"">fs_cli</span> and I get this error message:</p>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[ERROR]
libs/esl/fs_cli.c:1206 main() Error Connecting [Socket Connection Error]</span></p>
</div>
<div>
<p class="MsoNormal">I managed to figure out that in the file "<span style="font-family:"Courier New"">fs_cli.c</span>" 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?</p>
</div>
<div>
<p class="MsoNormal">I even tried going to the git tree and make current, but
that gave me problems that forced me to turn off <span style="font-family:"Courier New"">mod_spandsp</span>
and <span style="font-family:"Courier New"">mod_skyopen</span> in the <span style="font-family:"Courier New"">modules.conf</span>, which I had running
earlier. Any thoughts?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">PeterS</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">PS</p>
</div>
<div>
<p class="MsoNormal">I am not sure if this is of any help, but in addition to the
error line above, it also posted this info:</p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">Usage: fs_cli [-H
<host>] [-P <port>] [-p <secret>] [-d <level>] [-x
command] [profile]</span></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> -?,-h
--help
Usage Information</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> -H, --host=hostname
Host to connect</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> -P,
--port=port Port to
connect (1 - 65535)</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> -u,
--user=user@domain user@domain</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> -p,
--password=password Password</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> -x,
--execute=command Execute Command and Exit</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> -l,
--loglevel=command Log Level</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> -q,
--quiet
Disable logging</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> -r,
--retry
Retry connection on failure</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> -R,
--reconnect Reconnect
if disconnected</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> -d,
--debug=level Debug Level (0 -
7)</span></p>
</div>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
<p class="MsoNormal">_______________________________________________<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></p>
</blockquote>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><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></p>
</div>
<p class="MsoNormal"> </p>
</div>
</div></div><p class="MsoNormal">!DSPAM:4cad626f32932643394250! </p>
</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></div>