Hi, we have a number of annoing enpoints which send full RRQ regardless hi is 
registered already,
more, for example cisco as5300 send RRQ on ethery outbound call and i don't 
known why and i don't
find any way to disable such behavior, all this produse RCF messages on console 
which is annoing
me and my support, i make a small patch, it add one switch to config which 
disable RCF printing
if endpoint already registered.

C уважением                       With Best Regards
Георгиевский Юрий.                Georgiewskiy Yuriy
+7 4872 711666                    +7 4872 711666
факс +7 4872 711143               fax +7 4872 711143
Компания ООО "Ай Ти Сервис"       IT Service Ltd
http://nkoort.ru                  http://nkoort.ru
JID: [email protected]            JID: [email protected]
YG129-RIPE                        YG129-RIPE
diff -ruN openh323gk/gk.cxx openh323gk-new/gk.cxx
--- openh323gk/gk.cxx	2011-12-16 14:38:00.000000000 +0400
+++ openh323gk-new/gk.cxx	2012-01-17 20:13:27.000000000 +0400
@@ -246,6 +246,7 @@
 	{ "GkStatus::Filtering", "Enable" },
 	{ "GkStatus::Filtering", "ExcludeFilter" },
 	{ "GkStatus::Filtering", "IncludeFilter" },
+	{ "GkStatus::Filtering", "NewRCFOnly" },
 	{ "LogFile", "Filename" },
 	{ "LogFile", "Rotate" },
 	{ "LogFile", "RotateDay" },
diff -ruN openh323gk/RasSrv.cxx openh323gk-new/RasSrv.cxx
--- openh323gk/RasSrv.cxx	2012-01-16 14:36:00.000000000 +0400
+++ openh323gk-new/RasSrv.cxx	2012-01-17 21:20:37.000000000 +0400
@@ -2399,7 +2399,13 @@
 		+ "|" + AsString(request.m_terminalType)
 		+ "|" + ep->GetEndpointIdentifier().GetValue()
 		+ ";";
-	PrintStatus(log);
+	if (Toolkit::AsBool(GkConfig()->GetString("GkStatus::Filtering", "NewRCFOnly", "0"))) {
+	    if (bNewEP) {
+		PrintStatus(log);
+	    }} else {
+			PrintStatus(log);
+	}
+
 	return bShellSendReply;
 }
 
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________________

Posting: mailto:[email protected]
Archive: 
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Reply via email to