[asterisk-addons-commits] anthonyl: trunk r292 - /trunk/asterisk-ooh323c/src/chan_h323.c

asterisk-addons-commits at lists.digium.com asterisk-addons-commits at lists.digium.com
Mon Sep 11 10:21:55 MST 2006


Author: anthonyl
Date: Mon Sep 11 12:21:54 2006
New Revision: 292

URL: http://svn.digium.com/view/asterisk-addons?rev=292&view=rev
Log:
set channel pvt to NULL on successful  hangup

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=292&r1=291&r2=292&view=diff
==============================================================================
--- trunk/asterisk-ooh323c/src/chan_h323.c (original)
+++ trunk/asterisk-ooh323c/src/chan_h323.c Mon Sep 11 12:21:54 2006
@@ -814,8 +814,8 @@
       ast_mutex_lock(&p->lock);
 
       if(gH323Debug)
-         ast_verbose("    hanging %s\n", p->username);
-
+	ast_verbose("    hanging %s\n", p->username);
+      ast->tech_pvt = NULL; 
       if(!ast_test_flag(p, H323_ALREADYGONE)) {
          ast_mutex_lock(&ooh323c_cmd_lock);
          ooHangCall(p->callToken, 
@@ -844,7 +844,6 @@
      
    }
 
-   ast->pvt = NULL;
 
    else {
       ast_log(LOG_ERROR, "No call to hangup\n" );



More information about the asterisk-addons-commits mailing list