[asterisk-commits] pcadach: branch pcadach/chan_h323-live r42885 -
/team/pcadach/chan_h323-live/...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Sep 13 10:08:04 MST 2006
Author: pcadach
Date: Wed Sep 13 12:08:03 2006
New Revision: 42885
URL: http://svn.digium.com/view/asterisk?rev=42885&view=rev
Log:
Announce both forms of G.723
Modified:
team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp
team/pcadach/chan_h323-live/channels/h323/ast_h323.h
Modified: team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp?rev=42885&r1=42884&r2=42885&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp (original)
+++ team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp Wed Sep 13 12:08:03 2006
@@ -228,7 +228,7 @@
PObject * H323_G7231Capability::Clone() const
{
- return new H323_G7231Capability(*this);
+ return new H323_G7231Capability(*this);
}
PString H323_G7231Capability::GetFormatName() const
@@ -1240,7 +1240,8 @@
break;
case AST_FORMAT_G723_1:
H323_G7231Capability *g7231Cap;
- lastcap = localCapabilities.SetCapability(0, 0, g7231Cap = new H323_G7231Capability);
+ lastcap = localCapabilities.SetCapability(0, 0, g7231Cap = new H323_G7231Capability(TRUE));
+ lastcap = localCapabilities.SetCapability(0, 0, g7231Cap = new H323_G7231Capability(FALSE));
break;
case AST_FORMAT_GSM:
AST_GSM0610Capability *gsmCap;
Modified: team/pcadach/chan_h323-live/channels/h323/ast_h323.h
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/h323/ast_h323.h?rev=42885&r1=42884&r2=42885&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/h323/ast_h323.h (original)
+++ team/pcadach/chan_h323-live/channels/h323/ast_h323.h Wed Sep 13 12:08:03 2006
@@ -67,12 +67,12 @@
public:
H323_G7231Capability(BOOL annexA = TRUE);
Comparison Compare(const PObject & obj) const;
- PObject * Clone() const;
- virtual H323Codec * CreateCodec(H323Codec::Direction direction) const;
- unsigned GetSubType() const;
- PString GetFormatName() const;
- BOOL OnSendingPDU(H245_AudioCapability & pdu, unsigned packetSize) const;
- BOOL OnReceivedPDU(const H245_AudioCapability & pdu, unsigned & packetSize);
+ virtual PObject * Clone() const;
+ virtual H323Codec * CreateCodec(H323Codec::Direction direction) const;
+ virtual unsigned GetSubType() const;
+ virtual PString GetFormatName() const;
+ virtual BOOL OnSendingPDU(H245_AudioCapability & pdu, unsigned packetSize) const;
+ virtual BOOL OnReceivedPDU(const H245_AudioCapability & pdu, unsigned & packetSize);
protected:
BOOL annexA;
More information about the asterisk-commits
mailing list