Commit Graph

1048 Commits

Author SHA1 Message Date
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
paulc 9caa5f851c Strip trailing spaces from unquoted URI description.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5460 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 14:19:09 +00:00
paulc d5a5d0f8f3 Fixed several race conditions in message post-dispatch hooks and extmodule watchers.
Engine status now reports the number of post-dispatch hooks installed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5458 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 14:17:31 +00:00
andrei ef6d1f89ae Added MessageHook and MessageQueue classes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5455 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:54:55 +00:00
paulc 3b49b78ecb 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://yate.null.ro/svn/yate/trunk@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
paulc 53e27dafbd No longer compile out message performance checking, it can be fully disabled at runtime.
Fixed the display of message performance warning and made it similar to sniffer.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5447 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 12:58:04 +00:00
oana 70be0d0fdd Optimized String::msgEscape() and String::msgUnescape() functions.
Added String::append(const char* value, int len) function to the API.
Inlined String::operator+=(const char* value) to use the new String::append() API function.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5436 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 12:39:04 +00:00
oana aa37371c12 Reset valgrind statistics after the first initialization of the modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5435 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 12:19:04 +00:00
marian c5f80d4401 Fixed bug: don't try to retrieve the list from object string hash when finding by pointer: it might be deleted.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5416 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-06 16:15:52 +00:00
oana 9382df168e Slight optimization of String operator += by replacing the use of strncat with strncpy.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5412 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-15 16:20:37 +00:00
oana 6a99ad077f Use delete[] for deallocating array.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5409 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-15 08:24:03 +00:00
oana 08f9aae41b Changed declaration of String::hash() to inline function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5406 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-14 14:29:41 +00:00
andrei 06793b87de Added sort method for ObjList.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5399 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-12 10:02:04 +00:00
andrei 454e425816 Added possibility to extract a parameter from NamedList.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5398 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-12 09:57:37 +00:00
andrei 2a08c45703 Differentiate "No component could process the command" and "The component failed to process the command" in rmanager control output.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5396 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-08 15:23:06 +00:00
paulc 9ce3a36256 Added methods to detect UTF-8 BOM at start of strings.
Strip UTF-8 BOM from start of configuration, XML and Javascript files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5393 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-07 17:10:39 +00:00
marian ce58dea406 Fixed bug: remove relay from relays list when uninstalled to avoid keeping an invalid pointer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5321 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-13 11:30:30 +00:00
andrei 83234869ad Added method to check if any parameter in a list starts with a certain prefix.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5318 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-02 13:41:17 +00:00
paulc a779f83eb0 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://yate.null.ro/svn/yate/trunk@5282 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-25 09:39:49 +00:00
paulc 082d93a3a3 Reduce complexity of appending multiple objects to a list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5271 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 10:59:42 +00:00
marian 64e3c4b224 Fixed debug message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5253 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-05 14:12:26 +00:00
marian 4915f1e631 Handle calling phone numbers for tigase.im jabber accounts. Use voip.tigase.im as target domain.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5246 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-28 15:07:58 +00:00
oana cd8b40e3c6 Keep channel count in a member variable. Replace the use of count() on the channel list with this variable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5222 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-15 12:36:53 +00:00
oana 083eecfcab Try to get socket address length from sa_len field when it is present.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5219 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-07 15:22:56 +00:00
oana a9672028df Detect the presence of the sa_len field of struct sockaddr and set it if that is the case. Fixes the comparison of SocketAddr objects on Mac OS X and BSD-based systems.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5218 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-07 12:08:16 +00:00
paulc 9d1203114b Linear interpolate audio data when upsampling to reduce artifacts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5187 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-06 12:28:05 +00:00
paulc fbb10ee055 Copy parameters to the disconnect list after prerouting.
This allows setting parameters in chan.hangup and CDR for calls cancelled during routing.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5174 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-02 15:30:52 +00:00
paulc 300848b5a6 Copy the parameters in "copyparams" to chan.hangup if the call failed to craete an outbound call leg.
This allows setting custom parameters in CDR from routing or disconnect.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5167 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-01 20:47:55 +00:00
paulc 89210c61b5 Added a lockable class implementing variables shared between modules.
A static set of such variables is kept in Engine and can be initialized by yate.conf


git-svn-id: http://yate.null.ro/svn/yate/trunk@5159 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-27 17:48:50 +00:00
paulc a67b9f560b Fixed a crash caused by removing the last handler from within a message handler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5142 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-21 12:36:31 +00:00
paulc 67e06e890a Initialize and display the proper default config file name in help output.
Allow -OPT=param in addition to -OPT param, simplifies writing wrapper scripts.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5133 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-19 10:59:11 +00:00
paulc bff1af2e1f All handlers except msgsniff should have numeric priority 1 or higher.
This allows the message sniffer to display the messages unaltered.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5124 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-15 11:36:12 +00:00
paulc ff1f72d1cb Fixed bug in help system, was blocking specific help.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5122 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-15 11:15:20 +00:00
paulc 1ae6c15289 Set the call leg "direction" parameter in channel messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5121 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-15 10:52:12 +00:00
paulc da4ff77c26 Add the handler's name to "handlers" before calling the handler.
This reduces confusion for reentrant messages (lateroute).


git-svn-id: http://yate.null.ro/svn/yate/trunk@5113 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-13 08:23:50 +00:00
paulc 4992e68d53 Add :priority to track name even if priority is zero.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5112 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-13 07:29:43 +00:00
paulc 1f4a428278 Raised default maxevents to 25.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5110 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-13 06:51:17 +00:00
paulc bb064d9629 Turn off debugging while capturing an event from debug output.
Prevents a deadlock if String is compiled with XDEBUG.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5108 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:50:59 +00:00
paulc bf57830c7f Added possibility to track message progress through handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5107 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:47:01 +00:00
oana 65e74cd04c Use const String references for specifying type of data inCallEndpoint. Added method to return the default audio type.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5087 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-01 11:52:50 +00:00
paulc bfbe853907 When routing set the default reason only if also using the default error.
This prevents mismatched messages like "401 No Route".


git-svn-id: http://yate.null.ro/svn/yate/trunk@5084 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-31 17:40:33 +00:00
paulc 8df21a9dd4 Allow chan.masquerade to provide only minimal completion of parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5076 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-29 08:48:54 +00:00
paulc 894f9d663f Accept config lines without a = just as having one at end (all line is key name).
This simplifies writing config files where many lines would end with an equal sign.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5065 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-18 10:11:16 +00:00
paulc 1667d0bbc3 Limited the length of the debugging output from expression parser.
Fixed the string limit for single char in a few places, it had to be %.1s instead of %1s.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5062 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-15 14:13:56 +00:00
paulc 2ed4eee7d9 Preserve and use the debug level in the Debugger class.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5060 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-15 11:29:05 +00:00
paulc 444d136aa8 Added G.711 tables to SVN.
Compute slin to mulaw and alaw tables at startup.
Got rid of the sox build time dependency.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5050 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-09 12:32:43 +00:00
paulc 8dc6c1200c Add the O_LARGEFILE flag to handles opened by the File class.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5046 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-07 16:01:02 +00:00
oana 67bbc56a71 Display a message in the file transfer window when there are no current transfers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5009 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-18 13:30:26 +00:00
oana 5562a8307e Also activate/deactivate the Subscription menu when activating/deactivating its sub-menus.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5008 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-18 12:16:09 +00:00
paulc 53e9f39d6c Force the C locale on AWK while generating G.711 tables.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5001 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-06 16:01:40 +00:00
oana d4c6476cd0 Do load and unload of modules on the main thread. Added the possibility of replacing themain loop of the engine.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4999 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-06 15:27:35 +00:00
oana a9b580dd16 Added a method to verify if call parameters look correct. Show a hint message in the interface it not all required parameters are present.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4995 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-05 10:52:23 +00:00
marian 82513bee25 Fixed Engine method call on Windows.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4993 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 15:06:26 +00:00
paulc 2f44d0c9ac Added an alias and a variation to the events command.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4992 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 13:06:46 +00:00
oana 5fe9e0dd4f Detect Mac OS X user path using Mac OS X Foundation API. Modified the build system to build and link Objective-C code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4991 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 12:46:24 +00:00
oana b6aac097e1 Added support to run the client on the main thread. Run the Qt4 Client on the main thread.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4990 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 12:31:32 +00:00
oana 2193605a99 Client does not inherit Thread anymore. Use separte thread to run the client on.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4987 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 09:42:06 +00:00
oana 4f03ed80e8 Allow Thread::killall() to work from any thread.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4986 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 09:27:29 +00:00
paulc 3537420dac Report the name of the plugins being unloaded from memory.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4985 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-03 14:02:48 +00:00
paulc 2c9656adf5 Skip over Mac OS X process serial number -psn_X_Y on command line.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4966 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-15 17:01:01 +00:00
paulc 73a11b49e1 Add node name if missing from module.update messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4965 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-15 16:20:51 +00:00
paulc cd895c0b08 Verify if the mutex unlock fails, abort if configured so.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4958 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-07 17:03:22 +00:00
paulc 0f30cc8f99 Added a DebugTest level always visible and displayed white on blue background.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4949 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-01 12:14:10 +00:00
oana 8c7a071ec0 Moved clean up code to cleanup() function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4941 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-23 15:22:08 +00:00
paulc 96e4fd66d9 Added proper implementation of RefObject::getObject().
git-svn-id: http://yate.null.ro/svn/yate/trunk@4928 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-20 14:17:59 +00:00
marian 9d13ba6339 Change channel item when conference is started. Show the initial channel also to allow removing it's peer from conference without closing it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4909 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-16 16:10:15 +00:00
marian 28389bf9b2 Added extra client method used to set an element's image with fit request. Added extra fit parameter (defaults to false) to window's set image method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4902 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-13 15:27:38 +00:00
paulc bb063cb563 Added String method that converts to long integer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4899 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-13 08:27:48 +00:00
paulc 25b49afb9c Added support for holding in memory and retrieving events from startup or arbitrary sources.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4887 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 13:59:36 +00:00
marian ee70966d61 Don't drop a master channel with slaves when its peer hangs up.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4886 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 13:41:24 +00:00
paulc 347993cf3a Added class that creates a vector of objects from a list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4881 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 11:22:54 +00:00
marian d9e43f3a2e Return true when text changed notify action is handled.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4834 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-06 13:21:48 +00:00
paulc 43be2f2be1 Removed scripting classes from main library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4833 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-04 18:01:49 +00:00
paulc 17a9bdb3e7 Ignore by default the SIGALRM signal, sleep() should install its own handler when needed.
Avoids unexpected exit by spurious SIGALRM that can happen on some flawed operating systems.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4831 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-04 09:33:09 +00:00
marian b31fcf7973 Notify and handle resource update capabilities when received a response to disco info.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4830 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-03 18:23:45 +00:00
marian bf7cb7d6bc Moved channel control buttons to channel item in channels list. Conference and transfer are now done from master channel and shown in its item in channels list. Changed user interface colors and shapes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4829 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-03 17:31:33 +00:00
paulc dc7a8fd917 Do not display or TAB complete the module unload and reload commands if unloading is disabled.
Made the module help messages const.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4820 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-25 13:24:11 +00:00
marian 382426b54a The user can now choose the authentication method(s) to use for an h323 account.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4811 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-20 08:33:01 +00:00
paulc 8c082767d1 Added an optional user context pointer to expression evaluations.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4808 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-17 18:11:45 +00:00
paulc 086966baac Constified ExpEvaluator::getPrecedence() as it should be.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4805 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-16 12:17:26 +00:00
marian e684fa9f8d Fixed bugs. Allow a multipart body to start with dash-boundary (no CR/LF before). Don't process a body part if a boundary is not found after it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4793 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-04 15:53:45 +00:00
paulc 0a8aec34aa Trim any leading or trailing whitespaces from returned route.
An empty route causes a "noroute" error.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4790 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-22 13:46:09 +00:00
paulc 0b33420051 Made ExpEvaluator::popOne() static and public, it is really a helper method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4737 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-06 15:45:23 +00:00
marian bde556be12 Destruct the chain from the first translator when fail to build a new translator for the chain. This will avoid destroying a DataConsumer already attached to a source if the current translator is chained.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4726 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-25 12:37:45 +00:00
paulc 7f45d34850 Constified ExpEvaluator methods used during evaluation stage.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4687 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 14:18:47 +00:00
paulc 775e67ecec Support timestamping logs in local timezone format.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4684 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-09 12:41:00 +00:00
paulc 2351f08e2a Moved the debug timestamping to a separate method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4683 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-09 10:55:27 +00:00
paulc 30e8ae5eda Detect and use atomic integer operations for RefObject reference counter.
Note that GCC supports them on specific architectures, on some platforms -march=... must be set in CFLAGS.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4682 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-07 17:10:32 +00:00
marian 9c3118a896 Remove account login failure notification when presenting the credentials dialog.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4681 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-07 13:05:50 +00:00
paulc a63d128d43 Removed some unused RefObject methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4679 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 18:24:51 +00:00
marian 24240d09cc Present a dialog window with username and password when account authentication fails.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4678 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 15:54:44 +00:00
marian 24eb907c51 Added client options used to send or show received chat with empty body.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4676 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 10:27:05 +00:00
paulc ba66ef045b Added marker in Engine for runtime analyzers like callgrind to start collecting data.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4671 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-03 14:40:58 +00:00
paulc cd83ba0fce Added new static mutex to protect channel disconnect parameters during access.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4662 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-28 18:23:26 +00:00
paulc edef21c123 Detach any remaining regular or override DataSource from a DataConsumer that is removed from a DataEndpoint.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4650 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-24 15:26:04 +00:00
paulc 8c230e1d21 Fixed a few errors exposed by -Wunused-but-set-variable.
Removed some leftover variables exposed by same new compiler check.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4589 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-08 10:36:32 +00:00
paulc 152d0fb013 Check the number of plugins still loaded at shutdown, newer glibc sucks badly!
Warn if at shutdown there are mutexes locked or plugins loaded.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4587 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-02 18:06:56 +00:00
paulc f04d08edb8 Fixed meaning of parameter: clump -> clamp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4563 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:47:01 +00:00
marian 57bff41ad4 String to integer conversion can now check the result against allowed min/max values. Use it in sip module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4562 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:14:28 +00:00
marian bd97f588ab Initialize class member in constructor body to avoid VC++ warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4561 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 10:03:41 +00:00
marian cd5aec032b Added support to choose the transport for sip accounts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4557 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 14:57:03 +00:00
marian 12e6bd1f60 Added Resolver class to engine. Use it in jabber library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4548 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:04:53 +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 04c0a359c9 Toggle main window visibility when its tray icon is clicked.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4463 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-22 15:01:32 +00:00
marian 25d640a2aa Avoid destroying a Channel with its driver locked.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4462 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-22 11:38:57 +00:00
paulc 28b0ffef9f The supervisor keeps the last child termination signal, adds it to next instance's engine status and parameters.
When the child was terminated by watchdog report SIGCHLD.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4444 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-07 14:45:09 +00:00
marian be22162728 Optimized Array creation: avoid parsing the whole ObjList to append a new item.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4441 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-07 10:47:57 +00:00
marian 697a51a4ce Optimized const String usage in client engine and qt library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4439 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-06 13:49:18 +00:00
paulc fa0269ba4f New YSTRING macro that creates an ad-hoc static const String to speed up comparations and conversions from literal strings.
On unsupported compilers the literal string is returned unchanged.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4423 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 12:26:53 +00:00
paulc 980815c723 Protect the channel status variable while changing it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4375 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-13 13:26:07 +00:00
paulc a9e86279b8 Added possibility to use ui.action message to pop up an error notification.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4348 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-28 10:34:37 +00:00
paulc 45ec55c9c6 Properly parse URIs whose protocol contains digits like h323:something.
Do not URI-unescape the user part if protocol is empty or Jabber/XMPP.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4346 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 19:45:25 +00:00
paulc 43e3483179 Moved some annoying messages to DDebug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4345 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 19:42:37 +00:00
marian 761cdc82b4 The custom tree (and ContactList) is now using a custom item delegate to display html content in cells (faster then using widgets).
git-svn-id: http://yate.null.ro/svn/yate/trunk@4342 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 14:39:20 +00:00
marian 1b6401d6a4 Added client method used to replace plain text chars with html markups.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4341 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 12:09:19 +00:00
marian 4754d33419 Show chat state notifications received from chat rooms.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4340 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 11:31:24 +00:00
marian ce72b96fe5 Try to build a QT sound to play ring wave file if available. Use the AU file as fallback.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4326 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-19 15:10:27 +00:00
marian 9400006466 Replaced default incoming ring sound file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4325 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-19 14:23:09 +00:00
marian 7abc510add Fixed bug: clear account 'nologinfail' internal flag when connecting to make sure account login failure notification is shown.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4323 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-19 09:46:18 +00:00
marian 4920f8acf8 Show a notification when a contact add, change or remove succeeded or failed. Show a notification when contact list retrieval fails.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4322 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-19 09:38:17 +00:00
marian d56fd63567 Added option to hide/show offline contacts when inviting to conference. Avoid adding contact duplicates in the list. The user can now add arbitrary contacts to the list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4318 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-18 15:22:04 +00:00
marian 52a9d18fa5 Set 'noping' flag for calls with google voice to prevent call termination.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4282 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-11 14:52:05 +00:00
paulc 84f04adaa9 Decode MIME type message/sipfrag as lines of text.
Allow generic processing of SIP INFO messages that are not used for DTMFs.
Properly add lines of text bodies to generic SIP messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4273 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-07 12:16:12 +00:00
marian 22c6df4963 Use join muc wizard to add new chat room contacts. Allow changing chat room account, room and server when editing one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4272 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-07 12:07:51 +00:00
marian 81268cfd2d Client ring in and out flags now default to 'on'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4268 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-06 14:26:03 +00:00
marian 88aef31bc7 Fixed data conversion warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4259 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 15:23:28 +00:00
marian cba5690296 Added capability to create a new private chat room and invite contacts to it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4257 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 15:00:58 +00:00
marian fd10604905 Fixed bug: enable 'next' button in join muc wizard when the user enters text in muc server.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4255 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 12:46:26 +00:00
marian e1fe72802a Added support for google groupchat.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4254 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 12:26:45 +00:00
marian 4434222bc6 Fixed account directory clear: don't add path separator when listing the directory. Fixed account directory setup: properly check the error when listing the parent directory.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4250 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-31 12:41:11 +00:00
marian abbc07b035 Handle logical AND and OR operators when evaluating an expression.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4249 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-31 12:17:34 +00:00
marian 9db71618c3 Reset errno when starting to list directory content to make sure we don't inherit a previous failure.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4247 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-31 12:10:16 +00:00
paulc a6bb5eea55 Added methods to extract a fragment of a String up to a separator.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4229 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 16:18:45 +00:00
marian 4c846e611a Removed unused variable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4228 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 14:17:38 +00:00
marian 934f991559 Handle conference server and rooms query errors. Reset join wizard state if error is received.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4226 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 14:01:24 +00:00
paulc ca0ba28f91 Add the "workpath" to the Engine parameters so the current working directory can be found at runtime.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4223 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 13:32:24 +00:00
marian 1bf0388d05 Display the target when querying a domain for conference server(s) and a conference server for available rooms.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4222 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 12:56:10 +00:00
marian a745d44cb9 Added autojoin option to chat room contacts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4219 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 09:33:26 +00:00
marian 42e97bd62c Set dtmf method for incoming calls from google voice.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4216 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-25 09:57:42 +00:00
paulc 497fdc29ea Report the various paths in engine status detail.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4215 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 19:36:53 +00:00
paulc 4bc4db8ee7 Allow Engine::loadPluginDir(), Engine::extraPath() and yate -x to load a single module file, not an entire directory.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4211 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 13:56:10 +00:00
marian 4bc643c0f3 Chat rooms can now be added to contacts list. Save them locally and to server as private data. Retrieve chat rooms private data when connected.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4209 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 13:30:05 +00:00
paulc b94f4c4239 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://yate.null.ro/svn/yate/trunk@4203 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-23 16:26:25 +00:00
paulc c9a2c40f32 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://yate.null.ro/svn/yate/trunk@4193 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-17 20:57:34 +00:00
paulc 7702fd0979 Added to NamedList::copySubParams() the option of not skipping over the matched prefix in parameter names.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4191 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-17 19:46:26 +00:00
marian 72f2188dfa Handle text changed in username field in chat contact add window: split 'user@domain' and set user and domain in the appropriate field(s).
git-svn-id: http://yate.null.ro/svn/yate/trunk@4182 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-14 15:44:14 +00:00
marian 1586b119f3 Allow adding chat contacts on connected accounts only.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4180 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-14 13:49:09 +00:00
marian 3444767e47 Added audio set notification to ClientChannel. Handle it in default logic.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4179 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-14 10:50:42 +00:00
marian 015651ead8 Avoid deadlock: don't try to lock the client proxy mutex from client channel handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4178 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-14 09:53:47 +00:00
marian d8f69c7603 Show a notification message when failed to set media on active channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4175 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-11 14:38:33 +00:00
marian 8622f204ad Advanced mode view now defaults to off.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4173 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-11 12:44:44 +00:00
marian 1b68f67501 Bug fix: exit loop after succesfully evaluated a table evaluator limit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4165 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-08 12:09:54 +00:00
paulc e73be17873 Replace engine parameters in the path of modules loaded from [preload] or [postload] sections.
This allows using ${modulepath} and ${modsuffix} so an absolute path is no longer required.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4153 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-03 19:44:21 +00:00
marian 5f0adc7c0e Added method used to check if a non blocking operation is in progress. Added method used to update the socket error when a non blocking operation completed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4148 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-02 14:29:05 +00:00
paulc b1bcd4d95b Clear disconnect parameters after retrieving them once.
Being set by the peer we don't want them in our chan.hangup message.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4141 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 16:06:22 +00:00
marian b5719c5e7a Use a NamedIterator (faster) to search for contact groups in input list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4128 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 15:58:17 +00:00
paulc d9732b76bf Fix a number of inefficient NamedList iterations using O(n^2) steps when they only need O(n) steps.
Prevent adding a NULL parameter to a NamedList.
Original patch by Allan Sandfeld.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4125 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 10:26:26 +00:00
paulc 8700101f2c Added a fast unsafe iterator for parameters of NamedList.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4124 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 10:06:00 +00:00
marian a7f2231773 Authentication username can now be configured for sip accounts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4117 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 16:13:05 +00:00
marian c576c562ff Don't create chat window/page when receiving chat state notifications.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4108 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-14 12:56:21 +00:00
paulc e45b1405db Return the chan.disconnected from getDisconnected() with the Channel already set as userData.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4101 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-09 11:16:43 +00:00
paulc 49eaf733db Added information to debug problems in dynamic modules unloading.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4093 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-03 15:30:50 +00:00
marian 56877f1b5e Fixed bug: remove a deleted address book contact from internal list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4063 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 12:11:40 +00:00
marian 435e599925 Update selected contact's actions when its status changed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4061 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 14:57:20 +00:00
marian 453604f7d6 Fixed bug introduced in rev. 4042: return the correct value when processing actions from notification area.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4058 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 10:28:54 +00:00
paulc 7c4801873f Automatically copy disconnect parameters to the chan.hangup message.
Provide those parameters to the peer call endpoint when disconnecting it.
Add numeric cause_q931 to disconnect params of h323chan.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4052 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-21 10:21:01 +00:00
marian 4a9b2b0a20 Moved notifications related functions upper in the source file to make them accessible to other functions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4043 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-19 16:31:29 +00:00
marian 327ce2cc7f Added generic notification ui. Notify the user when roster query fails.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4042 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-19 16:25:32 +00:00
marian 4801fa3f7c Always update the telephony account selector when handling user.notify messages.
Delay sending presence and requesting the roster when creating an account using the wizard.

git-svn-id: http://yate.null.ro/svn/yate/trunk@4030 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-17 15:24:16 +00:00
marian 1e320fe3fe Fixed bug: add telephony accounts created using the wizard to the telephony account selector.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4025 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-14 14:15:18 +00:00
marian 69d3786d76 Select a single account in join chat room. Select the last one if there is more then one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4024 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-13 14:48:28 +00:00
marian f27d6a6266 Fixed call.drop parameters set when a call is terminated. Set 'busy' reason for incoming, not answered calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4022 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-13 12:19:02 +00:00
marian 2ab186d22d Change status to offline for all chat rooms belonging to a given account when it goes offline.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4012 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 15:41:38 +00:00
marian fd6af43b74 Re-use existing offline chat room data and UI when the user wants to re-join it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4011 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 15:16:38 +00:00
marian a6cb30883d Implemented room chat logging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4007 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 12:15:53 +00:00