Commit Graph

85 Commits

Author SHA1 Message Date
marian a9d2c66492 Fixed incorrect identities/features ordering when building capabilities hash.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4751 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-12 11:37:06 +00:00
marian 761e7536dc Added missing reason to session dictionary.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4728 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-30 08:29:07 +00:00
marian 861a947eee Fixed parameter retrieval from postponed stream termination.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4674 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 08:30:21 +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
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
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
marian 7cebe1115d Added google p2p transport support for jingle version 1.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4479 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-11 09:32:16 +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 56af3d65b1 Added jingle session 'no ping' flag to prevent sending session ping. Fixed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4280 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-11 14:48:35 +00:00
marian 9ba72448b7 Fixed bug: add the separator when building the list of compression methods from received stanza.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4263 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-05 08:15:56 +00:00
marian f3b416612c Advertise 'pmuc-v1' MUC capability in entity capability child of the presence stanza.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4253 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 07:34:20 +00:00
marian 94bb5d89d9 The media list is now keeping the telephone event payload id along with its name and an optional second telephone event payload name to send.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4245 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-31 11:06:12 +00:00
marian 34c9a66216 Handle 'bitrate' attribute in received payload.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4239 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-30 14:53:37 +00:00
marian 03dc94665f Fixed bug: set all data when initializing media payload.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4238 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-30 07:30:23 +00:00
marian 4dae9c7b44 Fixed bug: avoid clearing rtp media parameters in copy constructor.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4237 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-29 12:13:37 +00:00
marian 0730104f08 Added method used to set a media list from another one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4236 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-29 12:09:07 +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 9fc3bc3eb8 Optionally set entity node when building a GTalk entity caps element.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4210 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 13:45:08 +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 4e4ae64f6f Always restart cluster streams with InError flag set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4122 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 15:59:28 +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 5dfbbc7a54 Retrieve the jingle action from 'type' or 'action' attribute. Set them both in sent jingle stanzas.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4097 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-04 15:08:40 +00:00
marian 09e857e542 Added thread safe methods used to retrieve a stream's local and remote party jid and check its id.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4064 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 14:59:06 +00:00
marian 8d3918a79f Fixed memory leak: release received stream features xml element when starting stream compression.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4056 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 10:11:34 +00:00
marian a8889c9c15 Fixed memory leak: release received 'starttls' requests after successfully processed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4055 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 09:51:21 +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 f77afbba13 Fixed bug: lock the engine while searching for a session to accept a received response.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4016 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-23 13:10:01 +00:00
marian 1b19a665ec Set the correct base class when calling the YCLASS macro in JBEngine descendants.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4014 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 16:04:27 +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 d629486b33 Fixed bug: set the telephone-event payload type to 101 instead of 106.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4002 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-21 16:10:58 +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
oana cda9ed670f Added SNMP support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3776 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-03 16:27:30 +00:00
marian 0ccf15e5ef The jingle session is now properly set the error and associated text in raised events.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3672 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-28 11:41:37 +00:00
marian 6f70222d57 Try to retrieve the error text from error condition element's text.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3671 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-28 11:39:38 +00:00
marian 165eb0b03c Fixed incoming s2s stream setup bug: accept db:verify elements even if compression may still be negotiated.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3665 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-21 13:23:26 +00:00
marian c5bb847080 Handle failure tags when decoding an error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3662 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-20 13:52:38 +00:00
marian a03169c089 Added xml tag and namespace enums and values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3451 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-22 11:13:28 +00:00
marian b268f8d339 Removed useless value assignment in enums.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3439 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-16 12:40:52 +00:00
marian 23ff04b723 Convert unsigned variable to int before applying unary minus operator.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3438 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-16 12:28:14 +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 6fb5c2aea9 Added sasl feature retrieval method to features list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3435 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-16 09:07:57 +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 843daf2813 Fixed comment.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3425 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-09 11:42:04 +00:00
marian e93ef0d0f0 Check pointer before using it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3361 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-03 11:43:42 +00:00
marian e49f261570 Added utility used to decode old XEP-0091 date/time stamp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3341 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-26 08:45:14 +00:00
marian 066b7cefd3 Allow building message stanza with custom type attribute.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3256 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-29 15:19:44 +00:00