From: <abe...@us...> - 2013-08-27 03:16:05
|
Revision: 6178 http://sourceforge.net/p/astlinux/code/6178 Author: abelbeck Date: 2013-08-27 03:16:01 +0000 (Tue, 27 Aug 2013) Log Message: ----------- asterisk, change a jabber/xmpp error log to a debug log. The Prosody pubsub service does not support some optional features and as a result asterisk generates annoying errors, but the asterisk distributed devstate feature still works. Added Paths: ----------- branches/1.0/package/asterisk/asterisk-1.8-res_jabber-log-nonpubsub-error-to-debug.patch branches/1.0/package/asterisk/asterisk-11-res_xmpp-log-nonpubsub-error-to-debug.patch Added: branches/1.0/package/asterisk/asterisk-1.8-res_jabber-log-nonpubsub-error-to-debug.patch =================================================================== --- branches/1.0/package/asterisk/asterisk-1.8-res_jabber-log-nonpubsub-error-to-debug.patch (rev 0) +++ branches/1.0/package/asterisk/asterisk-1.8-res_jabber-log-nonpubsub-error-to-debug.patch 2013-08-27 03:16:01 UTC (rev 6178) @@ -0,0 +1,11 @@ +--- asterisk-1.8.23.0/res/res_jabber.c.orig 2013-08-26 21:01:37.000000000 -0500 ++++ asterisk-1.8.23.0/res/res_jabber.c 2013-08-26 21:10:23.000000000 -0500 +@@ -3507,7 +3507,7 @@ + iks *orig_pubsub = iks_find(pak->x, "pubsub"); + struct aji_client *client; + if (!orig_pubsub) { +- ast_log(LOG_ERROR, "Error isn't a PubSub error, why are we here?\n"); ++ ast_debug(1, "Error isn't a PubSub error, why are we here?\n"); + return IKS_FILTER_EAT; + } + orig_request = iks_child(orig_pubsub); Added: branches/1.0/package/asterisk/asterisk-11-res_xmpp-log-nonpubsub-error-to-debug.patch =================================================================== --- branches/1.0/package/asterisk/asterisk-11-res_xmpp-log-nonpubsub-error-to-debug.patch (rev 0) +++ branches/1.0/package/asterisk/asterisk-11-res_xmpp-log-nonpubsub-error-to-debug.patch 2013-08-27 03:16:01 UTC (rev 6178) @@ -0,0 +1,11 @@ +--- asterisk-11.5.0/res/res_xmpp.c.orig 2013-08-26 21:37:44.000000000 -0500 ++++ asterisk-11.5.0/res/res_xmpp.c 2013-08-26 21:39:26.000000000 -0500 +@@ -1381,7 +1381,7 @@ + } + + if (!orig_pubsub) { +- ast_log(LOG_ERROR, "Error isn't a PubSub error, why are we here?\n"); ++ ast_debug(1, "Error isn't a PubSub error, why are we here?\n"); + return IKS_FILTER_EAT; + } + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |