VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
Prometheus001 at gmx.net Guest
|
Posted: Tue Apr 07, 2009 6:00 pm Post subject: [Freeswitch-users] freeswitch on a laptop listening on 127.0 |
|
|
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:
Quote: |
On Apr 7, 2009, at 12:19 PM, Peter P GMX wrote:
Quote: | 1st Question: Is that possible or is another solution preferrable?
|
Just use FreeSWITCH with mod_portaudio.
Quote: | 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.
Quote: |
Best regards
Peter
|
Brian West
brian@freeswitch.org <mailto:brian@freeswitch.org>
-- Meet us a ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
Posted: Wed Apr 08, 2009 7:05 am Post subject: [Freeswitch-users] freeswitch on a laptop listening on 127.0 |
|
|
I just wanted to know, how much memory overall is consumed by FS inkl.
all Libraries (when used on a Netbook with limited memory), so RES does
only show a portion of the overall RAM, FS uses incl. libraries.
So I did the following:
I restarted my laptop and noted the used memory.
I deactivated all not needed modules in FS, started FS and noted the
used memory.
The difference was 24MB. When a call was present (incl. TLS/SRTP), I
noted 25M. This is a really low value. Impressive!.
Good job done!
Best regards
Peter
Brian West schrieb:
Quote: |
Quote: | 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.
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
solko at gcdf.pl Guest
|
Posted: Wed Apr 08, 2009 7:22 am Post subject: [Freeswitch-users] freeswitch on a laptop listening on 127.0 |
|
|
Peter P GMX pisze:
Quote: | I just wanted to know, how much memory overall is consumed by FS inkl.
all Libraries (when used on a Netbook with limited memory), so RES does
only show a portion of the overall RAM, FS uses incl. libraries.
So I did the following:
I restarted my laptop and noted the used memory.
I deactivated all not needed modules in FS, started FS and noted the
used memory.
The difference was 24MB. When a call was present (incl. TLS/SRTP), I
noted 25M. This is a really low value. Impressive!.
Good job done!
| Do you use linux based system? Linux don't return memory once used to free, it uses it for disk buffers but it will free it when
needed. So probably much part of that system was for disk buffers and are not used by FS any more.
I always thought that memory allocated in libraries are included in process which is using them. Where it should be in your
opinion? For external services/servers memory is not included in process but this is not the case in FS. Look at RES to know how
much memory it uses.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
Posted: Wed Apr 08, 2009 12:10 pm Post subject: [Freeswitch-users] freeswitch on a laptop listening on 127.0 |
|
|
It's linux, yes.
The way I got around the problem that memory may not be freed is:
* to reboot the system.
* look for used memory
* start FS
* look for used memory
* calculate the difference
That way it showed 24-25M which I can understand.
Best regards
Peter
Szymon Olko schrieb:
Quote: | Peter P GMX pisze:
Quote: | I just wanted to know, how much memory overall is consumed by FS inkl.
all Libraries (when used on a Netbook with limited memory), so RES does
only show a portion of the overall RAM, FS uses incl. libraries.
So I did the following:
I restarted my laptop and noted the used memory.
I deactivated all not needed modules in FS, started FS and noted the
used memory.
The difference was 24MB. When a call was present (incl. TLS/SRTP), I
noted 25M. This is a really low value. Impressive!.
Good job done!
| Do you use linux based system? Linux don't return memory once used to free, it uses it for disk buffers but it will free it when
needed. So probably much part of that system was for disk buffers and are not used by FS any more.
I always thought that memory allocated in libraries are included in process which is using them. Where it should be in your
opinion? For external services/servers memory is not included in process but this is not the case in FS. Look at RES to know how
much memory it uses.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
solko at gcdf.pl Guest
|
Posted: Wed Apr 08, 2009 12:37 pm Post subject: [Freeswitch-users] freeswitch on a laptop listening on 127.0 |
|
|
Peter P GMX pisze:
Quote: | It's linux, yes.
The way I got around the problem that memory may not be freed is:
* to reboot the system.
* look for used memory
* start FS
* look for used memory
* calculate the difference
That way it showed 24-25M which I can understand.
| I meant that FS can use less memory now they 24-25 M, what is RES shows is exactly that value. In those 24-25 M are buffers for
files which now are not needed for FS and kernel handles that memory. It is show as used but is not used by FS. Kernel uses it and
will free it when there will be lack of memory.
Always look at RES value if you want to know FS consumption.
Szymon
Quote: | Best regards
Peter
Szymon Olko schrieb:
Quote: | Peter P GMX pisze:
Quote: | I just wanted to know, how much memory overall is consumed by FS inkl.
all Libraries (when used on a Netbook with limited memory), so RES does
only show a portion of the overall RAM, FS uses incl. libraries.
So I did the following:
I restarted my laptop and noted the used memory.
I deactivated all not needed modules in FS, started FS and noted the
used memory.
The difference was 24MB. When a call was present (incl. TLS/SRTP), I
noted 25M. This is a really low value. Impressive!.
Good job done!
| Do you use linux based system? Linux don't return memory once used to free, it uses it for disk buffers but it will free it when
needed. So probably much part of that system was for disk buffers and are not used by FS any more.
I always thought that memory allocated in libraries are included in process which is using them. Where it should be in your
opinion? For external services/servers memory is not included in process but this is not the case in FS. Look at RES to know how
much memory it uses.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
solko at gcdf.pl Guest
|
Posted: Wed Apr 08, 2009 1:32 pm Post subject: [Freeswitch-users] freeswitch on a laptop listening on 127.0 |
|
|
Brian West pisze:
Quote: | You know if you keep doing a fresh checkout every single time then you
are wasting bandwidth... if its your only choice then do that but I
highly recommend you learn to use the tools properly. Our bandwidth is
kindly provided by Bandwidth.com and I would hate to just waste it for
no reason.... btw don't forget to register for Cluecon its quickly
approaching.
/b
| Your right about bandwidth, I use svn in console and never had problems that cannot be fixed. Those gui tools they try to be to
intelligent. I thought there was console svn tool for windows.
Regarding Cluecon, I would like to meet you all there, but in this year it's to expensive and too far for me.
Szymon
Quote: | On Apr 8, 2009, at 12:36 PM, Szymon Olko wrote:
Quote: | 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.
|
Brian West
brian@freeswitch.org <mailto:brian@freeswitch.org>
-- Meet us a ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Apr 08, 2009 1:33 pm Post subject: [Freeswitch-users] freeswitch on a laptop listening on 127.0 |
|
|
Where are you?
/b
On Apr 8, 2009, at 1:14 PM, Szymon Olko wrote:
Quote: | Regarding Cluecon, I would like to meet you all there, but in this year it's to expensive and too far for me.
Szymon
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us a ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|