diff options
author | Alexandr Anikin <may@telecom-service.ru> | 2009-11-04 22:10:44 +0000 |
---|---|---|
committer | Alexandr Anikin <may@telecom-service.ru> | 2009-11-04 22:10:44 +0000 |
commit | 953031095415efa4558ca7eff29d7c85ff8efe89 (patch) | |
tree | c8a21eb3b2896c7f5b558913cb7ea914b40a06ce /addons/ooh323c/src/printHandler.c | |
parent | 317435a93200520218c4e9f4bbb8c0258f363876 (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: https://origsvn.digium.com/svn/asterisk/trunk@227898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'addons/ooh323c/src/printHandler.c')
-rw-r--r-- | addons/ooh323c/src/printHandler.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/addons/ooh323c/src/printHandler.c b/addons/ooh323c/src/printHandler.c index 097aac877..47c511f96 100644 --- a/addons/ooh323c/src/printHandler.c +++ b/addons/ooh323c/src/printHandler.c @@ -17,10 +17,13 @@ the fields of an encoded PER message to stdout in a structured output format.. */ +#include <asterisk.h> +#include <asterisk/lock.h> + #include <stdlib.h> -#ifdef HAVE_MALLOC_H +/* #ifdef HAVE_MALLOC_H #include <malloc.h> -#endif +#endif */ #include "printHandler.h" #include "ootypes.h" #include "rtctype.h" @@ -37,6 +40,10 @@ static const char* bitStrToString static const char* octStrToString (ASN1UINT numocts, const ASN1OCTET* data, char* buffer, size_t bufsiz); +void printCharStr32BitValue (ASN1UINT nchars, ASN132BITCHAR* data); +void ooPrintOIDValue (ASN1OBJID* pOID); +void printRealValue (double value); + void initializePrintHandler(EventHandler *printHandler, char * varname) { printHandler->startElement = &printStartElement; |