16 #ifndef _OO_H323CDRIVER_H_
17 #define _OO_H323CDRIVER_H_
18 #include "chan_ooh323.h"
21 #include "oochannels.h"
23 #include "ooCapability.h"
24 #include "ooStackCmds.h"
26 #define H323_DTMF_RFC2833 (1 << 0)
27 #define H323_DTMF_Q931 (1 << 1)
28 #define H323_DTMF_H245ALPHANUMERIC (1 << 2)
29 #define H323_DTMF_H245SIGNAL (1 << 3)
30 #define H323_DTMF_INBAND (1 << 4)
31 #define H323_DTMF_CISCO (1 << 5)
32 #define H323_DTMF_INBANDRELAX (1 << 8)
35 int ooh323c_start_stack_thread(
void);
36 int ooh323c_stop_stack_thread(
void);
37 int ooh323c_start_call_thread(ooCallData *call);
38 int ooh323c_stop_call_thread(ooCallData *call);
39 int ooh323c_set_capability
41 struct ast_format *convertH323CapToAsteriskCap(
int cap);
42 int ooh323c_set_capability_for_call
43 (ooCallData *call,
struct ast_format_cap *cap,
int dtmf,
int dtmfcodec,
44 int t38support,
int g729onlyA);