diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp index 2a0f14492246a2271d7f8740c3d56739a11b7ea1..44e8163503dc6cf25140929ff7db4c1c8254599a 100755 --- a/channels/h323/ast_h323.cpp +++ b/channels/h323/ast_h323.cpp @@ -673,6 +673,10 @@ H323Channel * MyH323Connection::CreateRealTimeLogicalChannel(const H323Capabilit /* Determine the Local (A side) IP Address and port */ info = on_create_connection(GetCallReference()); + if (!info) { + return NULL; + } + GetControlChannel().GetLocalAddress().GetIpAndPort(externalIpAddress, port); externalPort = info->port;