Commit Graph

31 Commits

Author SHA1 Message Date
marian 3a7f56356d Fixed bug: properly check iq stanza when sending result response.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4977 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-26 09:34:23 +00:00
marian d000d65d8a Outgoing client stream: handle the situation when user's domain is hosted by another domain.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4616 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-15 14:54:12 +00:00
marian 570671414f Delay stream termination on I/O error if we have pending xml elements.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4585 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-01 15:04:31 +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 fb96db9be7 Added new namespace and use it to detect jingle version and audio capability from advertised features.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4214 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 15:33:32 +00:00
marian 6a337d5482 Use async connect if available. The stream connect timeout value is no longer global: it's used for each connect attempt (configured address, srv record, domain). Remember connect status and re-connect starting from old status. Added srv query timeout configurable option.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4150 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-03 13:02:29 +00:00
marian e6fe117b0e Changed stream start timeout values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4131 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-25 10:53:23 +00:00
marian 6b19fa2c19 Changed stream setup and connect default and maximum timeout values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4130 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-25 09:58:56 +00:00
marian e9f820345e Added cluster stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4116 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 16:07:46 +00:00
marian efae418da6 Outgoing streams can now be forced to use a specified local ip when connecting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4110 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-15 15:26:53 +00:00
marian 91b4480cec Fixed bug: avoid sending entity caps request on s2s incoming stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4018 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-23 15:48:12 +00:00
marian f0b1f24305 The jabber client engine default value for 'printxml' is now 'verbose'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4013 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 16:01:38 +00:00
marian 246574548b Merged jabber changes from client branch into trunk.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3928 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-08 09:55:05 +00:00
marian 7f13563d83 Added jabber stream compression support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3436 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-16 11:11:50 +00:00
marian 0661acda5c Check TLS availability before using it on outgoing streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3427 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-09 14:37:19 +00:00
marian 3a60230566 Fixed SRV query failure reporting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3132 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 15:25:15 +00:00
marian 5621a88ebb Fixed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3131 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 14:32:37 +00:00
marian cba07a3ca3 Fixed deadlock: outgoing jabber stream id is now checked by the engine event processor to avoid locking engine's stream list(s) while the stream is locked.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3126 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 13:06:54 +00:00
marian 7ec8c7e66f Fixed indendation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3086 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:45:20 +00:00
marian 69e15604d0 Implemented support for multiple remote domains on incoming s2s streams. Implemented XEP 0185 and 0220. Added module option and stream flag used to disable RFC3920 features advertising on incoming s2s streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3085 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:40:24 +00:00
marian b1f12727ca Add one pair of separators (-----) when xml is printed in verbose mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3043 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-28 11:20:16 +00:00
marian f747a6b6e1 Set message type to 'chat' when building from a list of parameters. Added some namespaces to global list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2986 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-14 16:44:34 +00:00
marian fa5280c020 Add stream type prefix to stream name. Added account to client streams. A client stream can now be retrieved by account from the jabber client engine.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2976 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-27 12:17:17 +00:00
marian 1f61c91241 Fixed compile error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2969 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 13:46:17 +00:00
marian c0507328f6 Skip SRV query if a destination port was set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2968 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 13:40:09 +00:00
marian 3aa98bfd98 Implemented c2s non sasl authentication. Added listener for direct c2s SSL connections. Restrict client resources with the same name while authenticating using non sasl.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2943 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 11:36:05 +00:00
paulc 413102c4c1 Made Yate 3 build in Visual Studio, fixed some bugs discovered by the VC++ compiler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2923 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 18:44:44 +00:00
marian 803f4e27f1 Added error flag used to avoid stream re-connect when terminated with error and have nothing to send. Fixed stream idle timer usage.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2917 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 15:27:47 +00:00
marian 96d283216d Added external component support to jabber server.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2893 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-04 14:29:28 +00:00
marian d6966c6347 Implemented jabber server. Changed jingle channel to support the new jabber library. Replaced tinyxml with yate own XML library. Added openssl support for server. Work in progress in jabber client support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2882 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-02 16:05:39 +00:00