aboutsummaryrefslogtreecommitdiffstats
path: root/addons/ooh323cDriver.h
diff options
context:
space:
mode:
authormay <may@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-04 22:10:44 +0000
committermay <may@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-04 22:10:44 +0000
commit1303687410947c0e57fb1cb08881d7f86cb163f1 (patch)
treec8a21eb3b2896c7f5b558913cb7ea914b40a06ce /addons/ooh323cDriver.h
parentb30cbb1a915f84ad6e5ed037fce9ecbbd39d608d (diff)
Reworked chan_ooh323 channel module.
Many architectural and functional changes. Main changes are threading model chanes (many thread in ooh323 stack instead of one), modifications and improvements in signalling part, additional codecs support (726, speex), t38 mode support. This module tested and used in production environment. (closes issue #15285) Reported by: may213 Tested by: sles, c0w, OrNix Review: https://reviewboard.asterisk.org/r/324/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@227898 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'addons/ooh323cDriver.h')
-rw-r--r--addons/ooh323cDriver.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/addons/ooh323cDriver.h b/addons/ooh323cDriver.h
index ebd965131..96640c205 100644
--- a/addons/ooh323cDriver.h
+++ b/addons/ooh323cDriver.h
@@ -27,13 +27,18 @@
#define H323_DTMF_H245ALPHANUMERIC (1 << 2)
#define H323_DTMF_H245SIGNAL (1 << 3)
#define H323_DTMF_INBAND (1 << 4)
+#define H323_DTMF_CISCO (1 << 5)
+#define H323_DTMF_INBANDRELAX (1 << 8)
struct h323_pvt;
int ooh323c_start_stack_thread(void);
int ooh323c_stop_stack_thread(void);
+int ooh323c_start_call_thread(ooCallData *call);
+int ooh323c_stop_call_thread(ooCallData *call);
int ooh323c_set_capability
- (struct ast_codec_pref *prefs, int capability, int dtmf);
+ (struct ast_codec_pref *prefs, int capability, int dtmf, int dtmfcodec);
int convertH323CapToAsteriskCap(int cap);
int ooh323c_set_capability_for_call
- (ooCallData *call, struct ast_codec_pref *prefs, int capability, int dtmf);
+ (ooCallData *call, struct ast_codec_pref *prefs, int capability, int dtmf, int dtmfcodec,
+ int t38support);
#endif