Commit Graph

110 Commits

Author SHA1 Message Date
marian c48ee2974d Added utilities used to build messages sent by the client.
git-svn-id: http://voip.null.ro/svn/yate@3208 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-19 12:01:21 +00:00
marian b39e7a2455 Added user.roster client relay.
git-svn-id: http://voip.null.ro/svn/yate@3207 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-19 08:26:22 +00:00
marian 435817559c Added more status data to client resource.
git-svn-id: http://voip.null.ro/svn/yate@3206 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-19 08:02:04 +00:00
marian 0cc5bd1910 Added/changed debug.
git-svn-id: http://voip.null.ro/svn/yate@3199 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-16 09:43:11 +00:00
marian 6eab2b8c2f Added support to create/destroy a modal dialog from an UI widget.
git-svn-id: http://voip.null.ro/svn/yate@3192 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-14 13:12:25 +00:00
marian a9028c067d Lock the debug mutex only if we have something to show.
git-svn-id: http://voip.null.ro/svn/yate@3191 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-14 08:59:44 +00:00
paulc 33a98e83aa Added Channel::initChan() method to add the channel to the driver explicitely, after the object is fully constructed.
git-svn-id: http://voip.null.ro/svn/yate@3033 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 10:31:32 +00:00
paulc 5950cdd9df Modified the CallEndpoint::getPeerId() API so it copies the string while holding CallEndpoint::commonMutex().
git-svn-id: http://voip.null.ro/svn/yate@3019 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-14 00:01:38 +00:00
paulc 6a433cfe25 Copy by default some parameters from call.execute to chan.startup of outgoing calls.
git-svn-id: http://voip.null.ro/svn/yate@2964 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 18:34:54 +00:00
paulc fe2cf9a444 The runtime parameters from Engine::runParams() are expanded in the client greeting string.
git-svn-id: http://voip.null.ro/svn/yate@2775 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-02 23:19:52 +00:00
paulc 0212e32bab Added a ClientProxy engine run mode for clients with no local UI.
git-svn-id: http://voip.null.ro/svn/yate@2759 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-14 15:49:20 +00:00
marian bc49f19075 Disconnect the channel held by a client sound when stop is requested.
git-svn-id: http://voip.null.ro/svn/yate@2756 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-13 13:12:49 +00:00
marian 67e56439a6 Drop driver lock before displaying the media set failure message.
git-svn-id: http://voip.null.ro/svn/yate@2748 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-07 07:17:11 +00:00
marian 1e7c2dfc69 Client sounds can now carry a stereo parameter. This parameter is forwarded by utility client channels in the chan.attach message.
git-svn-id: http://voip.null.ro/svn/yate@2735 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 16:09:09 +00:00
paulc eb2a9cd5e0 Fixed warnings and a few minor bugs when compiling on a different architecture.
git-svn-id: http://voip.null.ro/svn/yate@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
marian ae477f1184 Utility client channels are now notifying startup/destroyed events.
git-svn-id: http://voip.null.ro/svn/yate@2723 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 06:53:44 +00:00
marian 179987337b Copy the 'cdrwrite' parameter when starting an outgoing client channel.
git-svn-id: http://voip.null.ro/svn/yate@2715 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 15:26:23 +00:00
paulc fe1527fe74 Made some dangerous constructors explicit, fix potential problems exposed by this.
git-svn-id: http://voip.null.ro/svn/yate@2705 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 15:15:36 +00:00
marian ce0e7e6784 Use channel mutex when releasing data for a client utility channel.
git-svn-id: http://voip.null.ro/svn/yate@2704 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 12:12:47 +00:00
marian e238d1bfb2 Add channel client data when notifying without adding the channel pointer. Release channel client data after notifying.
git-svn-id: http://voip.null.ro/svn/yate@2703 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 12:09:26 +00:00
paulc 5227505c00 Added names to the Mutex class to ease debugging of deadlocks.
git-svn-id: http://voip.null.ro/svn/yate@2611 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 12:25:31 +00:00
marian 75caa7467c Start client channel router after the object is completely built.
git-svn-id: http://voip.null.ro/svn/yate@2598 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-27 14:55:25 +00:00
marian d447eecc45 Added safeguard client validation (valid object and not exiting) in client's methods.
git-svn-id: http://voip.null.ro/svn/yate@2589 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-17 15:24:01 +00:00
marian a9e45955b6 Set error and reason for cancelled calls.
git-svn-id: http://voip.null.ro/svn/yate@2585 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-15 15:05:09 +00:00
marian 8b35245d1a Fixed bug: the proxy thread is now using the received target window and skip window when calling client's methods used to clear tables and set/get properties.
git-svn-id: http://voip.null.ro/svn/yate@2580 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-15 08:52:12 +00:00
marian b84a124385 Use standard incoming URL parameter 'caller_info_uri' instead of specific 'sip_url'.
git-svn-id: http://voip.null.ro/svn/yate@2564 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-03 09:58:24 +00:00
marian 5ca70b57ca The client can now open an URL received in call.execute message.
git-svn-id: http://voip.null.ro/svn/yate@2554 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-30 11:40:06 +00:00
marian 193810527e Make sure we drop all channels (not only the client ones) before exiting.
git-svn-id: http://voip.null.ro/svn/yate@2544 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-26 09:58:28 +00:00
marian 1c4319e13e Source message user data can now be copyied in postponed message.
git-svn-id: http://voip.null.ro/svn/yate@2540 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-25 10:05:06 +00:00
marian 666f82ade4 The client channel can now be (un)muted (set/reset data source only).
git-svn-id: http://voip.null.ro/svn/yate@2538 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-24 16:40:00 +00:00
marian 6d3dbc61cc The client channel can now copy additional parameters from received list to chan.startup message.
git-svn-id: http://voip.null.ro/svn/yate@2527 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-20 10:04:21 +00:00
marian 92df5b561d Added client utility channels used by client sounds to play files.
git-svn-id: http://voip.null.ro/svn/yate@2464 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-30 17:12:06 +00:00
marian 20a01a4bed Client actions config file is now loaded when the first client logic is added to the list. Adding a logic to client's list is now controlled from config and logic's priority. Changed default logic's priority.
git-svn-id: http://voip.null.ro/svn/yate@2462 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-30 08:46:26 +00:00
paulc c104e5be07 Fixed some warnings and genuine bugs exposed by newer gcc.
git-svn-id: http://voip.null.ro/svn/yate@2447 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-20 12:27:53 +00:00
marian 203d348952 Fixed runtime window creation: find it by it's name if alias is empty.
git-svn-id: http://voip.null.ro/svn/yate@2444 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-19 12:44:32 +00:00
marian 8823330a46 Moved default client logic to a ClientLogic descendant. The default logic is now created and owned by the client thread.
git-svn-id: http://voip.null.ro/svn/yate@2396 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-05 14:30:20 +00:00
marian ebc021739b Set contact owner when added to an account's list.
git-svn-id: http://voip.null.ro/svn/yate@2391 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-03 16:25:17 +00:00
marian 53b32b7945 Fixed bug: stop parse window list when a property was found.
git-svn-id: http://voip.null.ro/svn/yate@2346 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-17 14:23:05 +00:00
marian 4a906b9d76 Now a channel can be answered without making it the active one.
git-svn-id: http://voip.null.ro/svn/yate@2325 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 09:30:19 +00:00
marian f29ecc71f5 Fixed sync engine.start with client init.
git-svn-id: http://voip.null.ro/svn/yate@2253 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-06 13:51:16 +00:00
marian 939523ccc4 Removed xmpp.iq message handler from client.
git-svn-id: http://voip.null.ro/svn/yate@2250 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-06 10:23:58 +00:00
paulc 5064ef725a Added client methods for adding or updating multiple table rows from a single parameter list.
Added method to postpone processing of message copies to the UI thread.


git-svn-id: http://voip.null.ro/svn/yate@2242 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-29 08:22:20 +00:00
marian cd8707cb30 Added methods used to insert a table row.
git-svn-id: http://voip.null.ro/svn/yate@2241 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-27 16:39:42 +00:00
marian 6f15ba717b Use a protocol list instead of array. Init logic static lists when the client is start running.
git-svn-id: http://voip.null.ro/svn/yate@2221 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-19 09:55:08 +00:00
marian 404d28f0e1 Moved some data from Client to ClientLogic where it belongs.
git-svn-id: http://voip.null.ro/svn/yate@2220 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-19 08:58:42 +00:00
marian 27c11e6afe Fixed wrong spelling.
git-svn-id: http://voip.null.ro/svn/yate@2213 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 14:53:42 +00:00
marian c767e22620 Added spaces in ternary expressions and between operators and operands.
git-svn-id: http://voip.null.ro/svn/yate@2212 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 14:41:30 +00:00
marian 7dd72e34a5 Added methods to update (set/add/delete) one or more table row(s) in one operation. Use them where appropriate.
git-svn-id: http://voip.null.ro/svn/yate@2208 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 10:08:02 +00:00
marian 1f9f922df9 Added exiting flag to know when the client GUI application exited the main loop. Drop client channels when before exiting. Don't process proxy thread if the client is exiting.
git-svn-id: http://voip.null.ro/svn/yate@2196 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-11 15:01:01 +00:00
marian 96b13d0c58 Added engine.start handler used to notify logics (synchronize engine start with client initialize).
git-svn-id: http://voip.null.ro/svn/yate@2190 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-08 16:17:00 +00:00