Commit Graph

106 Commits

Author SHA1 Message Date
marian e620049e17 Change host direction if possible and re-negotiate the transport when receiving stream hosts from remote.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5497 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-26 12:31:28 +00:00
marian debba87313 Set a greater timeout for stream host stanzas.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5491 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-25 14:47:37 +00:00
paulc 805223840a Fixed minor typo in documentation comment.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5487 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-23 16:14:46 +00:00
marian d2be7683e8 Added file share namespaces and tags to known list. Add utility methods used to build file share and result set management elements.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5475 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-23 07:30:30 +00:00
paulc 3b49b78ecb Added a shared static list of Atom strings and an YATOM macro.
This speeds up signifficantly the Yate RTTI on compilers that HAVE_BLOCK_RETURN.
Made the String comparison operator inline to shave off a few cycles.
Fast handle the comparison in identity case.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
marian 6cbd5615a7 Fixed bug: avoid infinite loop when adding a new stream to a stream set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5378 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-17 13:42:00 +00:00
marian 33b682764b Check android node when detecting google caps.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5293 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-15 08:03:36 +00:00
marian 6ee5e5825f Implemented ping on client to server streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5252 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-05 13:50:08 +00:00
marian 03fdd4de37 Ignore stream redirect to the same destination. Allow adding error element text in sent stream errors.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5247 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-29 11:40:38 +00:00
marian 028a02cf82 Added support for redirect (see-other-host) stream error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5245 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-28 15:03:43 +00:00
marian f82d034446 Add 'action' attribute in jingle stanza for old version to generate an event when session initiate stanza is confirmed. This will fix call.ringing dispatch by the jingle channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5212 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-24 15:07:11 +00:00
paulc 7e655f0d61 Add the "bitrate" as a generic payload parameter in addition to the attribute.
On inbound contents read the bitrate from generic parameter in preference to attribute.
Add the bitrate to the iLBC formats as some clients use it a a type hint instead of ptime.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5204 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-17 14:25:38 +00:00
paulc 6c668ecbd2 Use the formats (synonyms) order if possible when populating a list of media.
This allows controlling the order in outbound Jingle calls and early media.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5203 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-17 13:16:37 +00:00
paulc f268caafdc Support changing formats from routing for inbound Jingle calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5180 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-05 11:09:13 +00:00
marian 581a7880a6 Documented parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5044 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-04 13:17:53 +00:00
marian 029db42476 Enqueue call.ringing when initiate stanza is confirmed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5040 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-04 09:13:49 +00:00
marian a5e6081f0c Added flag used to override ringing notification namespace.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5039 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-04 07:52:25 +00:00
marian 395c7fef58 Added flags controlling ringing for incoming channels. Optionally add session content in jingle ringing stanza.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5033 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-01 14:30:26 +00:00
marian 4d3033bff4 Added google raw udp transport support for jingle version 1.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5031 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-30 09:47:59 +00:00
marian dbab3197ee Added support for outgoing jabber component streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4980 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-26 14:44:01 +00:00
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 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