Commit Graph

24 Commits

Author SHA1 Message Date
paulc c67312d159 Added extra checks for race conditions where CallEndpoint::setEndpoint() may fail.
Added convenience static RefObject::alive() method to check a RefObject pointer.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6177 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-27 11:25:29 +00:00
paulc e43033d137 Added option to return a data sniffer safe and referenced.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6175 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-26 15:32:39 +00:00
paulc 37a72e4bc1 Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc 3b49b78ecb Added a shared static list of Atom strings and an YATOM macro.
This speeds up signifficantly the Yate RTTI on compilers that HAVE_BLOCK_RETURN.
Made the String comparison operator inline to shave off a few cycles.
Fast handle the comparison in identity case.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
paulc bf57830c7f Added possibility to track message progress through handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5107 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:47:01 +00:00
paulc 553c8a5030 Fixed adding caller and caller numbers when diverting to fax from tonedetect.
Changed variable and method names to be more suggestive.
Added fax divert capability on RFC2833 CNG to the RTP channel too.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4234 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-29 10:50:00 +00:00
paulc 597d369054 Use a RefPointer for DataEndpoint when it could be obtained from setEndpoint instead of being carried (and referenced) by a message.
Prevents crashes caused by race conditions when a CallEndpoint is having its DataEndpoints deleted or replaced.
Bug spotted and patch idea provided by Matthew.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3654 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-15 10:30:35 +00:00
paulc 78f8e2968e Allow a tone detector to be attached to a DataEndpoint too.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3238 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 18:00:30 +00:00
paulc 8810e46b92 Added a continuity check tone detector.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3210 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-19 14:12:31 +00:00
paulc 4ea2bfae71 Convert RTP telephone-event 36 (CNG) to a call.fax message, indicate detection method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2866 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-05 14:50:37 +00:00
paulc 8520218d2d Added flags to data forwarded through DataNodes.
The amount of consumed data is returned to the source.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2745 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-02 09:24:33 +00:00
paulc c669a24f90 Added mutex names to most Yate modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2613 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 14:06:39 +00:00
paulc 9e04236833 Adapted DTMF detector to receive *ANI*DNIS* call setup info.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2118 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-31 14:25:01 +00:00
paulc c061f7796c Increased hysteresis to reduce multiple DMTF detection caused by noise.
Modified debug levels to allow better filtering of output.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2111 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-29 15:41:02 +00:00
paulc b5f010dfc3 Added DTMF detection method to chan.dtmf messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1943 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 22:50:20 +00:00
paulc dab0935905 Reset detection on fax level over average power, it indicates resonance of
filter. This accounts for most fax misdetections.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1340 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-25 20:32:25 +00:00
paulc ee7b398d38 Tweaked parameters to reduce false positives, especially on fax detection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1336 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-24 13:43:39 +00:00
paulc e39385fdd5 Use TelEngine::destruct(obj) or GenObject::destruct() wherever applicable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1325 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 15:40:50 +00:00
paulc ff5726fcc5 Added support for detection on stereo input streams (left/right/mixed).
Fixed thresholds for detecting DTMF tones more reliably.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1299 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-06 17:47:53 +00:00
paulc 04a11f732f Added DTMF detection and CED detection as alternative to CNG.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1101 acf43c95-373e-0410-b603-e72c3f656dc1
2006-11-02 23:29:43 +00:00
paulc e6b81022c9 Support for automatic fax divert.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1022 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-08 18:16:24 +00:00
paulc 98fdadeb00 Added support for multiple data sniffers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1021 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-08 09:50:19 +00:00
paulc 279b121691 Updated fax channel to work with current spandsp. Added tone detector.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1012 acf43c95-373e-0410-b603-e72c3f656dc1
2006-08-31 18:04:59 +00:00