Commit Graph

778 Commits

Author SHA1 Message Date
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