From: Richard Mudgett Date: Wed, 28 Sep 2011 22:35:52 +0000 (+0000) Subject: Make duplicate call ptr warning message more helpful. X-Git-Tag: 1.8.8.0-rc1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8711d897d08eed9909678846a8411ddabf450e3f;p=thirdparty%2Fasterisk.git Make duplicate call ptr warning message more helpful. * Adds the value of the call ptr to the duplicate call ptr message to help trace why there is a duplicate call ptr. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338322 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/sig_pri.c b/channels/sig_pri.c index 6edb65bfcd..ed4e55b73c 100644 --- a/channels/sig_pri.c +++ b/channels/sig_pri.c @@ -4988,8 +4988,8 @@ static void *pri_dchannel(void *vpri) if (-1 < chanpos) { /* Libpri has already filtered out duplicate SETUPs. */ ast_log(LOG_WARNING, - "Span %d: Got SETUP with duplicate call ptr. Dropping call.\n", - pri->span); + "Span %d: Got SETUP with duplicate call ptr (%p). Dropping call.\n", + pri->span, e->ring.call); pri_hangup(pri->pri, e->ring.call, PRI_CAUSE_NORMAL_TEMPORARY_FAILURE); break; }