diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp index a70f4a0c66..efd3a9847d 100755 --- a/channels/h323/ast_h323.cpp +++ b/channels/h323/ast_h323.cpp @@ -932,7 +932,7 @@ int h323_set_gk(int gatekeeper_discover, char *gatekeeper, char *secret) /* XXX Maybe we should fire a new thread to attempt to re-register later and not kill asterisk here? */ - delete rasChannel; + // delete rasChannel; return 1; } } diff --git a/channels/h323/chan_h323.c b/channels/h323/chan_h323.c index e044e2396a..98b0069aa3 100755 --- a/channels/h323/chan_h323.c +++ b/channels/h323/chan_h323.c @@ -1551,7 +1551,7 @@ int reload(void) if (gatekeeper_disable == 0) { if (h323_set_gk(gatekeeper_discover, gatekeeper, secret)) { ast_log(LOG_ERROR, "Gatekeeper registration failed.\n"); - h323_end_process(); + // h323_end_process(); return -1; } }