mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 23:38:23 +00:00
try to kill another possible seg
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -879,8 +879,6 @@ int h323_set_gk(int gatekeeper_discover, char *gatekeeper, char *secret)
|
||||
PString gkName = PString(gatekeeper);
|
||||
PString pass = PString(secret);
|
||||
|
||||
cout << "begining" << endl;
|
||||
|
||||
if (!end_point_exist()) {
|
||||
cout << "ERROR: [h323_set_gk] No Endpoint, this is bad!" << endl;
|
||||
return 1;
|
||||
|
||||
@@ -1645,7 +1645,7 @@ int load_module()
|
||||
/* start the h.323 listener */
|
||||
if (h323_start_listener(port, bindaddr, jitter)) {
|
||||
ast_log(LOG_ERROR, "Unable to create H323 listener.\n");
|
||||
h323_end_process();
|
||||
// h323_end_process();
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -1653,7 +1653,7 @@ int load_module()
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user