summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJeremy McNamara <jj@nufone.net>2003-05-20 23:36:40 +0000
committerJeremy McNamara <jj@nufone.net>2003-05-20 23:36:40 +0000
commitcee8ab8dc0ccc313c3769a7b28dd8251282723e1 (patch)
tree8088693678536d2756b52c437c4ba3d13d5d0d99 /channels
parent208f1670904897bc063a4adb841ccc32be820d31 (diff)
clarify messages, try to stop another debian seg
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/h323/Makefile6
-rwxr-xr-xchannels/h323/ast_h323.cpp5
2 files changed, 7 insertions, 4 deletions
diff --git a/channels/h323/Makefile b/channels/h323/Makefile
index 740306dd2..c7b7d13f3 100755
--- a/channels/h323/Makefile
+++ b/channels/h323/Makefile
@@ -56,12 +56,12 @@ samples:
chan_h323.o: chan_h323.c
- $(CC) -g -c -o $@ $(CFLAGS) $<
+ $(CC) -g -pg -c -o $@ $(CFLAGS) $<
ast_h323.o: ast_h323.cpp
- g++ -g -c -o $@ $(CFLAGS) $<
+ g++ -g -pg -c -o $@ $(CFLAGS) $<
chan_h323.so: chan_h323.o ast_h323.o
- g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt_linux_x86_r -L$(OPENH323DIR)/lib -lh323_linux_x86_r -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
+ g++ -g -pg -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt_linux_x86_r -L$(OPENH323DIR)/lib -lh323_linux_x86_r -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
chan_h323_d.so: chan_h323.o ast_h323.o
g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L$(PWLIBDIR)/lib -lpt_linux_x86_d -L$(OPENH323DIR)/lib -lh323_linux_x86_d -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat
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);