diff options
Diffstat (limited to 'addons/chan_ooh323.h')
-rw-r--r-- | addons/chan_ooh323.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/addons/chan_ooh323.h b/addons/chan_ooh323.h index bce62bd11..5d0312910 100644 --- a/addons/chan_ooh323.h +++ b/addons/chan_ooh323.h @@ -50,7 +50,7 @@ #include <asterisk/sched.h> #include <asterisk/io.h> #include <asterisk/causes.h> -#include <asterisk/rtp.h> +#include <asterisk/rtp_engine.h> #include <asterisk/acl.h> #include <asterisk/callerid.h> #include <asterisk/file.h> @@ -61,7 +61,10 @@ #include <asterisk/dsp.h> #include <asterisk/stringfields.h> +#include <asterisk/udptl.h> + #include "ootypes.h" +#include "ooUtils.h" #include "ooCapability.h" #include "oochannels.h" #include "ooh323ep.h" @@ -95,7 +98,7 @@ void close_rtp_connection(ooCallData *call); struct ast_frame *ooh323_rtp_read (struct ast_channel *ast, struct ooh323_pvt *p); -void ooh323_set_write_format(ooCallData *call, int fmt); +void ooh323_set_write_format(ooCallData *call, int fmt, int txframes); void ooh323_set_read_format(ooCallData *call, int fmt); int ooh323_update_capPrefsOrderForCall @@ -110,4 +113,10 @@ int update_our_aliases(ooCallData *call, struct ooh323_pvt *p); /* h323 msg callbacks */ int ooh323_onReceivedSetup(ooCallData *call, Q931Message *pmsg); int ooh323_onReceivedDigit(OOH323CallData *call, const char* digit); + +void setup_udptl_connection(ooCallData *call, const char *remoteIp, int remotePort); +void close_udptl_connection(ooCallData *call); + +EXTERN char *handle_cli_ooh323_reload(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a); + #endif |