<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">1. In real scenario, Do we need to use FS as Windows Service or to start the FS as exe. What if we start FS as Service and we would like to do some test using commands as FS CLI?<br>

</blockquote><br>There are 2 different consoles. Starting FS with the -c option gives you a console provided by FS itself. I don&#39;t use FS on Windows but I assume that&#39;s what Debug-&gt;FS was doing.<br><br>There&#39;s also the ESL protocol (provided by mod_event_socket) which allows you to connect over the network, either from on the same server or from another. That provides remote console access, and fs_cli will let you connect to that.<br>

<br>-Steve<br> <br><br><br>On 15 June 2011 09:34, ankIT WALiA &lt;<a href="mailto:ankitwalia4u@gmail.com">ankitwalia4u@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; Thanks MC and Christian. I was doing a silly thing, I did not realize. I made FreeSwitch as Windows Service, so I was starting FS as service and as well as from Debug-&gt;FS. I checked in the logs and then I find that same logs created two times. it triggered my mind that there could be problem because of it. Then, I started FS from Debug-&gt;FS. Now the profile is loaded and GW is also registered.<br>

&gt; I thinkthe problem is when i started FS as Win Service. It used my port 5080. Now, when I am starting it next time with Debug-&gt;FS application. it could not get the port free and failed to load. Am I right?<br>&gt;<br>

&gt; But, I have one question:<br>&gt; 1. In real scenario, Do we need to use FS as Windows Service or to start the FS as exe. What if we start FS as Service and we would like to do some test using commands as FS CLI?<br>

&gt; If, the above question/explanation sounding weird to you, sorry for that. I am very new to FreeSwitch. <br>&gt; Regards,<br>&gt; Ankit<br>&gt; On Tue, Jun 14, 2011 at 8:48 PM, Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt; wrote:<br>

&gt;&gt;<br>&gt;&gt; Be sure that the external profile is actually coming up. Watch the log when you start FS - if the external profile&#39;s port is already in use then the profile will not start.<br>&gt;&gt; -MC<br>&gt;&gt;<br>

&gt;&gt; On Tue, Jun 14, 2011 at 8:05 AM, ankIT WALiA &lt;<a href="mailto:ankitwalia4u@gmail.com">ankitwalia4u@gmail.com</a>&gt; wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Where I can modify the path for the default configuration for the external sip-profile is<br>

&gt;&gt;&gt; /usr/local/freeswitch/conf/<br>&gt;&gt;&gt; sip_profiles/external.xml(Modify the path<br>&gt;&gt;&gt; according to your Win7-installation).<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I have seen, everywhere there is a relative path.<br>

&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; On Tue, Jun 14, 2011 at 8:26 PM, ankIT WALiA &lt;<a href="mailto:ankitwalia4u@gmail.com">ankitwalia4u@gmail.com</a>&gt; wrote:<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Christian,<br>

&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; I tried commenting out some code one after another, if there is any typo.<br>&gt;&gt;&gt;&gt; I got the error Invalid profile every time. I even tried removing iptel.xml and add the content in external.xml, still issue persist.<br>

&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Even for default configuration, this error seems to be coming.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Thanks<br>&gt;&gt;&gt;&gt; Ankit<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; On Tue, Jun 14, 2011 at 6:40 PM, Christian Benke &lt;<a href="mailto:benkokakao@gmail.com">benkokakao@gmail.com</a>&gt; wrote:<br>

&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; On 14 June 2011 14:51, Christian Benke &lt;<a href="mailto:benkokakao@gmail.com">benkokakao@gmail.com</a>&gt; wrote:<br>&gt;&gt;&gt;&gt;&gt; &gt;&gt; Now, after launching FS CLI, I run a &quot;sofia profile external restart<br>

&gt;&gt;&gt;&gt;&gt; &gt;&gt; reloadxml&quot; which is giving me message &quot;Invalid Profile [external]&quot;<br>&gt;&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt;&gt; &gt; Please give me the full output of the command above, i believe it says<br>

&gt;&gt;&gt;&gt;&gt; &gt; more than just &quot;Invalid Profile&quot;.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Oh! It&#39;s indeed just one line saying &quot;2011-06-14 13:07:47.335914<br>&gt;&gt;&gt;&gt;&gt; [WARNING] sofia.c:4044 No Such Profile &#39;external&#39;&quot;<br>

&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; You probably have a typo in your sip-profile-configuration, in case<br>&gt;&gt;&gt;&gt;&gt; you didn&#39;t change it intentionally.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; The default configuration for the external sip-profile is<br>

&gt;&gt;&gt;&gt;&gt; /usr/local/freeswitch/conf/sip_profiles/external.xml(Modify the path<br>&gt;&gt;&gt;&gt;&gt; according to your Win7-installation).<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Please verify you have a section in your configuration that says:<br>

&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; &lt;profile name=&quot;external&quot;&gt;<br>&gt;&gt;&gt;&gt;&gt;  &lt;gateways&gt;<br>&gt;&gt;&gt;&gt;&gt;    &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;external/*.xml&quot;/&gt;<br>

&gt;&gt;&gt;&gt;&gt;  &lt;/gateways&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; ...lots of other stuff in default-config...<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; &lt;/profile&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>

&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Then you add the iptel-configuration you&#39;ve posted above in<br>&gt;&gt;&gt;&gt;&gt; /usr/local/freeswitch/conf/sip_profiles/external/iptel.xml(If this<br>&gt;&gt;&gt;&gt;&gt; didn&#39;t happen already)<br>

&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Best regards,<br>&gt;&gt;&gt;&gt;&gt; Christian<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt;&gt; FreeSWITCH-users mailing list<br>

&gt;&gt;&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt;&gt;&gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>

&gt;&gt;&gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt;&gt;&gt;&gt;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>

&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; --<br>&gt;&gt;&gt;&gt; Life is like a rose its upto u feel it as its fragrance or thorns<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; --<br>

&gt;&gt;&gt; Life is like a rose its upto u feel it as its fragrance or thorns<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; FreeSWITCH-users mailing list<br>&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>

&gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

&gt;&gt;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; FreeSWITCH-users mailing list<br>

&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>

&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>

&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Life is like a rose its upto u feel it as its fragrance or thorns<br>&gt;<br>&gt; _______________________________________________<br>&gt; FreeSWITCH-users mailing list<br>

&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>

&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>

&gt;<br><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">

</div>