[Freeswitch-users] freeswitch on a laptop listening on 127.0.0.1 and memory consumption

Szymon Olko solko at gcdf.pl
Wed Apr 8 10:36:37 PDT 2009


mszlazak at aol.com pisze:
>  OK , you're SVN updating on a Linux system but I'm using Windows. The
> very few times I tried with Tortoise SVN I ran into problems were it
> would fail because of some path not being present or some strange symbol
> in a file or something else. Since I'm not experienced enough and don't
> always have the time, I gave up on this approach and just start over
> again in a different folder then reconfigure the updated FS and transfer
> files from an older FS. Yup, it sucks.
> 

Yes I'm linux user.
If you have problems with svn update then you can do your way, make fresh checkout every time. After CO copy modules.conf and
build new version, just copy old config files to installation directory if it is always different one.

That's why I hate gui tools for things like full svn update.
> 
> 
> -----Original Message-----
> From: Szymon Olko <solko at gcdf.pl>
> To: freeswitch-users at lists.freeswitch.org
> Sent: Wed, 8 Apr 2009 12:59 am
> Subject: Re: [Freeswitch-users] freeswitch on a laptop listening on
> 127.0.0.1 and memory consumption
> 
> mszlazak at aol.com <mailto:mszlazak at aol.com> pisze:
> 
>>  I'm not quite sure what your asking.
> 
>> Are you saying that I could run the latest FS svn but in a way that uses
> 
>> my "older" configuration files? If so then I don't, and don't know how
> 
>> ... blush blush.
> 
>> If that's the easiest thing to do then please tell me how.
> 
>> Thanks. Mark.
> 
> 
> 
> Exactly, I do it that way.
> 
> For first time I gave installation prefix when configuring FS. You can stay with 
> 
> /usr/local/freeswich/.
> 
> Now every time i call 'make current' and it does not overwrite my configuration 
> 
> file.
> 
> 
> 
> In case of huge changes in modules I copy/merge my config file with the one from 
> 
> svn. I did not have problems with it, because
> 
> developers makes good default values for new configuration options.
> 
> 
> 
> I don't know which modules do you use, but in ones I use configuration is not 
> 
> changes a lot, there are new options added which
> 
> does not break old one.
> 
> 
> 
> make install do not copy configuration files for me if they are already 
> 
> installed, I have that on production server and all test
> 
> servers. I assume this is correct behavior and I'm not the only one work like 
> 
> that.
> 
> I looked in Makefile and it tests for config file before installing, so it does 
> 
> not overwrite them.
> 
> 
> 
> Regards
> 
> Szymon
> 
>> 
> 
>> -----Original Message-----
> 
>> From: Szymon Olko <solko at gcdf.pl <mailto:solko at gcdf.pl>>
> 
>> To: freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org>
> 
>> Sent: Tue, 7 Apr 2009 10:54 pm
> 
>> Subject: Re: [Freeswitch-users] freeswitch on a laptop listening on
> 
>> 127.0.0.1 and memory consumption
> 
>> 
> 
>> mszlazak at aol.com <mailto:mszlazak at aol.com> <mailto:mszlazak at aol.com <mailto:mszlazak at aol.com?>> pisze:
> 
>> 
> 
>>>  I have to change $${local_ip_v4} to 10.0.0.3 every time I update to a
> 
>> 
> 
>>> new trunk and I have to go through vars.xml, etc changing
> 
>> 
> 
>>> $${local_ip_v4} like you did.
> 
>> 
> 
>>> 
> 
>> 
> 
>>> Is there a way to change $${local_ip_v4} in one place. That way one
> 
>> 
> 
>>> wouldn't have remember all the locations that it needs to be changed?
> 
>> 
> 
>>> 
> 
>> 
> 
>> My configuration is not updated when I compile new version and install it. Do 
> 
>> 
> 
>> you run FS with configuration path pointed to svn
> 
>> 
> 
>> work dir?
> 
>> 
> 
>> 
> 
>> 
> 
>>> -----Original Message-----
> 
>> 
> 
>>> From: Peter P GMX <Prometheus001 at gmx.net <mailto:Prometheus001 at gmx.net> <mailto:Prometheus001 at gmx.net <mailto:Prometheus001 at gmx.net?>>>
> 
>> 
> 
>>> To: freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> <mailto:freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org?>>
> 
>> 
> 
>>> Sent: Tue, 7 Apr 2009 3:52 pm
> 
>> 
> 
>>> Subject: Re: [Freeswitch-users] freeswitch on a laptop listening on
> 
>> 
> 
>>> 127.0.0.1 and memory consumption
> 
>> 
> 
>>> 
> 
>> 
> 
>>> Thanks Brian,
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> what I was actually looking for was to use a standard SIP soft phone
> 
>> 
> 
>>> 
> 
>> 
> 
>>> with some additional features.
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> I finally manged to make FS listen on 127.0.0.1 the following way:
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> vars.xml
> 
>> 
> 
>>> 
> 
>> 
> 
>>>   <X-PRE-PROCESS cmd="set" data="domain=127.0.0.1"/>
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> internal.xml
> 
>> 
> 
>>> 
> 
>> 
> 
>>>     <param name="rtp-ip" value="127.0.0.1"/>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>     <param name="sip-ip" value="127.0.0.1"/>
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> The rest is standard configuration.
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> Now communication Laptop-internal is UDP on port 5060 and external via
> 
>> 
> 
>>> 
> 
>> 
> 
>>> TLS on port 5081, so I have no open port 5060 to the internet.
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> Best regards
> 
>> 
> 
>>> 
> 
>> 
> 
>>> Peter
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> Brian West schrieb:
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>> On Apr 7, 2009, at 12:19 PM, Peter P GMX wrote:
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>> 1st Question: Is that possible or is another solution preferrable?
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>> Just use FreeSWITCH with mod_portaudio.
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>> 2nd Question: How can I change the amount of memory FS tries to reserve
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>> to an absolute minumum (I only have 1 call at a time). Currently it
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>> tries to reserve about 360M if I read that right.
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>> Thats virtual.  Look at RES.
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>> Best regards
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>> Peter
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>> Brian West
> 
>> 
> 
>>> 
> 
>> 
> 
>>>> brian at freeswitch.org <mailto:brian at freeswitch.org> <mailto:brian at freeswitch.org <mailto:brian at freeswitch.org?>> <mailto:brian at freeswitch.org <mailto:brian at freeswitch.org?> 
> 
> <mailto:brian at freeswitch.org <mailto:brian at freeswitch.org?>?>> <mailto:brian at freeswitch.org <mailto:brian at freeswitch.org?> 
> 
> <mailto:brian at freeswitch.org <mailto:brian at freeswitch.org?>?> 
> 
>> 
> 
>> <mailto:brian at freeswitch.org <mailto:brian at freeswitch.org?> <mailto:brian at freeswitch.org <mailto:brian at freeswitch.org?>?>?>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>> -- Meet us a ClueCon!  http://www.cluecon.com <http://www.cluecon.com/>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>> ------------------------------------------------------------------------
> 
>> 
> 
>>> 
> 
>> 
> 
>>>>
> 
>> 
> 
>>> 
> 
>> 
> 
>>>> _______________________________________________
> 
>> 
> 
>>> 
> 
>> 
> 
>>>> Freeswitch-users mailing list
> 
>> 
> 
>>> 
> 
>> 
> 
>>>> Freeswitch-users at lists.freeswitch.org <mailto:Freeswitch-users at lists.freeswitch.org> <mailto:Freeswitch-users at lists.freeswitch.org <mailto:Freeswitch-users at lists.freeswitch.org?>> 
> 
> <mailto:Freeswitch-users at lists.freeswitch.org <mailto:Freeswitch-users at lists.freeswitch.org?> <mailto:Freeswitch-users at lists.freeswitch.org <mailto: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 <mailto:Freeswitch-users at lists.freeswitch.org> <mailto:Freeswitch-users at lists.freeswitch.org <mailto:Freeswitch-users at lists.freeswitch.org?>> 
> 
> <mailto:Freeswitch-users at lists.freeswitch.org <mailto:Freeswitch-users at lists.freeswitch.org?> <mailto:Freeswitch-users at lists.freeswitch.org <mailto: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
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> ------------------------------------------------------------------------
> 
>> 
> 
>>> *The Average US Credit Score is 692. See Yours in Just 2 Easy Steps!
> 
>> 
> 
>>> <http://pr.atwola.com/promoclk/100126575x1221421323x1201417385/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID%3D62%26bcd%3DAprilAvgfooterNO62>* <http://pr.atwola.com/promoclk/100126575x1221421323x1201417385/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID%3D62%26bcd%3DAprilAvgfooterNO62%3E*> 
> 
> <http://pr.atwola.com/promoclk/100126575x1221421323x1201417385/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID%3D62%26bcd%3DAprilAvgfooterNO62%3E*>
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> 
> 
>> 
> 
>>> ------------------------------------------------------------------------
> 
>> 
> 
>>> 
> 
>> 
> 
>>> _______________________________________________
> 
>> 
> 
>>> Freeswitch-users mailing list
> 
>> 
> 
>>> Freeswitch-users at lists.freeswitch.org <mailto:Freeswitch-users at lists.freeswitch.org> <mailto:Freeswitch-users at lists.freeswitch.org <mailto: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 <mailto:Freeswitch-users at lists.freeswitch.org> <mailto:Freeswitch-users at lists.freeswitch.org <mailto: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
> 
>> 
> 
>> 
> 
>> ------------------------------------------------------------------------
> 
>> New Deals on Dell Netbooks - Now starting at $299
> 
>> <http://pr.atwola.com/promoclk/100126575x1219939010x1201342897/aol?redir=http:%2F%2Fad.doubleclick.net%2Fclk%3B213771626%3B35379597%3Bw>
> 
>> 
> 
>> 
> 
>> 
> 
>> ------------------------------------------------------------------------
> 
>> 
> 
>> _______________________________________________
> 
>> Freeswitch-users mailing list
> 
>> Freeswitch-users at lists.freeswitch.org <mailto: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 <mailto: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
> 
> 
> ------------------------------------------------------------------------
> New Deals on Dell Netbooks - Now starting at $299
> <http://pr.atwola.com/promoclk/100126575x1219939010x1201342897/aol?redir=http:%2F%2Fad.doubleclick.net%2Fclk%3B213771626%3B35379597%3Bw>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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





More information about the FreeSWITCH-users mailing list