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: https://origsvn.digium.com/svn/asterisk/trunk@227898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Alexandr Anikin
2009-11-04 22:10:44 +00:00
parent 317435a932
commit 9530310954
55 changed files with 7624 additions and 2216 deletions

View File

@@ -51,7 +51,8 @@ extern "C" {
*
* @return OO_OK, on success; OO_FAILED, on failure
*/
EXTERN int ooCreateCmdConnection();
EXTERN int ooCreateCmdConnection(void);
EXTERN int ooCreateCallCmdConnection(OOH323CallData*);
/**
* This function is used to close a command channel setup with the stack
@@ -59,7 +60,8 @@ EXTERN int ooCreateCmdConnection();
*
* @return OO_OK, on success; OO_FAILED, on failure
*/
EXTERN int ooCloseCmdConnection();
EXTERN int ooCloseCmdConnection(void);
EXTERN int ooCloseCallCmdConnection(OOH323CallData*);
/**
@@ -69,6 +71,7 @@ EXTERN int ooCloseCmdConnection();
* @return OO_OK, on success; OO_FAILED, on failure
*/
EXTERN int ooWriteStackCommand(OOStackCommand *cmd);
EXTERN int ooWriteCallStackCommand(OOH323CallData* call, OOStackCommand *cmd);
/**
* This function is used by stack thread to read and process stack commands
@@ -76,7 +79,8 @@ EXTERN int ooWriteStackCommand(OOStackCommand *cmd);
*
* @return OO_OK, on success; OO_FAILED, on failure
*/
EXTERN int ooReadAndProcessStackCommand();
EXTERN int ooReadAndProcessStackCommand(void);
EXTERN int ooReadAndProcessCallStackCommand(OOH323CallData*);
/**