paulc
c20d050ae9
Prevent multiple engine.timer messages from timing out Channels in the same Driver.
...
This signifficantly reduces the pressure on the worker threads in congestion conditions.
git-svn-id: http://voip.null.ro/svn/yate@6189 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-22 11:22:40 +00:00
paulc
d71d9f38e4
Added option to return a data sniffer safe and referenced.
...
git-svn-id: http://voip.null.ro/svn/yate@6175 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-26 15:32:39 +00:00
paulc
8c0fe9852d
Added support for setting AMR and other codecs' parameters in SDP.
...
Build and package separately the AMR-NB and GSM-EFR codecs.
git-svn-id: http://voip.null.ro/svn/yate@6151 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-25 15:45:34 +00:00
marian
22b023db67
Rollback accidentally commited files in previous commit.
...
git-svn-id: http://voip.null.ro/svn/yate@6137 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:45:40 +00:00
marian
70d1a31eb7
Documented tcp idle/keeplive intervals.
...
git-svn-id: http://voip.null.ro/svn/yate@6136 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:35:31 +00:00
marian
b0e67d7ad3
Added engine.stop relay id to Module.
...
git-svn-id: http://voip.null.ro/svn/yate@6072 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-25 08:34:12 +00:00
paulc
747e32afd8
Added helper class to keep extra account parameters for calls and registration.
...
Added extra account parameters handling to SIP channel.
git-svn-id: http://voip.null.ro/svn/yate@6066 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-18 14:20:00 +00:00
paulc
d56cecb40e
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://voip.null.ro/svn/yate@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc
424feb6aad
Added support for counting allocated objects for memory leaks troubleshooting.
...
git-svn-id: http://voip.null.ro/svn/yate@5752 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-04 16:36:23 +00:00
paulc
f7ad9ee3d0
Reduced contention on CallEndpoint::commonMutex() when getting current or last peer ID.
...
Added a variable and separate mutex for the last peer ID, also used as cache for current one.
git-svn-id: http://voip.null.ro/svn/yate@5702 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-07 16:07:34 +00:00
marian
18ae05c63c
Added post dial delay timeout in outgoing channel started from 'maxpdd' routing parameter. It stops when status is called with 'ringing', 'progressing' or 'answered'.
...
git-svn-id: http://voip.null.ro/svn/yate@5666 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-11 12:46:20 +00:00
marian
2ab24ed2e2
Changed im.execute relay id. Removed im.route message relay. Route chat using call.route message.
...
git-svn-id: http://voip.null.ro/svn/yate@5618 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 07:54:00 +00:00
paulc
18e10bfd69
Changed license terms in each source file to reference an external file.
...
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc
f5230b501c
Changed the handling of the "timeout" parameter so it (re)starts when call is answered.
...
Added "maxcall" and "timeout" setting and handling to channels that lacked it.
git-svn-id: http://voip.null.ro/svn/yate@5282 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-25 09:39:49 +00:00
oana
e4f1433541
Keep channel count in a member variable. Replace the use of count() on the channel list with this variable.
...
git-svn-id: http://voip.null.ro/svn/yate@5222 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-15 12:36:53 +00:00
oana
d47c9acafe
Use const String references for specifying type of data inCallEndpoint. Added method to return the default audio type.
...
git-svn-id: http://voip.null.ro/svn/yate@5087 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-01 11:52:50 +00:00
paulc
4d74b5138f
Added new static mutex to protect channel disconnect parameters during access.
...
git-svn-id: http://voip.null.ro/svn/yate@4662 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-28 18:23:26 +00:00
paulc
fd18c0a6d6
Added methods to get the Module ID of a MessageRelay and to check if the relay with a specific ID is installed.
...
git-svn-id: http://voip.null.ro/svn/yate@4274 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-07 20:56:51 +00:00
paulc
8e61c980ee
Moved DebugEnabler and name from Module to Plugin, made name mandatory.
...
Added API and command to reload configuration of a single plugin.
git-svn-id: http://voip.null.ro/svn/yate@4203 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-23 16:26:25 +00:00
paulc
5e47c82025
Moved the post-disconnect hooking code from ysigchan to the Channel class.
...
Added capability of sending arbitrary SIP headers on call disconnect.
git-svn-id: http://voip.null.ro/svn/yate@4193 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-17 20:57:34 +00:00
paulc
6a9a83d88b
Made public the channel's const disconnect parameters.
...
git-svn-id: http://voip.null.ro/svn/yate@4051 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-21 09:38:41 +00:00
marian
d173535c1c
Lock DataSource while its translator is set. Safely retrieve the translator when a chain is detached.
...
git-svn-id: http://voip.null.ro/svn/yate@3759 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-29 08:41:32 +00:00
paulc
092c043194
Fortified codec chain destruction against invalid accesses.
...
Even if concurrent destruction can still happen it results in no more than a warning message.
git-svn-id: http://voip.null.ro/svn/yate@3667 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-23 14:37:48 +00:00
paulc
e5e9753e15
Added a YNOCOPY macro that declares private inaccessible assignment operator and copy constructor to prevent using the compiler generated ones.
...
Fixed a bug exposed by this change.
git-svn-id: http://voip.null.ro/svn/yate@3375 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 15:46:06 +00:00
paulc
6e23c56d28
Spelling cleanup of a very common error: Retrive -> Retrieve
...
git-svn-id: http://voip.null.ro/svn/yate@3371 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 11:25:10 +00:00
paulc
d9b07638b6
Made a lot of constructors explicit to prevent undesirable automatic conversions.
...
Fixed two undesirable automatic conversions exposed by this change.
git-svn-id: http://voip.null.ro/svn/yate@3366 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-08 15:25:05 +00:00
paulc
4ee71ea8b8
Made DataFormat inherit NamedList so it can have arbitrary extra parameters.
...
git-svn-id: http://voip.null.ro/svn/yate@3279 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 10:21:46 +00:00
paulc
1469b445ca
Added names to codec translator factories to aid in debugging.
...
Try all possible formats when attempting to crate a new chain.
Fixes some missing conversions like speex/32000<->slin.
git-svn-id: http://voip.null.ro/svn/yate@3165 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-02 14:28:27 +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
5950cdd9df
Modified the CallEndpoint::getPeerId() API so it copies the string while holding CallEndpoint::commonMutex().
...
git-svn-id: http://voip.null.ro/svn/yate@3019 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-14 00:01:38 +00:00
paulc
407bc8cf66
Added a validity check method to DataNode and some descendants.
...
A DataSource will remove invalid consumers that returned zero.
git-svn-id: http://voip.null.ro/svn/yate@2854 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-23 14:50:51 +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
2f1a5ff2f6
Added flags to data forwarded through DataNodes.
...
The amount of consumed data is returned to the source.
git-svn-id: http://voip.null.ro/svn/yate@2745 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-02 09:24:33 +00:00
paulc
c163a762f9
Clear the DataEndpoint's owner early, do not assume the CallEndpoint will still be valid when the DataEndpoint is finally destroyed.
...
git-svn-id: http://voip.null.ro/svn/yate@2634 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 12:30:57 +00:00
paulc
2b8a5e0614
Made DataSource inherit Mutex instead of having it as a field.
...
git-svn-id: http://voip.null.ro/svn/yate@2614 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 20:49:05 +00:00
paulc
c546face0d
Added channel disconnect parameter list and methods to use them.
...
git-svn-id: http://voip.null.ro/svn/yate@2549 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-29 18:11:54 +00:00
paulc
9ba9451343
Made Module::itemComplete public, use it in several more places.
...
git-svn-id: http://voip.null.ro/svn/yate@2204 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-16 15:30:54 +00:00
paulc
14e16c86d7
Added a static helper method to complete one item, use it where applicable.
...
git-svn-id: http://voip.null.ro/svn/yate@2202 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-16 13:30:04 +00:00
paulc
9439ffcb52
Added the basic IM related messages.
...
git-svn-id: http://voip.null.ro/svn/yate@2147 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-06 17:21:44 +00:00
paulc
08b2064e3d
Merged branches/marian/client up to rev. 2134.
...
git-svn-id: http://voip.null.ro/svn/yate@2135 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-04 02:06:00 +00:00
paulc
5028b01139
Added capability to route to "line/..." no matter what protocol it uses.
...
Added driver method to query the existence of a line, use it in routing.
git-svn-id: http://voip.null.ro/svn/yate@2073 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-16 09:48:49 +00:00
marian
183356fdf1
Added channel data to keep the last connected peer id.
...
git-svn-id: http://voip.null.ro/svn/yate@2052 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-04 07:51:44 +00:00
paulc
d46fd8f5e1
Duplicate detector now ignores the last DTMF method after 4 seconds.
...
git-svn-id: http://voip.null.ro/svn/yate@1956 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-28 16:54:03 +00:00
paulc
f04087500c
Added capability to mark or block duplicate DTMFs detected by different methods.
...
git-svn-id: http://voip.null.ro/svn/yate@1954 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-25 13:11:49 +00:00
paulc
f645a91c11
Made custom relay installer protected so it can be used for private messages.
...
git-svn-id: http://voip.null.ro/svn/yate@1697 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-28 17:24:55 +00:00
paulc
a2e2e8a270
Added methods to remove just one message relay from module.
...
git-svn-id: http://voip.null.ro/svn/yate@1683 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-27 10:04:42 +00:00
paulc
8fd3986742
Custom message relays can be installed in Modules, relays can be uninstalled.
...
git-svn-id: http://voip.null.ro/svn/yate@1682 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-26 20:43:05 +00:00
paulc
ef8140fccf
Added capability for plugins to request early init order.
...
git-svn-id: http://voip.null.ro/svn/yate@1496 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-26 23:56:37 +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