aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/ast_h323.cpp
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-20 23:36:40 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-20 23:36:40 +0000
commita95b62818c8c805b143778086a094c9831a1b8ee (patch)
tree8088693678536d2756b52c437c4ba3d13d5d0d99 /channels/h323/ast_h323.cpp
parentadb97b5067be3a5a935c1fe5647b7b602097d886 (diff)
clarify messages, try to stop another debian seg
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1048 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/ast_h323.cpp')
-rwxr-xr-xchannels/h323/ast_h323.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp
index 501cdb51b..892a2d0f5 100755
--- a/channels/h323/ast_h323.cpp
+++ b/channels/h323/ast_h323.cpp
@@ -340,7 +340,7 @@ void MyH323EndPoint::OnConnectionCleared(H323Connection & connection, const PStr
break;
case H323Connection::EndedByNoUser :
if (h323debug)
- cout << " -- Gatekeeper could not find user " << remoteName << endl;
+ cout << " -- Remote endpoint could not find user: " << remoteName << endl;
break;
case H323Connection::EndedByNoBandwidth :
if (h323debug)
@@ -821,6 +821,9 @@ int h323_start_listener(int listenPort, struct sockaddr_in bindaddr, int _jitter
jitter = _jitter;
PIPSocket::Address interfaceAddress(bindaddr.sin_addr);
+
+ if (!listenPort)
+ listenPort = 1720;
tcpListener = new H323ListenerTCP(*endPoint, interfaceAddress, (WORD)listenPort);