diff options
-rwxr-xr-x | channels/h323/Makefile | 6 | ||||
-rwxr-xr-x | channels/h323/ast_h323.cpp | 5 |
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); |