Commit Graph

764 Commits

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