generate deliberate packet loss?
Hi All, I would like to make a sip call through my freeswitch server to a device registered onsip and cause packet loss on either side of the call (not simultaneously, though). Is something I would be able to do through fs_cli? I know a little bit about the uuid_jitterbuffer, but that seems to cause delays with all the packets eventually arriving. Thanks!
http://code.nomad-labs.com/2010/03/11/simulating-dropped-packets-aka-crappy-... On Mon, Feb 06, 2017 at 06:45:57PM -0800, jungle boogie wrote:
Hi All,
I would like to make a sip call through my freeswitch server to a device registered onsip and cause packet loss on either side of the call (not simultaneously, though).
Is something I would be able to do through fs_cli? I know a little bit about the uuid_jitterbuffer, but that seems to cause delays with all the packets eventually arriving.
Thanks!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org 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
-- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
On 02/06/2017 06:48 PM, Alex Balashov wrote:
http://code.nomad-labs.com/2010/03/11/simulating-dropped-packets-aka-crappy-...
THANK YOU, Alex!! I'll add this to the confluence page.
It's also very easy to add latency for testing as well. Example to add 10ms to ixgbe0 interface: tc qdisc add dev ixgbe0 root netem delay 10ms limit 200000 and/or tc qdisc change dev ixgbe0 root netem delay 10ms limit 200000 If you do "netem delay Xms Yms" it will do X +/- Yms roughly. Note that this is on output only, so is typically more useful on a device in between endpoints. Also, don't use it on a high traffic link, it'll have difficulties. -- Nathan On 2/6/17 8:56 PM, jungle boogie wrote:
On 02/06/2017 06:48 PM, Alex Balashov wrote:
http://code.nomad-labs.com/2010/03/11/simulating-dropped-packets-aka-crappy-...
THANK YOU, Alex!! I'll add this to the confluence page.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org 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
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
On 02/06/2017 07:41 PM, Nathan Neulinger wrote:
It's also very easy to add latency for testing as well.
Example to add 10ms to ixgbe0 interface:
tc qdisc add dev ixgbe0 root netem delay 10ms limit 200000 and/or tc qdisc change dev ixgbe0 root netem delay 10ms limit 200000
If you do "netem delay Xms Yms" it will do X +/- Yms roughly.
Note that this is on output only, so is typically more useful on a device in between endpoints. Also, don't use it on a high traffic link, it'll have difficulties.
Thank you! I'll have a read about tc as well!
-- Nathan
participants (3)
-
Alex Balashov
-
jungle boogie
-
Nathan Neulinger