Greetings, I'm new to freeswitch, just playing with it in a home/small office at present. Overall I've been really impressed with it. One issue we've noticed is a pronounced latency on some or perhaps all calls over roughly 500 seconds in duration. The latency is approximately 3 seconds or more round trip. I tried setting jitterbuffer_msec=20 but it has not prevented the problem. The call quality is otherwise good with no noticeable choppiness or jitter. Other local network traffic appears to be irrelevant, as in the latency seems to occur even when the LAN is idle or experiencing only sporadic bursts of activity, like typical browsing. I read the FAQ and searched jitter, lag and latency in the wiki and list archive but didn't come up with anything. Is this a known issue? Could it be that the problem is specific to my platform? I'm running the freeswitch package on pfsense (FreeBSD-based) and nobody in the pfsense forums seems to know the cause or solution, although others have reported the same issue. Much thanks for your input, db
Can you describe your setup? Need to know what kind of OS and hardware is running FS as well as what kind of phones. Any NAT involved? -MC On Fri, Jun 12, 2009 at 3:14 PM, David Burgess <apt.get@gmail.com> wrote:
Greetings,
I'm new to freeswitch, just playing with it in a home/small office at present. Overall I've been really impressed with it.
One issue we've noticed is a pronounced latency on some or perhaps all calls over roughly 500 seconds in duration. The latency is approximately 3 seconds or more round trip. I tried setting jitterbuffer_msec=20 but it has not prevented the problem. The call quality is otherwise good with no noticeable choppiness or jitter. Other local network traffic appears to be irrelevant, as in the latency seems to occur even when the LAN is idle or experiencing only sporadic bursts of activity, like typical browsing.
I read the FAQ and searched jitter, lag and latency in the wiki and list archive but didn't come up with anything. Is this a known issue? Could it be that the problem is specific to my platform? I'm running the freeswitch package on pfsense (FreeBSD-based) and nobody in the pfsense forums seems to know the cause or solution, although others have reported the same issue.
Much thanks for your input,
db
_______________________________________________ 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
On Fri, Jun 12, 2009 at 4:33 PM, Michael Collins<msc@freeswitch.org> wrote:
Can you describe your setup? Need to know what kind of OS and hardware is running FS as well as what kind of phones. Any NAT involved? -MC
FS is running inside pfsense, which is a freeBSD-based firewall (pfsense.org). Hardware is a lightly loaded Soekris net5501 (500 MHz Geode x86, 512 MB RAM)(www.soekris.com). FS external and internal profiles are both listening on WAN with a public IP address. My extensions are 2 lines on a Linksys PAP2T residing on the LAN, registered to the internal profile on the WAN interface. All calls are made via a sip trunk. PAP2T normally reports a decode latency in the neighborhood of 30 ms and jitter of 5 ms. Ping time to my provider's rtp servers is ~42 ms. Every call starts out with imperceptible latency, but at some point the caller notices a long delay, as I said, usually around 3 seconds, and usually only on calls lasting 500 seconds or more. Anything else I can provide? db
On Fri, Jun 12, 2009 at 3:53 PM, David Burgess <apt.get@gmail.com> wrote:
On Fri, Jun 12, 2009 at 4:33 PM, Michael Collins<msc@freeswitch.org> wrote:
Can you describe your setup? Need to know what kind of OS and hardware is running FS as well as what kind of phones. Any NAT involved? -MC
FS is running inside pfsense, which is a freeBSD-based firewall (pfsense.org). Hardware is a lightly loaded Soekris net5501 (500 MHz Geode x86, 512 MB RAM)(www.soekris.com).
FS external and internal profiles are both listening on WAN with a public IP address. My extensions are 2 lines on a Linksys PAP2T residing on the LAN, registered to the internal profile on the WAN interface. All calls are made via a sip trunk.
PAP2T normally reports a decode latency in the neighborhood of 30 ms and jitter of 5 ms. Ping time to my provider's rtp servers is ~42 ms.
Every call starts out with imperceptible latency, but at some point the caller notices a long delay, as I said, usually around 3 seconds, and usually only on calls lasting 500 seconds or more.
Anything else I can provide?
Hmm... Might want to ask Mark Crane (IRC: mcrane) if he's seen anything like this with FS+pfSense. The FS devs aren't exactly keen on FS + FBSD because of some issues between a FS dependency (APR) and the FBSD threading model. Still, on a light load I wouldn't expect this kind of behavior. -MC
Try <action application="set" data="rtp_autoflush=true" /> Math On 12-Jun-09, at 7:28 PM, Michael Collins wrote:
On Fri, Jun 12, 2009 at 3:53 PM, David Burgess <apt.get@gmail.com> wrote: On Fri, Jun 12, 2009 at 4:33 PM, Michael Collins<msc@freeswitch.org> wrote:
Can you describe your setup? Need to know what kind of OS and hardware is running FS as well as what kind of phones. Any NAT involved? -MC
FS is running inside pfsense, which is a freeBSD-based firewall (pfsense.org). Hardware is a lightly loaded Soekris net5501 (500 MHz Geode x86, 512 MB RAM)(www.soekris.com).
FS external and internal profiles are both listening on WAN with a public IP address. My extensions are 2 lines on a Linksys PAP2T residing on the LAN, registered to the internal profile on the WAN interface. All calls are made via a sip trunk.
PAP2T normally reports a decode latency in the neighborhood of 30 ms and jitter of 5 ms. Ping time to my provider's rtp servers is ~42 ms.
Every call starts out with imperceptible latency, but at some point the caller notices a long delay, as I said, usually around 3 seconds, and usually only on calls lasting 500 seconds or more.
Anything else I can provide?
Hmm... Might want to ask Mark Crane (IRC: mcrane) if he's seen anything like this with FS+pfSense. The FS devs aren't exactly keen on FS + FBSD because of some issues between a FS dependency (APR) and the FBSD threading model. Still, on a light load I wouldn't expect this kind of behavior. -MC
_______________________________________________ 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
On Fri, Jun 12, 2009 at 5:34 PM, Mathieu Rene<mrene_lists@avgs.ca> wrote:
Try <action application="set" data="rtp_autoflush=true" />
Thanks, I will try that.
Hmm... Might want to ask Mark Crane (IRC: mcrane) if he's seen anything like this with FS+pfSense.
Yeah, we've discussed it. He's experienced the same thing but doesn't have an answer at this point. The FS devs aren't exactly keen on FS + FBSD because
of some issues between a FS dependency (APR) and the FBSD threading model. Still, on a light load I wouldn't expect this kind of behavior.
Interesting. Thanks for the feedback. I'll let the list know what I find out. db
On Fri, Jun 12, 2009 at 5:34 PM, Mathieu Rene<mrene_lists@avgs.ca> wrote:
Try <action application="set" data="rtp_autoflush=true" /> Math
This seems to have greatly reduced but not eliminated late-onset latency :p The latest version of the pfsense-freeswitch package is based on freeswitch 13784 and claims to have eliminated the issue, but I haven't tried it yet. db
participants (3)
-
David Burgess
-
Mathieu Rene
-
Michael Collins