Commit Graph

922 Commits

Author SHA1 Message Date
paulc 76fdb5ce75 Added support for counting allocated objects for memory leaks troubleshooting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5752 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-04 16:36:23 +00:00
marian 03b31b7281 Fixed bug: properly retrieve selected contact when handling call action from address book.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5751 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-31 13:07:37 +00:00
paulc 7e400d3697 Retry taking the lock on CallEndpoint mutex keeping the Engine congested.
This should allow recovering from performance problems as new calls are blocked.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5704 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-07 16:08:37 +00:00
paulc fabd958b61 Added and Engine congestion counter and call accept status override.
Send alarms when entering or exiting congestion state.
The Driver now refuses to route calls while engine is congested or rejecting calls.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5703 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-07 16:08:09 +00:00
paulc 87bdcc5798 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://yate.null.ro/svn/yate/trunk@5702 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-07 16:07:34 +00:00
oana 14b1d0bb07 Added option to remove an object from a HashList using its hash.
Added function to remove an object from a HashList by its String value.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5689 acf43c95-373e-0410-b603-e72c3f656dc1
2013-11-18 11:08:30 +00:00
oana 46e3c529f9 Added ObjList::setUnique() to uniquely set an object in the list. If the object is not already present in the list, it appends it to the list.
Inlined NamedList::setParam(NamedString*) which now uses ObjList::setUnique().
Only iterate once over parameter list when trying to set a parameter in a NamedList with name and value.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5683 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-29 12:04:03 +00:00
marian 64a9290dc9 Ignore selected account and protocol when called target contains '/'. Ignore selected account if called target contains '@' or ':'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5669 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 15:14:33 +00:00
marian fd0c7a9d2b 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://yate.null.ro/svn/yate/trunk@5666 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-11 12:46:20 +00:00
marian 344786285c Add call to history even if caller party number is empty.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5661 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-08 09:21:57 +00:00
paulc e266092edd Properly set DSCP on IPv6 sockets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5660 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-06 18:27:48 +00:00
paulc 7711fef5b7 Added support in Socket and RTP module for setting IP QoS by DSCP keywords.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5659 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-03 16:18:41 +00:00
marian 07b04627c5 Added extra parameter to NamedList::copySubParams() used when wanting to replace existing parameters instead of adding a new one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5658 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-03 12:42:20 +00:00
marian ac29008a7b Added methods used to fill a binary IP address buffer from stringified address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5657 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-01 13:15:30 +00:00
marian e27a590ebb Added IPv6 support to SocketAddr and Socket classes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5656 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-30 13:15:59 +00:00
paulc 5c62b9e049 Added a base class for all digest calculation classes.
Added SHA256 calculation class.
Added HMAC calculation methods.
Added test module for cryptographic functions validation.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5651 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-13 12:43:20 +00:00
paulc aeb005c54e Handle the "control" command in engine like rmanager does.
This allows other modules to easily perform control operations.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5641 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-06 11:07:39 +00:00
paulc f7b7c4ef91 Make the SVN revision accessible to engine, rmanager, SNMP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5639 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-03 16:10:18 +00:00
paulc b34147802a SQL escape single quote by doubling it instead of preceding with backslash.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5630 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-27 19:31:18 +00:00
marian e0942e7e65 Changed im.execute relay id. Removed im.route message relay. Route chat using call.route message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5618 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 07:54:00 +00:00
paulc a8e03e577b No longer require =true on a line that requests to load a module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5617 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-09 12:42:58 +00:00
paulc 18ff43d395 Fixed 64 bit types usage in Javascript, was broken on 32 bit machines.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5612 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 09:49:52 +00:00
paulc c371a7037c Separated 32 and 64 bit constructors and assignments for String.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5611 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 15:42:44 +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
marian d4b5beaa08 Fixed conversion from boolean false to pointer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5598 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 07:10:00 +00:00
paulc 78201aa0be Added unHexify version that automatically detects separator presence.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5596 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-01 14:52:52 +00:00
paulc 3cf42e2828 Use Alarm() in places that could prevent normal operation.
This allows sending SNMP traps when parts of the service become non-operational.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5569 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 12:21:26 +00:00
paulc 7a41d92af8 Make sure captured events have some form of timestamp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5567 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 10:55:21 +00:00
paulc 6053283c1d Fixed comparation in new worker thread alarm level.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5565 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-05 13:47:11 +00:00
paulc 863247ff31 Send Alarm from several places instead of just Debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5563 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-05 12:49:44 +00:00
paulc 696317d733 Added a generic Alarm() function that can be hooked by a module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5559 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-05 12:40:59 +00:00
marian 8cfd569cdf Added incoming call notification window.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5556 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-25 15:04:42 +00:00
paulc b65b5a40e2 Removed a spurious warning at shutdown.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5547 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-14 15:29:50 +00:00
paulc 2cf95d0cf8 Return -1 to the Mutex or Semaphore count if they are not counted (started without -Dd).
Don't include them in Engine status if not counted.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5545 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-14 13:08:30 +00:00
paulc 347829548c Invert the action of -Dd command line option, favor performance by default.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5541 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-13 09:27:03 +00:00
paulc a71a910e8f Allow MIME lines to build only the content part of the line without header.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5531 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-07 15:15:31 +00:00
paulc d3379766f5 Added class to handle Unicode characters and their UTF-8 conversions.
Made String handling of UTF-8 and Unicode easier.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5507 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-20 15:00:26 +00:00
paulc ea1b2f7bec Copy all call.drop parameters into the channel disconnected list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5505 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-14 09:28:14 +00:00
paulc f9ca67c53a Prevent controlReturn() from overwriting a previous return parameter.
Simplified rmanager control return value interpretation.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5504 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-10 14:50:36 +00:00
marian b598f5596d Fixed async connect error check.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5493 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-26 07:51:46 +00:00
marian 7e2d02111f Added methos used to connect a socket asynchronously.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5489 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-25 14:19:31 +00:00
marian c7965f8986 Added file sharing support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5483 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-23 11:34:13 +00:00
marian 0e74d8077c Added file path related utility methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5480 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-23 10:37:22 +00:00
marian fcc6a1b09d Added utility methods and classes to support drag@drop and showing busy indicator on widget.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5479 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-23 10:03:18 +00:00
marian d7619ed087 Fixed time zone retrieval on Windows.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5472 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-18 12:11:38 +00:00
paulc 382229baaf Added method for retrieving the current timezone offset from UTC.
Added possibility to return day of week from Time::toDateTime()


git-svn-id: http://yate.null.ro/svn/yate/trunk@5468 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-17 15:38:44 +00:00
paulc b992373d2d Added support for inserting separators in log timestamps.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5467 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-17 15:26:03 +00:00
paulc 5ce62d0ec9 Apply only strictly positive driver default timeouts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5466 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-15 12:46:48 +00:00
marian d726e461db Added method used to compact (remove empty objects) an ObjList.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5462 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 14:43:58 +00:00
marian 5476d7c66b Added HashList method used to find an object by pointer and hash.
A list iterator built from HashList stores object hashes and use them when needed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5461 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 14:42:29 +00:00