paulc
7c8b2d4c38
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://voip.null.ro/svn/yate@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
marian
b8e9f19e66
Make sure the user data pointer carried by handled message is a CallEndpoint one.
...
git-svn-id: http://voip.null.ro/svn/yate@5287 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-01 11:00:30 +00:00
paulc
7e77fd2cfb
Added possibility to track message progress through handlers.
...
git-svn-id: http://voip.null.ro/svn/yate@5107 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:47:01 +00:00
paulc
1c2bf6e9a9
Allow copying arbitrary params when initiating calls from wave or tonegen.
...
Copy back the peerid if the outbound call starts.
git-svn-id: http://voip.null.ro/svn/yate@4606 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-14 17:03:57 +00:00
paulc
07132042d0
Added class for pseudo random number generation.
...
Replace library ::random() and ::rand() calls with shared Random method.
git-svn-id: http://voip.null.ro/svn/yate@4470 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 11:19:02 +00:00
marian
7aaa58f1ce
Added suport to build custom tones from config and specify a tone language. Imported tone descriptions from Asterisk indications.conf.
...
git-svn-id: http://voip.null.ro/svn/yate@4031 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-18 10:17:17 +00:00
paulc
dba2e20149
Always set the name of temporary tone sources, helps in debugging.
...
git-svn-id: http://voip.null.ro/svn/yate@3812 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 17:57:08 +00:00
paulc
b7f9fd8331
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://voip.null.ro/svn/yate@3260 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 15:19:51 +00:00
paulc
6e1218d0e2
Added tone generators for Continuity Check - Verified and Send.
...
git-svn-id: http://voip.null.ro/svn/yate@3205 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-17 00:03:45 +00:00
paulc
33a98e83aa
Added Channel::initChan() method to add the channel to the driver explicitely, after the object is fully constructed.
...
git-svn-id: http://voip.null.ro/svn/yate@3033 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 10:31:32 +00:00
paulc
2d0f41a0e4
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://voip.null.ro/svn/yate@2835 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 11:02:27 +00:00
paulc
2ebf04b2a3
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://voip.null.ro/svn/yate@2827 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-07 23:49:12 +00:00
paulc
1178b6e614
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://voip.null.ro/svn/yate@2750 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-07 15:31:30 +00:00
paulc
85ef8e4d49
Changed thread names to be uniform and easily readable.
...
git-svn-id: http://voip.null.ro/svn/yate@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc
eb2a9cd5e0
Fixed warnings and a few minor bugs when compiling on a different architecture.
...
git-svn-id: http://voip.null.ro/svn/yate@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
paulc
c791b1677c
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://voip.null.ro/svn/yate@2657 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 14:33:07 +00:00
paulc
25d0593974
Added callConnect() to several utility channels to enable tone detection.
...
git-svn-id: http://voip.null.ro/svn/yate@2110 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-29 14:28:36 +00:00
marian
4d2954e9d7
Expect a NamedPointer parameter when requested to send raw data.
...
git-svn-id: http://voip.null.ro/svn/yate@1643 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-17 15:37:56 +00:00
marian
01fb3a6c3d
Use TelEngine::destruct instead of delete.
...
git-svn-id: http://voip.null.ro/svn/yate@1561 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-18 17:53:56 +00:00
marian
bc65a48206
Added the posibility to send arbitrary data (raw data) when requested.
...
git-svn-id: http://voip.null.ro/svn/yate@1558 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-18 17:22:17 +00:00
paulc
1a79d8b770
Changed the unlocking order to prevent races. Perform cleanups in the
...
destroyed() method instead of the destructor.
git-svn-id: http://voip.null.ro/svn/yate@1357 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-08 18:33:33 +00:00
paulc
965f46cbc6
Added info tone - 3 increasing frequencies with 30ms gaps.
...
git-svn-id: http://voip.null.ro/svn/yate@1353 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-06 02:43:30 +00:00
paulc
54107e1a34
Forward the called id parameters to the outgoing calls.
...
git-svn-id: http://voip.null.ro/svn/yate@1316 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-13 21:56:20 +00:00
paulc
21bb8d8521
Added "replace" attach method.
...
git-svn-id: http://voip.null.ro/svn/yate@1221 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-19 22:25:31 +00:00
paulc
7a600b807a
Worked around bug in 64bit gcc that messes up registers while optimizing.
...
git-svn-id: http://voip.null.ro/svn/yate@1181 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-30 15:10:55 +00:00
paulc
fba53dfec5
Implemented an alternative way of destroying a ThreadedSource from the data
...
pumping thread itself, should fix most threading related problems.
git-svn-id: http://voip.null.ro/svn/yate@1162 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-12 22:16:38 +00:00
paulc
dba4d3132e
Tone names are canonicalized, channels are dropped on halt.
...
git-svn-id: http://voip.null.ro/svn/yate@912 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-29 15:51:16 +00:00
paulc
3a1938c2c7
Updated copyright and FSF address.
...
git-svn-id: http://voip.null.ro/svn/yate@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00
paulc
7f57bba0fc
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://voip.null.ro/svn/yate@813 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 14:53:18 +00:00
paulc
b19be21992
Added caller channel id in rmanager output.
...
Analyzer outputs quality estimation.
git-svn-id: http://voip.null.ro/svn/yate@707 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-28 14:39:58 +00:00
paulc
2c68bbbb3e
Fixed FFT, added window functions. Added probe tones for analyzer.
...
git-svn-id: http://voip.null.ro/svn/yate@706 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-27 17:38:32 +00:00
paulc
9211f29772
Fixed several race and deadlock conditions.
...
RTPGroup no longer corrupts memory if transports are removed from its own thread.
git-svn-id: http://voip.null.ro/svn/yate@654 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-19 21:13:49 +00:00
paulc
fbe5346930
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://voip.null.ro/svn/yate@536 acf43c95-373e-0410-b603-e72c3f656dc1
2005-10-07 22:03:19 +00:00
paulc
828e234fac
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://voip.null.ro/svn/yate@528 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-28 22:06:11 +00:00
paulc
9a16b13ca2
Added support for overrides (local announcements).
...
Added some extra info to PRI messages and status.
git-svn-id: http://voip.null.ro/svn/yate@527 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-28 17:41:31 +00:00
paulc
b6e7a421e9
Video and other media support in SIP, removed PosgreSQL modules.
...
git-svn-id: http://voip.null.ro/svn/yate@493 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-06 02:51:09 +00:00
paulc
6c96628aa8
Multiple media channels related changes.
...
git-svn-id: http://voip.null.ro/svn/yate@492 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-02 16:39:00 +00:00
paulc
25a1b70bee
Making sure source's thread is stopped early enough in destructor.
...
git-svn-id: http://voip.null.ro/svn/yate@459 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-20 10:19:07 +00:00
paulc
a29084cf50
*** empty log message ***
...
git-svn-id: http://voip.null.ro/svn/yate@421 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-01 21:12:16 +00:00
paulc
33973da02f
More debugging support, cleaned up H.323 code.
...
git-svn-id: http://voip.null.ro/svn/yate@411 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-20 20:51:17 +00:00
paulc
cab5861ebb
Added setting of "peerid" in call.execute to most modules.
...
git-svn-id: http://voip.null.ro/svn/yate@404 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-14 12:36:03 +00:00
paulc
e486a582fc
Direct Sound channel, thread fixes
...
git-svn-id: http://voip.null.ro/svn/yate@347 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-14 01:38:58 +00:00
paulc
a614c7e2bc
Debugging related changes.
...
git-svn-id: http://voip.null.ro/svn/yate@336 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-06 18:13:33 +00:00
paulc
c7b665f929
Added ability to call without routing.
...
git-svn-id: http://voip.null.ro/svn/yate@334 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-05 20:37:30 +00:00
paulc
aa2cb0417f
Updated copyright years, fixed %ll formatting.
...
git-svn-id: http://voip.null.ro/svn/yate@320 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-29 22:05:07 +00:00
paulc
265c976bab
Countless changes.
...
git-svn-id: http://voip.null.ro/svn/yate@318 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-28 22:46:59 +00:00
paulc
885f3646ac
*** empty log message ***
...
git-svn-id: http://voip.null.ro/svn/yate@308 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-24 01:08:51 +00:00
paulc
2ecff79783
no message
...
git-svn-id: http://voip.null.ro/svn/yate@288 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-11 21:20:12 +00:00
paulc
6b9e48dc26
no message
...
git-svn-id: http://voip.null.ro/svn/yate@283 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-10 21:42:49 +00:00
paulc
eb92ccae2b
no message
...
git-svn-id: http://voip.null.ro/svn/yate@282 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-09 22:10:00 +00:00