[asterisk-addons-commits] objsys: trunk r266 -
/trunk/asterisk-ooh323c/src/chan_h323.c
asterisk-addons-commits at lists.digium.com
asterisk-addons-commits at lists.digium.com
Tue Aug 1 07:13:19 MST 2006
Author: objsys
Date: Tue Aug 1 09:13:19 2006
New Revision: 266
URL: http://svn.digium.com/view/asterisk-addons?rev=266&view=rev
Log:
Commented mediawaitforconnect option loading problem fix
Modified:
trunk/asterisk-ooh323c/src/chan_h323.c
Modified: trunk/asterisk-ooh323c/src/chan_h323.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/asterisk-ooh323c/src/chan_h323.c?rev=266&r1=265&r2=266&view=diff
==============================================================================
--- trunk/asterisk-ooh323c/src/chan_h323.c (original)
+++ trunk/asterisk-ooh323c/src/chan_h323.c Tue Aug 1 09:13:19 2006
@@ -59,6 +59,7 @@
static int ooh323_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp,
struct ast_rtp *vrtp, int codecs, int nat_active);
+static void ast_ooh323c_exit();
static const struct ast_channel_tech ooh323_tech = {
@@ -1773,6 +1774,7 @@
gTOS = 0;
strcpy(gContext, DEFAULT_CONTEXT);
gAliasList = NULL;
+ gMediaWaitForConnect = 0;
v = ast_variable_browse(cfg, "general");
while(v) {
@@ -2323,6 +2325,7 @@
peerl.peers = NULL;
ast_mutex_init(&peerl.lock);
+ //ast_register_atexit(&ast_ooh323c_exit);
sched = sched_context_create();
if (!sched) {
@@ -2684,6 +2687,7 @@
ast_cli_unregister(&cli_no_debug);
ast_rtp_proto_unregister(&ooh323_rtp);
ast_channel_unregister(&ooh323_tech);
+ //ast_unregister_atexit(&ast_ooh323c_exit);
if(gH323Debug) {
ast_verbose(" unload_module - hanging up all interfaces\n");
@@ -3106,7 +3110,7 @@
case OO_REASON_REMOTE_CONGESTED:
case OO_REASON_LOCAL_CONGESTED:
return AST_CAUSE_CONGESTION;
- case OO_REASON_REMOTE_NOANSWER:
+ case OO_REASON_REMOTE_NOANSWER:
return AST_CAUSE_NO_ANSWER;
case OO_REASON_UNKNOWN:
case OO_REASON_INVALIDMESSAGE:
@@ -3131,4 +3135,12 @@
return (char*)desc;
}
+
+void ast_ooh323c_exit()
+{
+ ooGkClientDestroy();
+}
+
STD_MOD(MOD_0, reload, NULL, NULL);
+
+
More information about the asterisk-addons-commits
mailing list