From 5eb94d7ebbc2c29d4de8201103bcb62ae8afcd31 Mon Sep 17 00:00:00 2001 From: Jonathan Rose Date: Tue, 26 Jun 2012 21:45:22 +0000 Subject: 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 --- main/channel_internal_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/channel_internal_api.c') diff --git a/main/channel_internal_api.c b/main/channel_internal_api.c index 933386401..768afc65e 100644 --- a/main/channel_internal_api.c +++ b/main/channel_internal_api.c @@ -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); -- cgit v1.2.3