aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/caps_h323.cxx
diff options
context:
space:
mode:
authorpcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-24 18:19:56 +0000
committerpcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-24 18:19:56 +0000
commit7415f890e307692d37a553fb35c86eed38c42fb4 (patch)
treea167805e5efb2fdb3096fa60e1fd11f4c38834ce /channels/h323/caps_h323.cxx
parent72582c719529740ab8cbad58b54037b402f2d7d4 (diff)
Define Cisco RTP capability
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43573 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/caps_h323.cxx')
-rw-r--r--channels/h323/caps_h323.cxx24
1 files changed, 24 insertions, 0 deletions
diff --git a/channels/h323/caps_h323.cxx b/channels/h323/caps_h323.cxx
index 32dac01f1..1a14e2337 100644
--- a/channels/h323/caps_h323.cxx
+++ b/channels/h323/caps_h323.cxx
@@ -344,3 +344,27 @@ PString AST_CiscoG726Capability::GetFormatName() const
{
return PString(CISCO_G726r32);
}
+
+/*
+ * Capability: Cisco RTP DTMF Relay
+ */
+AST_CiscoDtmfCapability::AST_CiscoDtmfCapability()
+ : H323NonStandardDataCapability(0, 181, 0, 18, (const BYTE *)"RtpDtmfRelay", 0)
+{
+ rtpPayloadType = (RTP_DataFrame::PayloadTypes)121;
+}
+
+PObject *AST_CiscoDtmfCapability::Clone() const
+{
+ return new AST_CiscoDtmfCapability(*this);
+}
+
+H323Codec *AST_CiscoDtmfCapability::CreateCodec(H323Codec::Direction direction) const
+{
+ return NULL;
+}
+
+PString AST_CiscoDtmfCapability::GetFormatName() const
+{
+ return PString(CISCO_DTMF_RELAY);
+}