[Asterisk-cvs] asterisk/channels/h323 ast_h323.cpp,1.33,1.34
jeremy at lists.digium.com
jeremy at lists.digium.com
Tue Jan 13 02:39:24 CST 2004
Update of /usr/cvsroot/asterisk/channels/h323
In directory mongoose.digium.com:/home/jeremy/asterisk/channels/h323
Modified Files:
ast_h323.cpp
Log Message:
WTF
Index: ast_h323.cpp
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/h323/ast_h323.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- ast_h323.cpp 13 Jan 2004 08:17:20 -0000 1.33
+++ ast_h323.cpp 13 Jan 2004 08:31:13 -0000 1.34
@@ -668,23 +668,12 @@
const H245_H2250LogicalChannelParameters * /*param*/)
{
struct rtp_info *info;
+ WORD port;
/* Determine the Local (A side) IP Address and port */
info = on_create_connection(GetCallReference());
-#if 0
- WORD port;
-
- if (bridging) {
- externalIpAddress = PIPSocket::Address(info->addr);
- } else {
GetControlChannel().GetLocalAddress().GetIpAndPort(externalIpAddress, port);
- }
-
- externalIpAddress = PIPSocket::Address("192.168.1.50");
-#endif
-
- externalIpAddress = PIPSocket::Address(info->addr);
externalPort = info->port;
if (h323debug) {
More information about the svn-commits
mailing list