Claudio
Update: H323_ExternalRTPChannel with encryption support has been added to the CVS.
There is a new wrapper channel for H323_ExternalRTPChannel called H323SecureChannel which handles all the key exchange and media encryption/decryption if required.
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Simon Horne Sent: 14 January 2014 05:07 To: 'Cláudio Palludetti'; 'Jan Willamowius'; h323plus@lists.packetizer.com Subject: Re: [h323plus] H.235 sample
Claudio
Yes the current H.235 Implementation does not take into account the use of external RTP channel. I will put that on my TODO list to fix before the next release.
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Cláudio Palludetti Sent: 13 January 2014 22:12 To: Jan Willamowius; h323plus@lists.packetizer.com Subject: Re: [h323plus] H.235 sample
Jan,
Thank you.
I had some progress towards establishing a H.235 call but it is falling when it tries to open the logical channel. So my question is: Is it possible to use H.235 along with external channels? I'm asking this because H323RealTimeCapability::CreateChannel calls connection.CreateRealTimeLogicalChannel (where you can provide your own external channel subclass) but H323SecureRealTimeCapability::CreateChannel creates a new H323SecureRTPChannel (it does not call any function where you could return your own subclass). When I don't use H.235 I get the following log:
2014/01/09 11:25:10.435 3 h323.cxx(4289) H323 Selecting G.711-uLaw-64k <1> 2014/01/09 11:25:10.435 3 h323neg.cxx(542) H245 Opening channel: T-101 2014/01/09 11:25:10.435 4 h323caps.cxx(3265) H323 FindCapability: 102 2014/01/09 11:25:10.435 4 h235caps.cxx(379) H235RTP Cloning Capability: G.711-uLaw-64k 2014-01-09:11.25.10 (8970) CltApp DEBUG (H323ClientConnection.cpp:357) Creating transmitter audio channel (G.711-uLaw-64k).
The last one is from my subclass.
When I try to use H.235 I get:
2014/01/09 15:55:00.655 3 h323.cxx(4289) H323 Selecting G.711-uLaw-64k <1> 2014/01/09 15:55:00.655 3 h323neg.cxx(542) H245 Opening channel: T-101 2014/01/09 15:55:00.655 4 h323caps.cxx(3265) H323 FindCapability: 102 2014/01/09 15:55:00.655 3 h323caps.cxx(3269) H323 Found capability: SecCapability [2] <102> 2014/01/09 15:55:00.656 4 osutil.cxx(189) PWLib File handle high water mark set: 37 PUDPSocket 2014/01/09 15:55:00.656 4 osutil.cxx(189) PWLib File handle high water mark set: 38 PUDPSocket 2014/01/09 15:55:00.656 2 rtp.cxx(1581) RTP_UDP Session 1 created: 192.168.14.43:5000-5001 ssrc=3823145998 2014/01/09 15:55:00.656 2 rtp.cxx(1314) RTP Adding session RTP_UDP 2014/01/09 15:55:00.656 4 h235caps.cxx(379) H235RTP Cloning Capability: G.711-uLaw-64k # 2014/01/09 15:55:00.656 3 channels.cxx(654) H323RTP Transmitter created using session 1 2014/01/09 15:55:00.656 4 h235chan.cxx(149) H235RTP OnSendingPDU 2014/01/09 15:55:00.656 3 channels.cxx(472) H323RTP OnSendingPDU 2014/01/09 15:55:00.656 3 h323rtp.cxx(134) RTP OnSendingPDU 2014/01/09 15:55:00.657 3 codecs.cxx(1247) Codec G711 uLaw encoder created for at 64k, frame of 160 samples 2014/01/09 15:55:00.657 5 osutils.cxx(2219) PTLib Created read/write mutex 0x7f85e4006b78 2014/01/09 15:55:00.657 5 osutils.cxx(2219) PTLib Created read/write mutex 0x7f85e4011398 2014/01/09 15:55:00.657 3 h323ep.cxx(2543) Codec Opened sound channel "Null Audio" for recording at 8000 samples/second using 2x320 byte buffers. 2014/01/09 15:55:00.657 1 channels.cxx(716) LogChan Transmit thread aborted (open fail) for G.711-uLaw-64k # <1>
I appreciate any help. Thanks in advance.
Claudio
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Jan Willamowius Sent: quarta-feira, 2 de outubro de 2013 10:50 To: h323plus@lists.packetizer.com Subject: Re: [h323plus] H.235 sample
Hi Claudio,
take a look at the provided sample application "Simple". When you start it with command line argument "-m 128", it will do H.235 AES 128 media encryption.
Regards, Jan
-- Jan Willamowius, Founder of the GNU Gatekeeper Project EMail : jan@willamowius.de Website: http://www.gnugk.org Support: http://www.willamowius.com/gnugk-support.html
Relaxed Communications GmbH Frahmredder 91 22393 Hamburg Geschäftsführer: Jan Willamowius HRB 125261 (Amtsgericht Hamburg) USt-IdNr: DE286003584
Cláudio Palludetti wrote:
Hi,
We are developing an H.323 EP and we need to use the H.235. Is there any example using this? We are using h323plus V1.24.0 and we enabled the H.235.
Thanks
Claudio