<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't use FS on Windows but I assume that's what Debug->FS was doing.<br><br>There'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 <<a href="mailto:ankitwalia4u@gmail.com">ankitwalia4u@gmail.com</a>> wrote:<br>><br>> 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->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->FS. Now the profile is loaded and GW is also registered.<br>
> 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->FS application. it could not get the port free and failed to load. Am I right?<br>><br>
> But, I have one question:<br>> 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>
> If, the above question/explanation sounding weird to you, sorry for that. I am very new to FreeSwitch. <br>> Regards,<br>> Ankit<br>> On Tue, Jun 14, 2011 at 8:48 PM, Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>> wrote:<br>
>><br>>> Be sure that the external profile is actually coming up. Watch the log when you start FS - if the external profile's port is already in use then the profile will not start.<br>>> -MC<br>>><br>
>> On Tue, Jun 14, 2011 at 8:05 AM, ankIT WALiA <<a href="mailto:ankitwalia4u@gmail.com">ankitwalia4u@gmail.com</a>> wrote:<br>>>><br>>>> Where I can modify the path for the default configuration for the external sip-profile is<br>
>>> /usr/local/freeswitch/conf/<br>>>> sip_profiles/external.xml(Modify the path<br>>>> according to your Win7-installation).<br>>>><br>>>> I have seen, everywhere there is a relative path.<br>
>>><br>>>><br>>>> On Tue, Jun 14, 2011 at 8:26 PM, ankIT WALiA <<a href="mailto:ankitwalia4u@gmail.com">ankitwalia4u@gmail.com</a>> wrote:<br>>>>><br>>>>> Christian,<br>
>>>><br>>>>> I tried commenting out some code one after another, if there is any typo.<br>>>>> 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>
>>>><br>>>>> Even for default configuration, this error seems to be coming.<br>>>>><br>>>>> Thanks<br>>>>> Ankit<br>>>>><br>>>>> On Tue, Jun 14, 2011 at 6:40 PM, Christian Benke <<a href="mailto:benkokakao@gmail.com">benkokakao@gmail.com</a>> wrote:<br>
>>>>><br>>>>>> On 14 June 2011 14:51, Christian Benke <<a href="mailto:benkokakao@gmail.com">benkokakao@gmail.com</a>> wrote:<br>>>>>> >> Now, after launching FS CLI, I run a "sofia profile external restart<br>
>>>>> >> reloadxml" which is giving me message "Invalid Profile [external]"<br>>>>>> ><br>>>>>> > Please give me the full output of the command above, i believe it says<br>
>>>>> > more than just "Invalid Profile".<br>>>>>><br>>>>>> Oh! It's indeed just one line saying "2011-06-14 13:07:47.335914<br>>>>>> [WARNING] sofia.c:4044 No Such Profile 'external'"<br>
>>>>><br>>>>>> You probably have a typo in your sip-profile-configuration, in case<br>>>>>> you didn't change it intentionally.<br>>>>>><br>>>>>> The default configuration for the external sip-profile is<br>
>>>>> /usr/local/freeswitch/conf/sip_profiles/external.xml(Modify the path<br>>>>>> according to your Win7-installation).<br>>>>>><br>>>>>> Please verify you have a section in your configuration that says:<br>
>>>>><br>>>>>> <profile name="external"><br>>>>>> <gateways><br>>>>>> <X-PRE-PROCESS cmd="include" data="external/*.xml"/><br>
>>>>> </gateways><br>>>>>><br>>>>>> ...lots of other stuff in default-config...<br>>>>>><br>>>>>> </profile><br>>>>>><br>
>>>>><br>>>>>> Then you add the iptel-configuration you've posted above in<br>>>>>> /usr/local/freeswitch/conf/sip_profiles/external/iptel.xml(If this<br>>>>>> didn't happen already)<br>
>>>>><br>>>>>> Best regards,<br>>>>>> Christian<br>>>>>><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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>>>>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>>>><br>>>>><br>>>>><br>>>>> --<br>>>>> Life is like a rose its upto u feel it as its fragrance or thorns<br>>>><br>>>><br>>>><br>>>> --<br>
>>> Life is like a rose its upto u feel it as its fragrance or thorns<br>>>><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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>>>><br>>><br>>><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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>><br>><br>><br>><br>> --<br>> Life is like a rose its upto u feel it as its fragrance or thorns<br>><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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
><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>