Commit Graph

18 Commits

Author SHA1 Message Date
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Anthony Minessale f8b19b7485 FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command] 2015-09-21 18:00:32 -05:00
Anthony Minessale d697acb281 tabify
fix emacs tabs mode
2015-05-28 12:47:22 -05:00
Moises Silva d786490584 Fix timestamps in mod_bert broken by the cpu improvements refactoring 2014-12-18 02:04:05 -05:00
Moises Silva 17574a88e4 Add bert stats to mod_bert::lost_sync event
The following values can be read from the event:

sync_lost_percent - Error percentage within the analysis window
sync_lost_count - How many times sync has been lost
cng_count - Counter of confort noise packets
err_samples - Number of samples that did not match the sequence
2014-12-15 00:21:03 -05:00
Moises Silva 42acb62120 Improve mod_bert cpu efficiency
* Use memmem() and memcmp() for pattern checks
* Use a static pre-built buffer for the write frame
2014-12-15 00:21:03 -05: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