summaryrefslogtreecommitdiff
path: root/channels/h323/chan_h323.h
diff options
context:
space:
mode:
authorPaul Cadach <paul@odt.east.telecom.kz>2006-09-25 09:03:14 +0000
committerPaul Cadach <paul@odt.east.telecom.kz>2006-09-25 09:03:14 +0000
commitc479c2518277a7f16f44242729c2b67d71080a4b (patch)
treec2bae1e4c7c50f0fab245c5b0a3801def542495e /channels/h323/chan_h323.h
parent66e1d206f5d5774b5d129c86aaa861ec617b2799 (diff)
Support for negotiation and receiption of Cisco's RTP DTMF
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/h323/chan_h323.h')
-rw-r--r--channels/h323/chan_h323.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/channels/h323/chan_h323.h b/channels/h323/chan_h323.h
index 8905e4eea..13296ed1a 100644
--- a/channels/h323/chan_h323.h
+++ b/channels/h323/chan_h323.h
@@ -52,7 +52,7 @@ typedef struct call_options {
int progress_setup;
int progress_alert;
int progress_audio;
- int dtmfcodec;
+ int dtmfcodec[2];
int dtmfmode;
int capability;
int bridge;
@@ -172,7 +172,7 @@ extern answer_call_cb on_answer_call;
/* This is a callback prototype function, called when
we know which RTP payload type RFC2833 will be
transmitted */
-typedef void (*rfc2833_cb)(unsigned, const char *, int);
+typedef void (*rfc2833_cb)(unsigned, const char *, int, int);
extern rfc2833_cb on_set_rfc2833_payload;
typedef void (*hangup_cb)(unsigned, const char *, int);
@@ -188,7 +188,9 @@ extern setpeercapabilities_cb on_setpeercapabilities;
extern int h323debug;
#define H323_DTMF_RFC2833 (1 << 0)
-#define H323_DTMF_INBAND (1 << 1)
+#define H323_DTMF_CISCO (1 << 1)
+#define H323_DTMF_SIGNAL (1 << 2)
+#define H323_DTMF_INBAND (1 << 3)
#define H323_DTMF_RFC2833_PT 101
#define H323_DTMF_CISCO_PT 121