Bridging two H.323 calls together
All,
I have successfully installed and used H.323plus and am very impressed by the strength-in-depth. I am building a B2BUA application and can make two outgoing calls and now need to switch the audio between them.
I have done this initially using a new channel class derived from PIndirectChannel and taking audio data on the Write from one channel, buffering it internally in the application and then sending it to the other channel on its Read.
I am wondering if there is a better or alternative method to achieve the same results - i.e. is it possible to use an H323plus object/method to connect the two H323Connections back-to-back without the need to go through the intermediate buffering stage in the application?
Many thanks
Mark
Mark
It should be straight forward to avoid the need to proxy in your back to back design.
Simply overwrite PBoolean H323Connection::HandleControlPDU(const H323ControlPDU & pdu) In both sessions and then forward on using PBoolean H323Connection::WriteControlPDU(const H323ControlPDU & pdu) In the other.
This will force the 2 endpoints to negotiate the opening of the media channels directly with eachother and bypass the proxying in the application.
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Mark Fawcett Sent: Wednesday, October 27, 2010 1:16 AM To: h323plus@lists.packetizer.com Subject: [h323plus] Bridging two H.323 calls together
All,
I have successfully installed and used H.323plus and am very impressed by the strength-in-depth. I am building a B2BUA application and can make two outgoing calls and now need to switch the audio between them.
I have done this initially using a new channel class derived from PIndirectChannel and taking audio data on the Write from one channel, buffering it internally in the application and then sending it to the other channel on its Read.
I am wondering if there is a better or alternative method to achieve the same results - i.e. is it possible to use an H323plus object/method to connect the two H323Connections back-to-back without the need to go through the intermediate buffering stage in the application?
Many thanks
Mark
participants (2)
-
Mark Fawcett
-
Simon Horne