[asterisk-commits] jpeeler: branch jpeeler/bug11261 r182651 - /team/jpeeler/bug11261/channels/h323/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 17 15:10:31 CDT 2009


Author: jpeeler
Date: Tue Mar 17 15:10:28 2009
New Revision: 182651

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=182651
Log:
use wrapper now that testing with the new library is done

Modified:
    team/jpeeler/bug11261/channels/h323/ast_h323.cxx

Modified: team/jpeeler/bug11261/channels/h323/ast_h323.cxx
URL: http://svn.digium.com/svn-view/asterisk/team/jpeeler/bug11261/channels/h323/ast_h323.cxx?view=diff&rev=182651&r1=182650&r2=182651
==============================================================================
--- team/jpeeler/bug11261/channels/h323/ast_h323.cxx (original)
+++ team/jpeeler/bug11261/channels/h323/ast_h323.cxx Tue Mar 17 15:10:28 2009
@@ -289,8 +289,7 @@
 				if (addr) {
 					if (h323debug)
 						cout << "Using " << addr << " for outbound call" << endl;
-/* jpeeler: fix */
-					transport = new H323TransportTCP(*this, addr);
+					transport = new MyH323TransportTCP(*this, addr);
 					if (!transport)
 						cout << "Unable to create transport for outgoing call" << endl;
 				}
@@ -2072,8 +2071,7 @@
 			cout << "Using " << addr << " for outbound H.245 transport" << endl;
 		controlChannel = new MyH323TransportTCP(endpoint, addr);
 	} else
-/* jpeeler: fix */
-		controlChannel = new H323TransportTCP(endpoint);
+		controlChannel = new MyH323TransportTCP(endpoint);
 	if (!controlChannel->SetRemoteAddress(h245Address)) {
 		PTRACE(1, "H225\tCould not extract H245 address");
 		delete controlChannel;
@@ -2475,14 +2473,14 @@
 	}
 	if (gatekeeper_discover) {
 		/* discover the gk using multicast */
-		if (endPoint->DiscoverGatekeeper(new H323TransportUDP(*endPoint))) {
+		if (endPoint->DiscoverGatekeeper(new MyH323TransportUDP(*endPoint))) {
 			cout << "== Using " << (endPoint->GetGatekeeper())->GetName() << " as our Gatekeeper." << endl;
 		} else {
 			cout << "Warning: Could not find a gatekeeper." << endl;
 			return 1;
 		}
 	} else {
-		rasChannel = new H323TransportUDP(*endPoint);
+		rasChannel = new MyH323TransportUDP(*endPoint);
 
 		if (!rasChannel) {
 			cout << "Error: No RAS Channel, this is bad" << endl;




More information about the asterisk-commits mailing list