try to kill another possible seg
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1015 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
b93ceebef2
commit
1fbfb13dba
|
@ -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