[asterisk-commits] rmudgett: trunk r432036 - in /trunk: ./ channels/sig_analog.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Feb 20 11:55:43 CST 2015
Author: rmudgett
Date: Fri Feb 20 11:55:41 2015
New Revision: 432036
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=432036
Log:
chan_dahdi/sig_analog: Put log message strings on one line.
With the log messages on one line, you can search for the log message seen
in the log and expect to find it.
........
Merged revisions 432032 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 432034 from http://svn.asterisk.org/svn/asterisk/branches/13
Modified:
trunk/ (props changed)
trunk/channels/sig_analog.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.
Modified: trunk/channels/sig_analog.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sig_analog.c?view=diff&rev=432036&r1=432035&r2=432036
==============================================================================
--- trunk/channels/sig_analog.c (original)
+++ trunk/channels/sig_analog.c Fri Feb 20 11:55:41 2015
@@ -2413,8 +2413,8 @@
* or AST_FLAG_END_DTMF_ONLY flag settings since we
* are hanging up the channel.
*/
- ast_log(LOG_WARNING, "DTMFCID timed out waiting for ring. "
- "Exiting simple switch\n");
+ ast_log(LOG_WARNING,
+ "DTMFCID timed out waiting for ring. Exiting simple switch\n");
ast_hangup(chan);
goto quit;
}
@@ -2508,8 +2508,8 @@
res = ast_waitfor(chan, ms);
if (res <= 0) {
- ast_log(LOG_WARNING, "CID timed out waiting for ring. "
- "Exiting simple switch\n");
+ ast_log(LOG_WARNING,
+ "CID timed out waiting for ring. Exiting simple switch\n");
ast_hangup(chan);
goto quit;
}
@@ -2535,10 +2535,8 @@
ast_log(LOG_WARNING, "Unable to get caller ID space\n");
}
} else {
- ast_log(LOG_WARNING, "Channel %s in prering "
- "state, but I have nothing to do. "
- "Terminating simple switch, should be "
- "restarted by the actual ring.\n",
+ ast_log(LOG_WARNING,
+ "Channel %s in prering state, but I have nothing to do. Terminating simple switch, should be restarted by the actual ring.\n",
ast_channel_name(chan));
ast_hangup(chan);
goto quit;
@@ -3838,8 +3836,7 @@
}
if (i->cid_start == ANALOG_CID_START_POLARITY || i->cid_start == ANALOG_CID_START_POLARITY_IN) {
i->polarity = POLARITY_REV;
- ast_verb(2, "Starting post polarity "
- "CID detection on channel %d\n",
+ ast_verb(2, "Starting post polarity CID detection on channel %d\n",
i->channel);
chan = analog_new_ast_channel(i, AST_STATE_PRERING, 0, ANALOG_SUB_REAL, NULL);
i->ss_astchan = chan;
@@ -3853,9 +3850,9 @@
ast_callid_threadstorage_auto_clean(callid, callid_created);
break;
default:
- ast_log(LOG_WARNING, "handle_init_event detected "
- "polarity reversal on non-FXO (ANALOG_SIG_FXS) "
- "interface %d\n", i->channel);
+ ast_log(LOG_WARNING,
+ "handle_init_event detected polarity reversal on non-FXO (ANALOG_SIG_FXS) interface %d\n",
+ i->channel);
break;
}
break;
@@ -3880,9 +3877,9 @@
ast_callid_threadstorage_auto_clean(callid, callid_created);
break;
default:
- ast_log(LOG_WARNING, "handle_init_event detected "
- "dtmfcid generation event on non-FXO (ANALOG_SIG_FXS) "
- "interface %d\n", i->channel);
+ ast_log(LOG_WARNING,
+ "handle_init_event detected dtmfcid generation event on non-FXO (ANALOG_SIG_FXS) interface %d\n",
+ i->channel);
break;
}
break;
More information about the asterisk-commits
mailing list