Commit Graph

27506 Commits

Author SHA1 Message Date
Brian West 7b390eece7 jitteron for testing 2014-09-10 12:35:30 -05:00
Anthony Minessale 77c99b6306 FS-6806 #resolve #comment off by 1 error in last fix 2014-09-10 20:32:36 +05:00
Anthony Minessale 37d7fb7888 calculate jitter percentage in jitterbuffer to factor into conditions for reducing the size when in adaptave mode 2014-09-10 04:17:01 +05:00
Brian West 66302cac89 FS-6811 #resolve 2014-09-09 17:59:29 -05:00
Nathan Neulinger 574d19e56e mod_skinny: fix behavior of transfer when target extension falls through to voicemail - keep bridge from dropping out during that operation 2014-09-09 15:58:56 -05:00
Anthony Minessale 151440b7e1 fix race caused by consecutive stun packets 2014-09-09 21:35:51 +05:00
Travis Cross eb7200bbe5 Avoid mod_java on Debian wheezy
We're already avoiding it on sid and jessie; now we're hitting build
failures with it on wheezy.

ref: FS-6811
2014-09-09 16:25:17 +00:00
Travis Cross 3382b805a5 Add mod_bert to debian packaging 2014-09-09 14:27:27 +00:00
Nathan Neulinger 8973ffcc35 mod_skinny: improvements to error handling/detection 2014-09-09 08:30:46 -05:00
Travis Cross c3d65e902d Merge in Moises Silva's mod_bert 2014-09-09 09:15:30 +00:00
Moises Silva 89e8e14a9f Improvements to mod_bert
* Honor the timer name variable

* Added mod_bert::in_sync event when the stream is in sync
2014-09-09 04:07:13 -04:00
Moises Silva 25c6276fea Added cng counter to the bert test app 2014-09-09 04:07:13 -04:00
Moises Silva 557a4a8580 Treat CNG as a silent frame in mod_bert 2014-09-09 04:07:12 -04:00
Moises Silva 58e47748ca Only use a timer if bert_timer_name is specified, otherwise time based on input 2014-09-09 04:07:12 -04:00
Moises Silva cf2fd15211 Add BERT events for timeout and out of sync in mod_bert 2014-09-09 04:07:12 -04:00
Moises Silva 3248e06b91 Add timer to mod_bert to avoid relying on remote RTP for timing 2014-09-09 04:07:12 -04:00
Moises Silva ef694513df Improvements to mod_bert
* Added BERT stats channel variables

* Check if the channel is going down when out of sync to avoid flagging it
  as out of sync, if the channel is going down it is expected to have some errors
2014-09-09 04:07:12 -04:00
Moises Silva a84ce1dd3c Improvements to mod_bert
* Improve bert input debug
* Check for SFF_CNG and ignore those frames
2014-09-09 04:07:11 -04:00
Moises Silva d3b214a672 Improvements to mod_bert
* Use digital milliwatt as the test sequence pattern
* Add debug IO files (enabled using bert_debug_io_file variable)
2014-09-09 04:07:11 -04:00
Moises Silva a60876b165 Use a triangle wave in mod_bert 2014-09-09 04:07:11 -04:00
Moises Silva 66a9e12aa8 Improvements to mod_bert
* Calculate sampling error rate over a time window

* Create the following variables to control bert testing behavior:
  bert_timeout_ms - Milliseconds to wait for bert sync before timing out
  bert_window_ms - Window of time to calculate sampling error rate percentage
  bert_max_err - Max percentage of error tolerated before going out of sync
  bert_hangup_on_error - Hangup when error occurs (Timeout or going out of sync)
2014-09-09 04:07:11 -04:00
Moises Silva fa3a1a0bdd Added mod_bert module 2014-09-09 04:07:02 -04:00
Seven Du 590382f4a6 fix url parsing 2014-09-09 11:51:53 +08:00
Nathan Neulinger 3c7e7c757a mod_skinny: more logging during transfer operations 2014-09-08 17:35:30 -05:00
Anthony Minessale II 61a3997b26 Merge pull request #43 in FS/freeswitch from ~GIAVAC/freeswitch:master to master
* commit '9215c9382714e04c5dfae40aaad2f0dfef259dfc':
  FS-6785 - pass and use sample rate in switch_core_session_get_payload_code()
2014-09-08 15:18:16 -05:00
Mike Jerris 98c8a9b508 Merge pull request #38 in FS/freeswitch from ~ALEXDG/freeswitch-event-for-gateway-ping:master to master
* commit '388e9638de7c14e00272777245dacc87cf09fc1c':
  F-5946 add the patches. if in the sofia gateway config the param pin-monitoring is true, then every ping result raise an sofia::gateway-state event
2014-09-08 14:35:47 -05:00
Brian West ce14c8f971 Merge pull request #45 in FS/freeswitch from ~ANDEE/freeswitch-fs6803:master to master
* commit '6753ccf65d9ea8b0334fe6a0cfdb4390bf56fcc2':
  Missed one of the variable changes!
2014-09-08 14:32:28 -05:00
Anthony Minessale a73583b5f3 FS-6806 #resolve 2014-09-09 00:09:31 +05:00
Andrew Cassidy 6753ccf65d Missed one of the variable changes! 2014-09-08 19:18:43 +01:00
Anthony Minessale 678dc3dcde remove alert 2014-09-08 22:54:21 +05:00
Brian West bb8e4bd1bb FS-6803 #resolve 2014-09-08 11:25:52 -05:00
Jeff Lenk f230eb2a98 vs2010 reswig again 2014-09-08 10:32:35 -05:00
Jeff Lenk f63ad553f7 vs2010 reswig 2014-09-08 10:18:23 -05:00
Giacomo Vacca 9215c93827 FS-6785 - pass and use sample rate in switch_core_session_get_payload_code() 2014-09-08 14:26:58 +00:00
Seven Du 2eed5ecf07 clean the uri to protect us from uri vulnerability attack like request /../../../../etc/passwd 2014-09-08 07:46:10 +08:00
Seven Du a845755ea8 http 1.1 keepalive support 2014-09-07 12:21:42 +08:00
Seven Du 023f6e148a fix http header parsing, now it accepts short header 2014-09-07 11:47:38 +08:00
Seven Du 4e07845f2d fix incorrect string termination
if read multi times when waiting for a slow client, then bytes is much shorter than datalen
so it could incorrectly terminate the string and data could be lost
2014-09-07 11:45:12 +08:00
Seven Du 59cd3c77d8 FS-6796 #resolve hack mod_lua to read correct binary string 2014-09-06 19:38:40 +08:00
Seven Du c02b2427e8 refactor http parsing and prevent read body more than content-length 2014-09-06 19:35:05 +08:00
Seven Du aa15994c7f fix return value 2014-09-06 18:29:19 +08:00
Seven Du 7be60474ab respond to OPTIONS and only allows GET and HEAD on static resources 2014-09-06 17:21:58 +08:00
Seven Du f3616557b6 parse x-www-form-urlencoded post body 2014-09-06 17:21:58 +08:00
Seven Du f5c0c13931 add http query string parsing and improve http header parsing 2014-09-06 17:21:58 +08:00
Seven Du a9b91550e9 add HTTP Basic auth 2014-09-06 17:21:57 +08:00
Seven Du 7f8cc54cfb add basic http virtual host support and fix some leaks 2014-09-06 17:21:57 +08:00
Jeff Lenk 76b093a098 fix trivial windows compiler warning for vs2010 2014-09-05 22:43:52 -05:00
Seven Du d8bc5ed7ae swigall 2014-09-06 07:18:38 +08:00
Seven Du 1a4e6e3093 FS-6796 #comment avoid use c++ string since it causing troubles 2014-09-06 07:18:38 +08:00
William King 794f09bba0 Merge pull request #40 in FS/freeswitch from ~RTRELEAVEN/freeswitch-fs-4762:fs-4762 to master
* commit '9d9feb647a219af467514116824d80ca608fbf4c':
  make the tzfile header check look for "TZif" instead of "TZif2"
2014-09-05 13:18:34 -05:00