mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Unique Call ID logging Phases III and IV
Adds call ID logging changes to specific channel drivers that weren't handled handled in phase II of Call ID Logging. Also covers logging for threads for threads created by systems that may be involved with many different calls. Extra special thanks to Richard for rigorous review of chan_dahdi and its various signalling modules. review: https://reviewboard.asterisk.org/r/1927/ review: https://reviewboard.asterisk.org/r/1950/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -851,8 +851,8 @@ void ast_channel_callid_set(struct ast_channel *chan, struct ast_callid *callid)
|
||||
if (chan->callid) {
|
||||
|
||||
if ((option_debug >= 3) || (ast_opt_dbg_module && ast_debug_get_by_module(AST_MODULE) >= 3)) {
|
||||
char call_identifier_from[13];
|
||||
char call_identifier_to[13];
|
||||
char call_identifier_from[AST_CALLID_BUFFER_LENGTH];
|
||||
char call_identifier_to[AST_CALLID_BUFFER_LENGTH];
|
||||
ast_callid_strnprint(call_identifier_from, sizeof(call_identifier_from), chan->callid);
|
||||
ast_callid_strnprint(call_identifier_to, sizeof(call_identifier_to), callid);
|
||||
ast_log(LOG_DEBUG, "Channel Call ID changing from %s to %s\n", call_identifier_from, call_identifier_to);
|
||||
|
Reference in New Issue
Block a user