Commit Graph

71 Commits

Author SHA1 Message Date
paulc 64120fa92e Allow copying arbitrary params when initiating calls from wave or tonegen.
Copy back the peerid if the outbound call starts.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4606 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-14 17:03:57 +00:00
paulc 1ae0546b45 Added class for pseudo random number generation.
Replace library ::random() and ::rand() calls with shared Random method.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4470 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 11:19:02 +00:00
marian cb37e92229 Added suport to build custom tones from config and specify a tone language. Imported tone descriptions from Asterisk indications.conf.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4031 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-18 10:17:17 +00:00
paulc 08bc5abb50 Always set the name of temporary tone sources, helps in debugging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3812 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 17:57:08 +00:00
paulc 52a13319f7 Allow attaching an opposite type (consumer for tone and wave/play, source for wave/record) data node for tone and wave channels.
Simplifies creation of simple test routes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3260 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 15:19:51 +00:00
paulc a6d32cfff9 Added tone generators for Continuity Check - Verified and Send.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3205 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-17 00:03:45 +00:00
paulc 6eeb68bb1a Added Channel::initChan() method to add the channel to the driver explicitely, after the object is fully constructed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3033 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 10:31:32 +00:00
paulc 12a2ac9c0c Added parameter to ThreadedSource::looping() so it can keep running while it has consumers.
Fixed behavior of wave and tone "override" and "replace" methods.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2835 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 11:02:27 +00:00
paulc 2186793f38 The worker thread of ThreadedSource now keeps it referenced.
New methods of DataEndpoint, CallEndpoint and ThreadedSource allow easier handling of concurrent operations.
Modules using ThreadedSource were modified to use the new API.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2827 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-07 23:49:12 +00:00
paulc 0fa67c2703 Separated repeated tones from one-shots that can only be used in a TempSource.
Added a tone/callwaiting (tone/cw) one-shot tone.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2750 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-07 15:31:30 +00:00
paulc 5499650213 Changed thread names to be uniform and easily readable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc 65fa4adbd4 Fixed warnings and a few minor bugs when compiling on a different architecture.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
paulc 499cbd7c1e Suppress CDR tracking on wave or tone originated call legs since these utility channels don't emit a chan.hangup anyway.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2657 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 14:33:07 +00:00
paulc 3c1a669294 Added callConnect() to several utility channels to enable tone detection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2110 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-29 14:28:36 +00:00
marian 56d50b5c5d Expect a NamedPointer parameter when requested to send raw data.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1643 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-17 15:37:56 +00:00
marian e2a1729f51 Use TelEngine::destruct instead of delete.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1561 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-18 17:53:56 +00:00
marian 2aa3a3d334 Added the posibility to send arbitrary data (raw data) when requested.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1558 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-18 17:22:17 +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 df7d9ef7ec Added info tone - 3 increasing frequencies with 30ms gaps.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1353 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-06 02:43:30 +00:00
paulc 3c8ae08990 Forward the called id parameters to the outgoing calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1316 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-13 21:56:20 +00:00
paulc 0933630ad3 Added "replace" attach method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1221 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-19 22:25:31 +00:00
paulc a3dbaa0088 Worked around bug in 64bit gcc that messes up registers while optimizing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1181 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-30 15:10:55 +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 3db4fbaf14 Tone names are canonicalized, channels are dropped on halt.
git-svn-id: http://yate.null.ro/svn/yate/trunk@912 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-29 15:51:16 +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 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 fff299e2a8 Fixed FFT, added window functions. Added probe tones for analyzer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@706 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-27 17:38:32 +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 7162de80d4 Fixes for Windows compilation suggested by Faizan Naqvi (Tili).
Added names for thread priorities.
Fixed the way some channels handle timestamps (broken by the delta->full API change).


git-svn-id: http://yate.null.ro/svn/yate/trunk@536 acf43c95-373e-0410-b603-e72c3f656dc1
2005-10-07 22:03:19 +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 f015a3446e *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@421 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-01 21:12:16 +00:00
paulc 9f66248239 More debugging support, cleaned up H.323 code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@411 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-20 20:51:17 +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 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 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 1e4e75ac2b Countless changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@318 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-28 22:46:59 +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 4ae0904411 no message
git-svn-id: http://yate.null.ro/svn/yate/trunk@288 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-11 21:20:12 +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 60ec9fec0b Added VC++6 projects and lots of porting changes
git-svn-id: http://yate.null.ro/svn/yate/trunk@272 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-02 00:49:38 +00:00
paulc 97111dbaee *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@267 acf43c95-373e-0410-b603-e72c3f656dc1
2005-03-29 01:50:20 +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