[asterisk-commits] rmudgett: branch 1.8 r338322 - /branches/1.8/channels/sig_pri.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 28 17:35:55 CDT 2011


Author: rmudgett
Date: Wed Sep 28 17:35:52 2011
New Revision: 338322

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=338322
Log:
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.

Modified:
    branches/1.8/channels/sig_pri.c

Modified: branches/1.8/channels/sig_pri.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/sig_pri.c?view=diff&rev=338322&r1=338321&r2=338322
==============================================================================
--- branches/1.8/channels/sig_pri.c (original)
+++ branches/1.8/channels/sig_pri.c Wed Sep 28 17:35:52 2011
@@ -4988,8 +4988,8 @@
 				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;
 				}




More information about the asterisk-commits mailing list