[Freeswitch-users] Invalid Profile [external]
Steven Ayre
steveayre at gmail.com
Wed Jun 15 13:12:42 MSD 2011
>
> 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?
>
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.
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.
-Steve
On 15 June 2011 09:34, ankIT WALiA <ankitwalia4u at gmail.com> wrote:
>
> 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.
> 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?
>
> But, I have one question:
> 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?
> If, the above question/explanation sounding weird to you, sorry for that.
I am very new to FreeSwitch.
> Regards,
> Ankit
> On Tue, Jun 14, 2011 at 8:48 PM, Michael Collins <msc at freeswitch.org>
wrote:
>>
>> 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.
>> -MC
>>
>> On Tue, Jun 14, 2011 at 8:05 AM, ankIT WALiA <ankitwalia4u at gmail.com>
wrote:
>>>
>>> Where I can modify the path for the default configuration for the
external sip-profile is
>>> /usr/local/freeswitch/conf/
>>> sip_profiles/external.xml(Modify the path
>>> according to your Win7-installation).
>>>
>>> I have seen, everywhere there is a relative path.
>>>
>>>
>>> On Tue, Jun 14, 2011 at 8:26 PM, ankIT WALiA <ankitwalia4u at gmail.com>
wrote:
>>>>
>>>> Christian,
>>>>
>>>> I tried commenting out some code one after another, if there is any
typo.
>>>> I got the error Invalid profile every time. I even tried removing
iptel.xml and add the content in external.xml, still issue persist.
>>>>
>>>> Even for default configuration, this error seems to be coming.
>>>>
>>>> Thanks
>>>> Ankit
>>>>
>>>> On Tue, Jun 14, 2011 at 6:40 PM, Christian Benke <benkokakao at gmail.com>
wrote:
>>>>>
>>>>> On 14 June 2011 14:51, Christian Benke <benkokakao at gmail.com> wrote:
>>>>> >> Now, after launching FS CLI, I run a "sofia profile external
restart
>>>>> >> reloadxml" which is giving me message "Invalid Profile [external]"
>>>>> >
>>>>> > Please give me the full output of the command above, i believe it
says
>>>>> > more than just "Invalid Profile".
>>>>>
>>>>> Oh! It's indeed just one line saying "2011-06-14 13:07:47.335914
>>>>> [WARNING] sofia.c:4044 No Such Profile 'external'"
>>>>>
>>>>> You probably have a typo in your sip-profile-configuration, in case
>>>>> you didn't change it intentionally.
>>>>>
>>>>> The default configuration for the external sip-profile is
>>>>> /usr/local/freeswitch/conf/sip_profiles/external.xml(Modify the path
>>>>> according to your Win7-installation).
>>>>>
>>>>> Please verify you have a section in your configuration that says:
>>>>>
>>>>> <profile name="external">
>>>>> <gateways>
>>>>> <X-PRE-PROCESS cmd="include" data="external/*.xml"/>
>>>>> </gateways>
>>>>>
>>>>> ...lots of other stuff in default-config...
>>>>>
>>>>> </profile>
>>>>>
>>>>>
>>>>> Then you add the iptel-configuration you've posted above in
>>>>> /usr/local/freeswitch/conf/sip_profiles/external/iptel.xml(If this
>>>>> didn't happen already)
>>>>>
>>>>> Best regards,
>>>>> Christian
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>
>>>>
>>>> --
>>>> Life is like a rose its upto u feel it as its fragrance or thorns
>>>
>>>
>>>
>>> --
>>> Life is like a rose its upto u feel it as its fragrance or thorns
>>>
>>> _______________________________________________
>>> 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
>>
>
>
>
> --
> Life is like a rose its upto u feel it as its fragrance or thorns
>
> _______________________________________________
> 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/20110615/7701d2d7/attachment.html
More information about the FreeSWITCH-users
mailing list