Commit Graph

928 Commits

Author SHA1 Message Date
paulc d6f0a3eb60 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://voip.null.ro/svn/yate@5050 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-09 12:32:43 +00:00
paulc 2f09968c2f Add the O_LARGEFILE flag to handles opened by the File class.
git-svn-id: http://voip.null.ro/svn/yate@5046 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-07 16:01:02 +00:00
oana 8cc60fba89 Display a message in the file transfer window when there are no current transfers.
git-svn-id: http://voip.null.ro/svn/yate@5009 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-18 13:30:26 +00:00
oana 5a26f41d57 Also activate/deactivate the Subscription menu when activating/deactivating its sub-menus.
git-svn-id: http://voip.null.ro/svn/yate@5008 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-18 12:16:09 +00:00
paulc 55d93ce3b0 Force the C locale on AWK while generating G.711 tables.
git-svn-id: http://voip.null.ro/svn/yate@5001 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-06 16:01:40 +00:00
oana 962647b836 Do load and unload of modules on the main thread. Added the possibility of replacing themain loop of the engine.
git-svn-id: http://voip.null.ro/svn/yate@4999 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-06 15:27:35 +00:00
oana b753ddae00 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://voip.null.ro/svn/yate@4995 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-05 10:52:23 +00:00
marian 4b92364391 Fixed Engine method call on Windows.
git-svn-id: http://voip.null.ro/svn/yate@4993 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 15:06:26 +00:00
paulc 42f96f29ae Added an alias and a variation to the events command.
git-svn-id: http://voip.null.ro/svn/yate@4992 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 13:06:46 +00:00
oana df8496ae28 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://voip.null.ro/svn/yate@4991 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 12:46:24 +00:00
oana 3d323905a0 Added support to run the client on the main thread. Run the Qt4 Client on the main thread.
git-svn-id: http://voip.null.ro/svn/yate@4990 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 12:31:32 +00:00
oana edf4c2fc7a Client does not inherit Thread anymore. Use separte thread to run the client on.
git-svn-id: http://voip.null.ro/svn/yate@4987 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 09:42:06 +00:00
oana 241e65a97f Allow Thread::killall() to work from any thread.
git-svn-id: http://voip.null.ro/svn/yate@4986 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 09:27:29 +00:00
paulc e38c90a808 Report the name of the plugins being unloaded from memory.
git-svn-id: http://voip.null.ro/svn/yate@4985 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-03 14:02:48 +00:00
paulc d8650afa26 Skip over Mac OS X process serial number -psn_X_Y on command line.
git-svn-id: http://voip.null.ro/svn/yate@4966 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-15 17:01:01 +00:00
paulc 818d7dfae8 Add node name if missing from module.update messages.
git-svn-id: http://voip.null.ro/svn/yate@4965 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-15 16:20:51 +00:00
paulc 988fc22a25 Verify if the mutex unlock fails, abort if configured so.
git-svn-id: http://voip.null.ro/svn/yate@4958 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-07 17:03:22 +00:00
paulc 3d1f0fcf05 Added a DebugTest level always visible and displayed white on blue background.
git-svn-id: http://voip.null.ro/svn/yate@4949 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-01 12:14:10 +00:00
oana 0c42ec8710 Moved clean up code to cleanup() function.
git-svn-id: http://voip.null.ro/svn/yate@4941 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-23 15:22:08 +00:00
paulc 0ca4590818 Added proper implementation of RefObject::getObject().
git-svn-id: http://voip.null.ro/svn/yate@4928 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-20 14:17:59 +00:00
marian a37b4819a4 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://voip.null.ro/svn/yate@4909 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-16 16:10:15 +00:00
marian 902cbc8aa8 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://voip.null.ro/svn/yate@4902 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-13 15:27:38 +00:00
paulc e88762e14f Added String method that converts to long integer.
git-svn-id: http://voip.null.ro/svn/yate@4899 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-13 08:27:48 +00:00
paulc a7198f5e6b Added support for holding in memory and retrieving events from startup or arbitrary sources.
git-svn-id: http://voip.null.ro/svn/yate@4887 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 13:59:36 +00:00
marian 1e84488d6b Don't drop a master channel with slaves when its peer hangs up.
git-svn-id: http://voip.null.ro/svn/yate@4886 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 13:41:24 +00:00
paulc 28c07865cb Added class that creates a vector of objects from a list.
git-svn-id: http://voip.null.ro/svn/yate@4881 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 11:22:54 +00:00
marian 5d1c60375f Return true when text changed notify action is handled.
git-svn-id: http://voip.null.ro/svn/yate@4834 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-06 13:21:48 +00:00
paulc 5396e49f98 Removed scripting classes from main library.
git-svn-id: http://voip.null.ro/svn/yate@4833 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-04 18:01:49 +00:00
paulc 6d56491236 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://voip.null.ro/svn/yate@4831 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-04 09:33:09 +00:00
marian b54791a99f Notify and handle resource update capabilities when received a response to disco info.
git-svn-id: http://voip.null.ro/svn/yate@4830 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-03 18:23:45 +00:00
marian ae812cf5c4 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://voip.null.ro/svn/yate@4829 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-03 17:31:33 +00:00
paulc 7742aaf46c 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://voip.null.ro/svn/yate@4820 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-25 13:24:11 +00:00
marian cc7284cc77 The user can now choose the authentication method(s) to use for an h323 account.
git-svn-id: http://voip.null.ro/svn/yate@4811 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-20 08:33:01 +00:00
paulc daeadc676d Added an optional user context pointer to expression evaluations.
git-svn-id: http://voip.null.ro/svn/yate@4808 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-17 18:11:45 +00:00
paulc 14f0dc082d Constified ExpEvaluator::getPrecedence() as it should be.
git-svn-id: http://voip.null.ro/svn/yate@4805 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-16 12:17:26 +00:00
marian 7ffede66e6 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://voip.null.ro/svn/yate@4793 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-04 15:53:45 +00:00
paulc 13e4852085 Trim any leading or trailing whitespaces from returned route.
An empty route causes a "noroute" error.


git-svn-id: http://voip.null.ro/svn/yate@4790 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-22 13:46:09 +00:00
paulc c543a4baf3 Made ExpEvaluator::popOne() static and public, it is really a helper method.
git-svn-id: http://voip.null.ro/svn/yate@4737 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-06 15:45:23 +00:00
marian 7e2f3e36f8 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://voip.null.ro/svn/yate@4726 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-25 12:37:45 +00:00
paulc 275a0ddf2d Constified ExpEvaluator methods used during evaluation stage.
git-svn-id: http://voip.null.ro/svn/yate@4687 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 14:18:47 +00:00
paulc 4c26bc0772 Support timestamping logs in local timezone format.
git-svn-id: http://voip.null.ro/svn/yate@4684 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-09 12:41:00 +00:00
paulc b88d2cbd9e Moved the debug timestamping to a separate method.
git-svn-id: http://voip.null.ro/svn/yate@4683 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-09 10:55:27 +00:00
paulc 55e3261c5f 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://voip.null.ro/svn/yate@4682 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-07 17:10:32 +00:00
marian b1b9bfb4b7 Remove account login failure notification when presenting the credentials dialog.
git-svn-id: http://voip.null.ro/svn/yate@4681 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-07 13:05:50 +00:00
paulc 7ad49ca553 Removed some unused RefObject methods.
git-svn-id: http://voip.null.ro/svn/yate@4679 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 18:24:51 +00:00
marian 89a2e00cda Present a dialog window with username and password when account authentication fails.
git-svn-id: http://voip.null.ro/svn/yate@4678 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 15:54:44 +00:00
marian 9b2884b121 Added client options used to send or show received chat with empty body.
git-svn-id: http://voip.null.ro/svn/yate@4676 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 10:27:05 +00:00
paulc 9a9076a90a Added marker in Engine for runtime analyzers like callgrind to start collecting data.
git-svn-id: http://voip.null.ro/svn/yate@4671 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-03 14:40:58 +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 dfec4e9d5a Detach any remaining regular or override DataSource from a DataConsumer that is removed from a DataEndpoint.
git-svn-id: http://voip.null.ro/svn/yate@4650 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-24 15:26:04 +00:00
paulc 9a85d0facd Fixed a few errors exposed by -Wunused-but-set-variable.
Removed some leftover variables exposed by same new compiler check.


git-svn-id: http://voip.null.ro/svn/yate@4589 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-08 10:36:32 +00:00
paulc f45a073446 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://voip.null.ro/svn/yate@4587 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-02 18:06:56 +00:00
paulc 40abd053c0 Fixed meaning of parameter: clump -> clamp.
git-svn-id: http://voip.null.ro/svn/yate@4563 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:47:01 +00:00
marian 4fc28f755c String to integer conversion can now check the result against allowed min/max values. Use it in sip module.
git-svn-id: http://voip.null.ro/svn/yate@4562 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:14:28 +00:00
marian 82a1e0dd88 Initialize class member in constructor body to avoid VC++ warning.
git-svn-id: http://voip.null.ro/svn/yate@4561 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 10:03:41 +00:00
marian 7bd8a85cb3 Added support to choose the transport for sip accounts.
git-svn-id: http://voip.null.ro/svn/yate@4557 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 14:57:03 +00:00
marian b6355eecd6 Added Resolver class to engine. Use it in jabber library.
git-svn-id: http://voip.null.ro/svn/yate@4548 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:04:53 +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 7807c5d8b8 Toggle main window visibility when its tray icon is clicked.
git-svn-id: http://voip.null.ro/svn/yate@4463 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-22 15:01:32 +00:00
marian 02c3052c36 Avoid destroying a Channel with its driver locked.
git-svn-id: http://voip.null.ro/svn/yate@4462 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-22 11:38:57 +00:00
paulc 0333de04f3 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://voip.null.ro/svn/yate@4444 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-07 14:45:09 +00:00
marian be3c716f79 Optimized Array creation: avoid parsing the whole ObjList to append a new item.
git-svn-id: http://voip.null.ro/svn/yate@4441 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-07 10:47:57 +00:00
marian c1569b9b5f Optimized const String usage in client engine and qt library.
git-svn-id: http://voip.null.ro/svn/yate@4439 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-06 13:49:18 +00:00
paulc 471dd0d96d 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://voip.null.ro/svn/yate@4423 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 12:26:53 +00:00
paulc b8e2817f13 Protect the channel status variable while changing it.
git-svn-id: http://voip.null.ro/svn/yate@4375 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-13 13:26:07 +00:00
paulc 3f4bd81fa0 Added possibility to use ui.action message to pop up an error notification.
git-svn-id: http://voip.null.ro/svn/yate@4348 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-28 10:34:37 +00:00
paulc 48bea2b75f 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://voip.null.ro/svn/yate@4346 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 19:45:25 +00:00
paulc 681a16bd9a Moved some annoying messages to DDebug.
git-svn-id: http://voip.null.ro/svn/yate@4345 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 19:42:37 +00:00
marian 92077f23aa 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://voip.null.ro/svn/yate@4342 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 14:39:20 +00:00
marian 4faf1589cc Added client method used to replace plain text chars with html markups.
git-svn-id: http://voip.null.ro/svn/yate@4341 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 12:09:19 +00:00
marian a9629b218c Show chat state notifications received from chat rooms.
git-svn-id: http://voip.null.ro/svn/yate@4340 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 11:31:24 +00:00
marian a1907fef5e Try to build a QT sound to play ring wave file if available. Use the AU file as fallback.
git-svn-id: http://voip.null.ro/svn/yate@4326 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-19 15:10:27 +00:00
marian d7c04400ee Replaced default incoming ring sound file.
git-svn-id: http://voip.null.ro/svn/yate@4325 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-19 14:23:09 +00:00
marian 77476f9436 Fixed bug: clear account 'nologinfail' internal flag when connecting to make sure account login failure notification is shown.
git-svn-id: http://voip.null.ro/svn/yate@4323 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-19 09:46:18 +00:00
marian 07b18bc9f5 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://voip.null.ro/svn/yate@4322 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-19 09:38:17 +00:00
marian 4a2173b69b 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://voip.null.ro/svn/yate@4318 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-18 15:22:04 +00:00
marian a19eee8105 Set 'noping' flag for calls with google voice to prevent call termination.
git-svn-id: http://voip.null.ro/svn/yate@4282 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-11 14:52:05 +00:00
paulc 7d6644c96e 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://voip.null.ro/svn/yate@4273 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-07 12:16:12 +00:00
marian c96b4f36ab 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://voip.null.ro/svn/yate@4272 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-07 12:07:51 +00:00
marian d989155215 Client ring in and out flags now default to 'on'.
git-svn-id: http://voip.null.ro/svn/yate@4268 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-06 14:26:03 +00:00
marian 7829a37952 Fixed data conversion warning.
git-svn-id: http://voip.null.ro/svn/yate@4259 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 15:23:28 +00:00
marian a3cbec520e Added capability to create a new private chat room and invite contacts to it.
git-svn-id: http://voip.null.ro/svn/yate@4257 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 15:00:58 +00:00
marian 73648429c1 Fixed bug: enable 'next' button in join muc wizard when the user enters text in muc server.
git-svn-id: http://voip.null.ro/svn/yate@4255 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 12:46:26 +00:00
marian 6c587a2fb9 Added support for google groupchat.
git-svn-id: http://voip.null.ro/svn/yate@4254 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 12:26:45 +00:00
marian 498ccacd68 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://voip.null.ro/svn/yate@4250 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-31 12:41:11 +00:00
marian 78532b310b Handle logical AND and OR operators when evaluating an expression.
git-svn-id: http://voip.null.ro/svn/yate@4249 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-31 12:17:34 +00:00
marian 07d55caad5 Reset errno when starting to list directory content to make sure we don't inherit a previous failure.
git-svn-id: http://voip.null.ro/svn/yate@4247 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-31 12:10:16 +00:00
paulc dcadd1f961 Added methods to extract a fragment of a String up to a separator.
git-svn-id: http://voip.null.ro/svn/yate@4229 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 16:18:45 +00:00
marian 0a848c7fb1 Removed unused variable.
git-svn-id: http://voip.null.ro/svn/yate@4228 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 14:17:38 +00:00
marian 1aab0e648b Handle conference server and rooms query errors. Reset join wizard state if error is received.
git-svn-id: http://voip.null.ro/svn/yate@4226 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 14:01:24 +00:00
paulc 4494821757 Add the "workpath" to the Engine parameters so the current working directory can be found at runtime.
git-svn-id: http://voip.null.ro/svn/yate@4223 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 13:32:24 +00:00
marian b43b297f95 Display the target when querying a domain for conference server(s) and a conference server for available rooms.
git-svn-id: http://voip.null.ro/svn/yate@4222 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 12:56:10 +00:00
marian 23fa2df067 Added autojoin option to chat room contacts.
git-svn-id: http://voip.null.ro/svn/yate@4219 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 09:33:26 +00:00
marian b792f1b15d Set dtmf method for incoming calls from google voice.
git-svn-id: http://voip.null.ro/svn/yate@4216 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-25 09:57:42 +00:00
paulc 7814f87aec Report the various paths in engine status detail.
git-svn-id: http://voip.null.ro/svn/yate@4215 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 19:36:53 +00:00
paulc 164211949e Allow Engine::loadPluginDir(), Engine::extraPath() and yate -x to load a single module file, not an entire directory.
git-svn-id: http://voip.null.ro/svn/yate@4211 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 13:56:10 +00:00
marian 1b19d546d8 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://voip.null.ro/svn/yate@4209 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 13:30:05 +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 1a05c4d824 Added to NamedList::copySubParams() the option of not skipping over the matched prefix in parameter names.
git-svn-id: http://voip.null.ro/svn/yate@4191 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-17 19:46:26 +00:00
marian 48c2c78747 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://voip.null.ro/svn/yate@4182 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-14 15:44:14 +00:00
marian f6843c61a7 Allow adding chat contacts on connected accounts only.
git-svn-id: http://voip.null.ro/svn/yate@4180 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-14 13:49:09 +00:00
marian e690e2aa5a Added audio set notification to ClientChannel. Handle it in default logic.
git-svn-id: http://voip.null.ro/svn/yate@4179 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-14 10:50:42 +00:00
marian 2a3b9aa16a Avoid deadlock: don't try to lock the client proxy mutex from client channel handlers.
git-svn-id: http://voip.null.ro/svn/yate@4178 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-14 09:53:47 +00:00
marian 779d4b9651 Show a notification message when failed to set media on active channel.
git-svn-id: http://voip.null.ro/svn/yate@4175 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-11 14:38:33 +00:00
marian e0c16dbb7d Advanced mode view now defaults to off.
git-svn-id: http://voip.null.ro/svn/yate@4173 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-11 12:44:44 +00:00
marian d095ba2e2f Bug fix: exit loop after succesfully evaluated a table evaluator limit.
git-svn-id: http://voip.null.ro/svn/yate@4165 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-08 12:09:54 +00:00
paulc ad5c338856 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://voip.null.ro/svn/yate@4153 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-03 19:44:21 +00:00
marian f2463726a0 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://voip.null.ro/svn/yate@4148 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-02 14:29:05 +00:00
paulc 49c8f201aa 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://voip.null.ro/svn/yate@4141 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 16:06:22 +00:00
marian 374fb514f0 Use a NamedIterator (faster) to search for contact groups in input list.
git-svn-id: http://voip.null.ro/svn/yate@4128 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 15:58:17 +00:00
paulc 96d1d091e9 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://voip.null.ro/svn/yate@4125 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 10:26:26 +00:00
paulc b249ad15df Added a fast unsafe iterator for parameters of NamedList.
git-svn-id: http://voip.null.ro/svn/yate@4124 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 10:06:00 +00:00
marian bcb3849bf9 Authentication username can now be configured for sip accounts.
git-svn-id: http://voip.null.ro/svn/yate@4117 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 16:13:05 +00:00
marian 449e35cdbc Don't create chat window/page when receiving chat state notifications.
git-svn-id: http://voip.null.ro/svn/yate@4108 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-14 12:56:21 +00:00
paulc e70e1a0110 Return the chan.disconnected from getDisconnected() with the Channel already set as userData.
git-svn-id: http://voip.null.ro/svn/yate@4101 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-09 11:16:43 +00:00
paulc e2a0453d32 Added information to debug problems in dynamic modules unloading.
git-svn-id: http://voip.null.ro/svn/yate@4093 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-03 15:30:50 +00:00
marian bff3cfc3d8 Fixed bug: remove a deleted address book contact from internal list.
git-svn-id: http://voip.null.ro/svn/yate@4063 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 12:11:40 +00:00
marian 26f88f5539 Update selected contact's actions when its status changed.
git-svn-id: http://voip.null.ro/svn/yate@4061 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 14:57:20 +00:00
marian b3dbbffda4 Fixed bug introduced in rev. 4042: return the correct value when processing actions from notification area.
git-svn-id: http://voip.null.ro/svn/yate@4058 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 10:28:54 +00:00
paulc fa661af327 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://voip.null.ro/svn/yate@4052 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-21 10:21:01 +00:00
marian fad664a0ee Moved notifications related functions upper in the source file to make them accessible to other functions.
git-svn-id: http://voip.null.ro/svn/yate@4043 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-19 16:31:29 +00:00
marian 9be5e60682 Added generic notification ui. Notify the user when roster query fails.
git-svn-id: http://voip.null.ro/svn/yate@4042 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-19 16:25:32 +00:00
marian 5d2887ca05 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://voip.null.ro/svn/yate@4030 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-17 15:24:16 +00:00
marian 9505560743 Fixed bug: add telephony accounts created using the wizard to the telephony account selector.
git-svn-id: http://voip.null.ro/svn/yate@4025 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-14 14:15:18 +00:00
marian c24b25cc8e Select a single account in join chat room. Select the last one if there is more then one.
git-svn-id: http://voip.null.ro/svn/yate@4024 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-13 14:48:28 +00:00
marian 51962deeca Fixed call.drop parameters set when a call is terminated. Set 'busy' reason for incoming, not answered calls.
git-svn-id: http://voip.null.ro/svn/yate@4022 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-13 12:19:02 +00:00
marian f8431f884c Change status to offline for all chat rooms belonging to a given account when it goes offline.
git-svn-id: http://voip.null.ro/svn/yate@4012 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 15:41:38 +00:00
marian bf79f9cb02 Re-use existing offline chat room data and UI when the user wants to re-join it.
git-svn-id: http://voip.null.ro/svn/yate@4011 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 15:16:38 +00:00
marian f870609d4c Implemented room chat logging.
git-svn-id: http://voip.null.ro/svn/yate@4007 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 12:15:53 +00:00
marian 0d205729a2 Send DTMFs using rfc 2833 on calls to google voice.
git-svn-id: http://voip.null.ro/svn/yate@4004 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 08:48:44 +00:00
marian dadad80c88 Don't add a resource when calling a google voice target. Let the jingle channel to redirect the call.
git-svn-id: http://voip.null.ro/svn/yate@4001 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-21 14:00:40 +00:00
marian 9956df6324 Changed call on hold string shown in status bar.
git-svn-id: http://voip.null.ro/svn/yate@3998 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-21 10:53:51 +00:00
paulc 27afcd2149 Remove pending chat notification from chat tabs on docked window activation.
git-svn-id: http://voip.null.ro/svn/yate@3990 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-19 16:57:34 +00:00
paulc cb1e0f94c7 Undid Rev 3986 as it prevented the chat window from popping up.
Make the chat window visible only if not already so to prevent restoring if minimized.


git-svn-id: http://voip.null.ro/svn/yate@3988 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-19 15:29:38 +00:00
paulc 62956d7119 Changed the tray icon updating logic so existing icons can be reused.
This prevents the tray icon from being repeatedly deleted and inserted.


git-svn-id: http://voip.null.ro/svn/yate@3987 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-19 15:16:24 +00:00
marian 31a328e80c Don't force show chat window when incoming chat is received: it will activate the window.
git-svn-id: http://voip.null.ro/svn/yate@3986 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 21:16:45 +00:00
marian 3d5b028609 Allow calling user@domain from telephony tab on gmail accounts.
git-svn-id: http://voip.null.ro/svn/yate@3985 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 17:46:42 +00:00
marian 96567d254a Removed unused variable.
git-svn-id: http://voip.null.ro/svn/yate@3984 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 17:31:05 +00:00
marian ddcb2e9ee3 Don't request confirmation when calling a call log item. Pass the window pointer to the method implementing call log calling.
git-svn-id: http://voip.null.ro/svn/yate@3983 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 17:29:26 +00:00
marian bdd6bdc810 Hide advanced account setup controls by default.
git-svn-id: http://voip.null.ro/svn/yate@3980 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 16:32:26 +00:00
marian 6e4a353be6 Show docked chat by default.
git-svn-id: http://voip.null.ro/svn/yate@3979 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 16:30:02 +00:00
marian 7c8908a1f1 Implemented tray icon incoming chat notification.
git-svn-id: http://voip.null.ro/svn/yate@3978 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 16:21:13 +00:00
marian 50fcc106da Added active flag the Window class. Update it when window active state changes. Added client method used to retrieve the active state of a window.
git-svn-id: http://voip.null.ro/svn/yate@3973 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 12:57:11 +00:00
marian fb01b8234d Add a tray icon to the main window stack when a notification is shown in it. Remove the tray icon when the notifications list is empty, the user clicked the icon or the notification area is hidden due to user actions.
git-svn-id: http://voip.null.ro/svn/yate@3972 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 12:26:36 +00:00
marian 29cde85c70 Remove incoming call icon when selection changed in the calls list. Add extra text to icon tool tip.
git-svn-id: http://voip.null.ro/svn/yate@3968 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 10:25:08 +00:00
marian 0de376da3a Always remove the incoming call icon when the calls page become active.
git-svn-id: http://voip.null.ro/svn/yate@3966 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-17 10:11:49 +00:00
marian 8062c286f6 Implemented per window tray icon stack. An icon is now shown. The main window is now hidden when close button is pressed. Change the tray icon when an incoming call is received.
git-svn-id: http://voip.null.ro/svn/yate@3965 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 17:08:35 +00:00
marian 8ae708dddd Changed default account status to online. Update UI status at startup.
git-svn-id: http://voip.null.ro/svn/yate@3954 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 12:03:21 +00:00
marian 39912e4f6b Implemented chat log (archive).
git-svn-id: http://voip.null.ro/svn/yate@3950 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 11:04:57 +00:00