[asterisk-bugs] [Asterisk 0009972]: [branch] res_jabber over OpenSSL
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Nov 6 12:20:51 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=9972
======================================================================
Reported By: phsultan
Assigned To: qwell
======================================================================
Project: Asterisk
Issue ID: 9972
Category: Resources/res_jabber
Reproducibility: N/A
Severity: minor
Priority: normal
Status: closed
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 69516
Disclaimer on File?: Yes
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 06-13-2007 15:53 CDT
Last Modified: 11-06-2007 12:20 CST
======================================================================
Summary: [branch] res_jabber over OpenSSL
Description:
The attached diff file allows to use OpenSSL API rather than GnuTLS along
with the res_jabber module.
Basically, all of the networking related functions and structures have
been taken out from iksemel to res_jabber, and adapted to fit with OpenSSL.
The iksemel library is still used for XMPP messages parsing though.
With the provided patch, res_jabber will handle timeout values for either
secured (with TLS) or unsecured connections, which is currently not the
case (see the discussion in http://bugs.digium.com/view.php?id=9738).
I was able to connect Asterisk to Google's jabber server (SSL required).
Also successfully tested with a jabberd2 server (with or without SSL).
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0009738 [patch] unloading res_jabber causes ast...
======================================================================
----------------------------------------------------------------------
phsultan - 11-06-07 12:20
----------------------------------------------------------------------
Thanks for having merged this Jason.
The 'iks_send' function is also used in chan_gtalk and chan_jingle, so we
need to make a sending function available to those modules too, otherwise
Gtalk or Jingle calls can't be established over a TLS connection.
In order to achieve it, I attach a patch that does the following :
- rename the current 'ast_aji_send' function to 'ast_aji_send_chat'
This function explicitly creates a message of type 'chat'
- rename the current 'aji_send' function to 'ast_aji_send', and make it
available to other modules
- update chan_gtalk and chan_jingle accordingly
I succesfully tested it on my system, but I'd rather have your review and
advice on that patch.
Thanks again.
Issue History
Date Modified Username Field Change
======================================================================
11-06-07 12:20 phsultan Note Added: 0073210
======================================================================
More information about the asterisk-bugs
mailing list