Commit Graph

116 Commits

Author SHA1 Message Date
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
paulc fbfef23187 Accept a Jingle version 0 "relay" transport to override another current candidate.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2767 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-24 10:54:32 +00:00
paulc fe9c1c1c98 Added a ClientProxy engine run mode for clients with no local UI.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2759 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-14 15:49:20 +00:00
marian db25093aa1 Added 'contact' and 'instance' parameters to enqueued msg.execute messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2744 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-30 14:16:21 +00:00
marian d1c0316a19 Add module name to enqueued user.notify messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2742 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-29 09:08:00 +00:00
marian 4b13584816 Always add a 'contact' parameter containing the sender's bare jid to enqueued resource.notify messages. Add a 'roster'='true' to resource.notify messages sent for roster changes and an 'instance' one containing the resource for presence messages. Look for 'contact' and 'instance' parameters when handling resource.notify messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2741 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-29 09:06:16 +00:00
paulc 5499650213 Changed thread names to be uniform and easily readable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
marian 3033dbb105 Add an 'in_line' parameter with account name to call.preroute message sent for a session using a client stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2728 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-20 20:34:34 +00:00
paulc 65fa4adbd4 Fixed warnings and a few minor bugs when compiling on a different architecture.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
marian 58deec4684 Fail user.login if a stream was found but is going to be destroyed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2714 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 11:46:19 +00:00
marian e9fe9cae41 Forward presence 'show' to/from resource.notify for client streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2713 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 11:42:01 +00:00
paulc ca829d943a Made some dangerous constructors explicit, fix potential problems exposed by this.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2705 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 15:15:36 +00:00
marian a219f1123a Changed jingleversion parameter name to jingle_version.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2669 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 10:03:28 +00:00
marian cf5d0b1168 Implemented old jingle protocol support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2666 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 15:22:08 +00:00
paulc c669a24f90 Added mutex names to most Yate modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2613 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 14:06:39 +00:00
marian 7b0a1b3c31 Accept attended chan.transfer without transfer destination jid. Get it from received channel if missing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2597 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-27 14:51:08 +00:00
marian 921e59fe26 Make sure we always use the content owning the last received transport to avoid using another content then the remote party.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2588 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-17 15:20:30 +00:00
marian 87f5aa75bc Set reason text when closing a session with unknown error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2586 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-15 15:06:31 +00:00
marian 20e742d313 Add caller URI parameter to call.route message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2526 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-20 10:00:38 +00:00
marian c71a8ccf62 Fixed bug: don't remove items added to the list of rejected contents built when processing content add requests.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2502 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 10:01:32 +00:00
marian 1cf06dd954 Avoid adding twice the crypto_key param to chan.rtp message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2453 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-23 10:26:29 +00:00
marian 86bf0942a5 Lock driver while creating an outgoing connection to prevent presence processing by an incomplete connection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2439 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-14 15:21:34 +00:00
marian a13018c9c5 Transfer elements can now carry a subject. Fixed the response sent to a transfer response. Fixed content remove for non file transfer connections
git-svn-id: http://yate.null.ro/svn/yate/trunk@2436 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-14 11:38:25 +00:00
paulc 3feb774bb3 Moved jingle specific modules away, load them on demand from jingle channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2419 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-09 15:21:26 +00:00
marian f517fbb4ea Added jingle file transfer support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2417 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-09 14:32:48 +00:00
marian c07d4ee690 Always build the jabber stream status service.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2400 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-17 16:00:25 +00:00
marian a278a50df1 Copy all xml children' text to user.roster/resource.notify when receiving roster from server.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2399 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-17 15:57:30 +00:00
marian 6a28081b7e Implemented the new Jingle specifications.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2382 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-01 00:37:18 +00:00
marian 9ff2bae307 Implemented support for Jingle session transfer (XEP-0251).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2358 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-20 16:59:42 +00:00
marian ecaf73b91c Support for placing on hold and resuming a Jingle session.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2357 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-20 16:52:03 +00:00
marian 8abdfb94af The jingle session is now handling transfer and rtp session info stanzas. The channel is handling ringing and deny transfer/hold/active/mute requests.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2332 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 10:54:49 +00:00
marian 03629f0379 Added capability to forward user roster in a single message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2331 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 09:46:17 +00:00
marian b995f7dedb Fixed jingle session negotiation. Added reason to terminate stanza. The module can now handle presence broadcast when the component is keeping the roster. Additional presence stanza can now be added to presence command.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2330 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 09:33:17 +00:00
marian 19fc464301 Make sure we have a local address for transport before starting RTP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2233 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-21 15:46:47 +00:00
paulc c3135a1b52 Added a static helper method to complete one item, use it where applicable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2202 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-16 13:30:04 +00:00
marian 8e990678d8 Added stanza id param when sending transport to avoid session terminate is error is received.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2199 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-15 14:33:06 +00:00
marian e6953a47ae Fixed some debug messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2192 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-08 16:37:27 +00:00
marian 18a6b5bf79 Add extra children from resource.notify message when sending client presence.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2181 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-04 07:18:15 +00:00
marian 3e63faf429 Fixed bug: get resource from remote user when making a call.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2165 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-15 13:36:17 +00:00
marian 4659b3f279 Added IM execute handler used to send chat messages. Dispatch an im.execute message when receiving chat messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2160 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-15 07:40:05 +00:00
marian 4beb5eb112 Don't add the 'from' attribute when sending (un)subscribe response.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2153 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-11 15:59:40 +00:00
marian 10caf41633 The module no longer responds to client (un)subscribe requests. Fixed line checking in driver: deref the stream if found.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2074 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-16 13:00:37 +00:00
paulc 43b9cf0f81 Added capability to route to "line/..." no matter what protocol it uses.
Added driver method to query the existence of a line, use it in routing.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2073 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-16 09:48:49 +00:00
marian 9af5ee7549 Handle the same bare jid for caller and called when making an outgoing call.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2072 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-16 09:13:30 +00:00
marian 7c47cbb853 Send a subscribe request when making a call to a jid which is not in the user's roster.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2069 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-15 15:16:01 +00:00
marian e2681a66f5 Automatically accept (un)subscribe requests on client streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2068 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-15 11:48:48 +00:00
marian 3006ae3318 Implemented Driver's msgRoute() to fill the called parameter if a stream exists for the given account/line.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2067 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-15 10:18:56 +00:00
marian fdb1348f41 Added resource audio capability when enqueueing client resource.notify.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2041 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-28 21:05:08 +00:00
marian c94f9ab96e Fixed bug: deref stream after increasing its reference counter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2030 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-18 14:58:36 +00:00
marian 5d1ce5d6f9 Accept jabber/xmpp/jingle as callto prefix when processing call.execute.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2029 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-18 07:13:58 +00:00