[asterisk-commits] pcadach: branch pcadach/chan_h323-live r42888 - /team/pcadach/chan_h323-live/...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Sep 13 11:13:02 MST 2006


Author: pcadach
Date: Wed Sep 13 13:13:02 2006
New Revision: 42888

URL: http://svn.digium.com/view/asterisk?rev=42888&view=rev
Log:
Don't show invalid transport address which will not be used

Modified:
    team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp

Modified: team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp?rev=42888&r1=42887&r2=42888&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp (original)
+++ team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp Wed Sep 13 13:13:02 2006
@@ -420,10 +420,10 @@
 			PIPSocket::Address addr;
 			WORD port;
 			if (taddr.GetIpAndPort(addr, port)) {
-				if (h323debug)
-					cout << "Using " << addr << " for outbound call" << endl;
 				/* Create own transport for specific addresses only */
 				if (addr) {
+					if (h323debug)
+						cout << "Using " << addr << " for outbound call" << endl;
 					transport = new MyH323TransportTCP(*this, addr);
 					if (!transport)
 						cout << "Unable to create transport for outgoing call" << endl;



More information about the asterisk-commits mailing list