tweak a few things to make PPC happy
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1067 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
17e27f0d8f
commit
d0934c6550
|
@ -826,12 +826,14 @@ int h323_start_listener(int listenPort, struct sockaddr_in bindaddr)
|
|||
|
||||
if (!endPoint->StartListener(tcpListener)) {
|
||||
cout << "ERROR: Could not open H.323 listener port on " << ((H323ListenerTCP *) tcpListener)->GetListenerPort() << endl;
|
||||
delete tcpListener;
|
||||
return 1;
|
||||
|
||||
}
|
||||
|
||||
cout << " == H.323 listener started on " << ((H323ListenerTCP *) tcpListener)->GetTransportAddress() << endl;
|
||||
|
||||
// cout << " == H.323 listener started on " << ((H323ListenerTCP *) tcpListener)->GetTransportAddress() << endl;
|
||||
cout << " == H.323 listener started" << endl;
|
||||
|
||||
return 0;
|
||||
};
|
||||
|
||||
|
@ -914,6 +916,10 @@ int h323_set_gk(int gatekeeper_discover, char *gatekeeper, char *secret)
|
|||
cout << " == Using " << (endPoint->GetGatekeeper())->GetName() << " as our Gatekeeper." << endl;
|
||||
} else {
|
||||
cout << " *** Error registering with gatekeeper \"" << gkName << "\". " << endl;
|
||||
|
||||
/* XXX Maybe we should fire a new thread to attempt to re-register later and not kill asterisk here? */
|
||||
|
||||
delete rasChannel;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue