aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/caps_h323.h
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.h
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.h')
-rw-r--r--channels/h323/caps_h323.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/channels/h323/caps_h323.h b/channels/h323/caps_h323.h
index 3238dd5c6..8058054db 100644
--- a/channels/h323/caps_h323.h
+++ b/channels/h323/caps_h323.h
@@ -140,4 +140,33 @@ public:
/* Get the name of the media data format this class represents. */
virtual PString GetFormatName() const;
};
+
+#define CISCO_DTMF_RELAY "UserInput/RtpDtmfRelay"
+
+class AST_CiscoDtmfCapability : public H323NonStandardDataCapability
+{
+ PCLASSINFO(AST_CiscoDtmfCapability, H323NonStandardDataCapability);
+
+public:
+ /* Create a new Cisco RTP DTMF Relay capability */
+ AST_CiscoDtmfCapability();
+
+ /* Create a copy of the object. */
+ virtual PObject *Clone() const;
+
+ /* Create the codec instance, allocating resources as required. */
+ virtual H323Codec * CreateCodec(H323Codec::Direction direction) const;
+
+ /* Get the name of the media data format this class represents. */
+ virtual PString GetFormatName() const;
+
+ virtual H323Channel *CreateChannel(H323Connection &,
+ H323Channel::Directions,
+ unsigned,
+ const H245_H2250LogicalChannelParameters *) const
+ {
+ return NULL;
+ }
+};
+
#endif /* __AST_H323CAPS_H */