diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-13 08:31:13 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-01-13 08:31:13 +0000 |
commit | 20736a4cfa754a6daf3d3e0291f1c090adf2e9f0 (patch) | |
tree | 233fe53f037707d5c1e26ded6f53ef00a55cb427 /channels | |
parent | 46a0f4c89bc0988825de73c0ad3fd8fd3fcbe205 (diff) |
WTF
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2014 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/h323/ast_h323.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp index 4923f1dbe..2a0f14492 100755 --- a/channels/h323/ast_h323.cpp +++ b/channels/h323/ast_h323.cpp @@ -668,23 +668,12 @@ H323Channel * MyH323Connection::CreateRealTimeLogicalChannel(const H323Capabilit 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) { |