Commit Graph

68 Commits

Author SHA1 Message Date
paulc 1d1a4b4934 Added notify where could be missed under tight timings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1577 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-03 14:41:08 +00:00
paulc 8584fb131b Start counting time position after successfully reading from file.
Alleviates problems caused by slow file systems.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1460 acf43c95-373e-0410-b603-e72c3f656dc1
2007-10-24 17:34:14 +00:00
paulc 3f6e05528c Added setting to make the written files world readable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1425 acf43c95-373e-0410-b603-e72c3f656dc1
2007-08-17 16:13:20 +00:00
paulc da79946d6e Changed the unlocking order to prevent races. Perform cleanups in the
destroyed() method instead of the destructor.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1357 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-08 18:33:33 +00:00
paulc b6f5e45674 Added feature (default enabled) to pad files to full buffer size.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1339 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-25 19:50:23 +00:00
paulc df9c41067c Added support for play/record raw stereo PCM and G.711 files.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1298 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-06 17:46:24 +00:00
paulc cd702d2885 Solved one very narrow timeframe where destruction race was possible.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1284 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-20 16:53:40 +00:00
paulc 954d991b2f Added extra variable to solve asynchronous destruction race between data
and disconnector threads.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1283 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-20 00:08:33 +00:00
paulc 6e503cd4dc Set the disconnector thread name to help in debugging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1278 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-18 00:47:57 +00:00
marian 5cfe78ff09 Au headers are written for all alaw, mulaw and slin formats
git-svn-id: http://yate.null.ro/svn/yate/trunk@1249 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-06 16:08:38 +00:00
paulc 261bbc16ea Support for stereo a-law and mu-law, capability to write them to .au file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1248 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-06 13:37:56 +00:00
paulc 81da125dfd Fixed race of starting thread in constructor. Added "replace" attach method.
Added capability to write .lbc and .au files with headers.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1222 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-19 23:06:06 +00:00
paulc 4985603d97 Clear the owner channel in zombie sources - noone is referencing them
anymore.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1210 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-05 13:48:19 +00:00
paulc d23620dce9 Added a quick workaround for asynchronous deletion problem.
Setting asyncdelete=no in [hacks] of yate.conf reverts to synchronous
thread termination.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1199 acf43c95-373e-0410-b603-e72c3f656dc1
2007-02-22 21:40:21 +00:00
paulc 1ce9993eb2 Implemented an alternative way of destroying a ThreadedSource from the data
pumping thread itself, should fix most threading related problems.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1162 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-12 22:16:38 +00:00
paulc 51ae23e37b Added autorepeat support for the wave source (play).
git-svn-id: http://yate.null.ro/svn/yate/trunk@1125 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-14 18:09:46 +00:00
paulc af70389fc6 Added channel ID (if any) and notify reason to "chan.notify" message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1071 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-09 14:15:14 +00:00
paulc 7d10934a2b Added more debug messages when compiling with DEBUG.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1066 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-03 17:10:56 +00:00
paulc f47eaf8153 Fixed a race bug in in removing the data source.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1065 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-03 16:42:49 +00:00
paulc d9d961cf01 On Windows wave files are opened in binary mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@918 acf43c95-373e-0410-b603-e72c3f656dc1
2006-07-01 00:02:45 +00:00
paulc 017ab81889 Fixed bug related to removal of attached non-notifying wave sources.
git-svn-id: http://yate.null.ro/svn/yate/trunk@908 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-28 15:43:23 +00:00
paulc 6d5c27fdb4 WaveSources with no channel or autoclose get deleted when thread ends.
Thanks Maciek Kaminski for finding this problem.


git-svn-id: http://yate.null.ro/svn/yate/trunk@897 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-21 21:46:55 +00:00
paulc cda2d9f1c2 Updated copyright and FSF address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00
paulc 4a292bd06b Moved all classes in all modules in anonymous namespaces.
Added RTLD_GLOBAL dlopen()ing so symbols exported by libraries loaded by
modules will be available.


git-svn-id: http://yate.null.ro/svn/yate/trunk@813 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 14:53:18 +00:00
paulc 4e448d19c1 Fixed bug in debugging found by Olaf Conradi the hard way :(
git-svn-id: http://yate.null.ro/svn/yate/trunk@751 acf43c95-373e-0410-b603-e72c3f656dc1
2006-04-17 17:45:08 +00:00
paulc c44947b6a1 Added RADIUS client module.
Applied various related and unrelated changes and fixes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@714 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-22 18:22:34 +00:00
paulc 2e625f110d Added caller channel id in rmanager output.
Analyzer outputs quality estimation.


git-svn-id: http://yate.null.ro/svn/yate/trunk@707 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-28 14:39:58 +00:00
paulc 18bb22109c Fixed several race and deadlock conditions.
RTPGroup no longer corrupts memory if transports are removed from its own thread.


git-svn-id: http://yate.null.ro/svn/yate/trunk@654 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-19 21:13:49 +00:00
paulc a474dd56e3 Fixed "Floating point exception" and spurious notify on "wave/play/-"
git-svn-id: http://yate.null.ro/svn/yate/trunk@602 acf43c95-373e-0410-b603-e72c3f656dc1
2005-12-14 13:50:44 +00:00
paulc d8c52bc7bc Added common pre-answer timeout in class Channel.
Fixed bugs in disconnecting wave sources.
Added option settings for external modules.


git-svn-id: http://yate.null.ro/svn/yate/trunk@559 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-04 19:30:47 +00:00
paulc 13ce01f16a Preparation for iLBC support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@532 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-30 22:46:16 +00:00
paulc a497425f07 Override (local announcement) fully supported in tone and wavefile.
Inband DTMF for PRI channels by using the tone generator.
Reduced the default PRI buffer from 60 to 20 msec.


git-svn-id: http://yate.null.ro/svn/yate/trunk@528 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-28 22:06:11 +00:00
paulc 39e6ae4ecb Added support for overrides (local announcements).
Added some extra info to PRI messages and status.


git-svn-id: http://yate.null.ro/svn/yate/trunk@527 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-28 17:41:31 +00:00
paulc a78063526c Video and other media support in SIP, removed PosgreSQL modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@493 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-06 02:51:09 +00:00
paulc e88f37919c Multiple media channels related changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@492 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-02 16:39:00 +00:00
paulc fbde015154 Making sure source's thread is stopped early enough in destructor.
git-svn-id: http://yate.null.ro/svn/yate/trunk@459 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-20 10:19:07 +00:00
paulc 7c0aee7be9 *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@405 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-14 20:53:20 +00:00
paulc 1ba919d70b Added setting of "peerid" in call.execute to most modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@404 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-14 12:36:03 +00:00
paulc d6b03a2919 no message
git-svn-id: http://yate.null.ro/svn/yate/trunk@378 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-30 15:13:02 +00:00
paulc ab4ae958d5 Direct Sound channel, thread fixes
git-svn-id: http://yate.null.ro/svn/yate/trunk@347 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-14 01:38:58 +00:00
paulc 858e5b893d Added not yet working conference and dsound, fixed some useless dependencies.
git-svn-id: http://yate.null.ro/svn/yate/trunk@346 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-13 00:22:45 +00:00
paulc ae1eecc562 Debugging related changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@336 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-06 18:13:33 +00:00
paulc ec02682dd3 Added ability to call without routing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@334 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-05 20:37:30 +00:00
paulc b52a90a618 Updated copyright years, fixed %ll formatting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@320 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-29 22:05:07 +00:00
paulc 2a2dae6466 *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@308 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-24 01:08:51 +00:00
paulc 8db5c6f0d4 no message
git-svn-id: http://yate.null.ro/svn/yate/trunk@283 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-10 21:42:49 +00:00
paulc a7f97c7e06 no message
git-svn-id: http://yate.null.ro/svn/yate/trunk@282 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-09 22:10:00 +00:00
paulc e0bdc9fc4b *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@264 acf43c95-373e-0410-b603-e72c3f656dc1
2005-03-25 01:05:44 +00:00
paulc 8123c918b2 Moved the engine away, added install-noapi
git-svn-id: http://yate.null.ro/svn/yate/trunk@260 acf43c95-373e-0410-b603-e72c3f656dc1
2005-03-18 18:16:59 +00:00
paulc 393a92fdb5 Standardizing the parameters for messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@254 acf43c95-373e-0410-b603-e72c3f656dc1
2005-03-09 09:45:35 +00:00