summaryrefslogtreecommitdiff
path: root/addons/ooh323c/src/ooGkClient.h
diff options
context:
space:
mode:
authorAlexandr Anikin <may@telecom-service.ru>2009-11-04 22:10:44 +0000
committerAlexandr Anikin <may@telecom-service.ru>2009-11-04 22:10:44 +0000
commit953031095415efa4558ca7eff29d7c85ff8efe89 (patch)
treec8a21eb3b2896c7f5b558913cb7ea914b40a06ce /addons/ooh323c/src/ooGkClient.h
parent317435a93200520218c4e9f4bbb8c0258f363876 (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/ooGkClient.h')
-rw-r--r--addons/ooh323c/src/ooGkClient.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/addons/ooh323c/src/ooGkClient.h b/addons/ooh323c/src/ooGkClient.h
index 662dae18d..c616c1137 100644
--- a/addons/ooh323c/src/ooGkClient.h
+++ b/addons/ooh323c/src/ooGkClient.h
@@ -47,7 +47,7 @@ extern "C" {
-#define MAX_IP_LEN 15
+#define MAX_IP_LEN 18
#define DEFAULT_GKPORT 1719
#define MULTICAST_GKADDRESS "224.0.1.41"
#define MULTICAST_GKPORT 1718
@@ -204,6 +204,7 @@ typedef struct ooGkClient{
ASN1UINT arqTimeout;
ASN1UINT drqTimeout;
enum OOGkClientState state;
+ ast_mutex_t Lock;
} ooGkClient;
struct OOAliases;
@@ -553,6 +554,15 @@ int ooGkClientSetCallbacks
* @}
*/
+int ooGkClientReInit(ooGkClient *pGkClient);
+void ooGkClientFillVendor
+ (ooGkClient *pGkClient, H225VendorIdentifier *pVendor );
+void ooGkClientPrintMessage
+ (ooGkClient *pGkClient, ASN1OCTET *msg, ASN1UINT len);
+int ooGkClientSendIRR
+ (ooGkClient *pGkClient, struct OOH323CallData *call);
+
+
#ifdef __cplusplus
}
#endif