[asterisk-commits] oej: branch oej/earl-grey-sip2cause-configurable-1.8 r376900 - /team/oej/earl...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Nov 30 03:00:25 CST 2012
Author: oej
Date: Fri Nov 30 03:00:21 2012
New Revision: 376900
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=376900
Log:
Indicate if the conversion is done based on default values or configuration.
Modified:
team/oej/earl-grey-sip2cause-configurable-1.8/channels/sip/sip2cause.c
Modified: team/oej/earl-grey-sip2cause-configurable-1.8/channels/sip/sip2cause.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/earl-grey-sip2cause-configurable-1.8/channels/sip/sip2cause.c?view=diff&rev=376900&r1=376899&r2=376900
==============================================================================
--- team/oej/earl-grey-sip2cause-configurable-1.8/channels/sip/sip2cause.c (original)
+++ team/oej/earl-grey-sip2cause-configurable-1.8/channels/sip/sip2cause.c Fri Nov 30 03:00:21 2012
@@ -156,7 +156,7 @@
struct sip2causestruct *s2c = sip2causelookup.table;
while (s2c) {
if (s2c->sip == sipcode) {
- ast_debug(4, "SIP2CAUSE returning %d (%s) based on SIP code %d\n", s2c->cause, ast_cause2str(s2c->cause), sipcode);
+ ast_debug(1, "SIP2CAUSE returning %d (%s) based on SIP code %d [%s]\n", s2c->cause, ast_cause2str(s2c->cause), sipcode, s2c->private ? "config" : "default");
return s2c->cause;
}
s2c = s2c->next;
@@ -218,7 +218,7 @@
struct sip2causestruct *s2c = cause2siplookup.table;
while (s2c) {
if (s2c->cause == cause) {
- ast_debug(4, "SIP2CAUSE returning %s based on ISDN cause %d - %s\n", s2c->reason, cause, ast_cause2str(cause));
+ ast_debug(4, "cause2sip returning %s based on ISDN cause %d - %s [%s]\n", s2c->reason, cause, ast_cause2str(cause), s2c->private ? "config" : "default");
return s2c->reason;
}
s2c = s2c->next;
More information about the asterisk-commits
mailing list