From 8e943de284e629aae46b2244db9f69a09861afb2 Mon Sep 17 00:00:00 2001 From: russell Date: Thu, 25 May 2006 22:39:57 +0000 Subject: only display a debug message if option_debug is in use git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30465 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_iax2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index e7e6cf3d6..125d908f0 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -7138,6 +7138,7 @@ retryowner2: iax2_destroy_nolock(fr->callno); peer->callno = 0; /* Try again eventually */ + if (option_debug) ast_log(LOG_DEBUG, "Peer lastms %d, historicms %d, maxms %d\n", peer->lastms, peer->historicms, peer->maxms); if ((peer->lastms < 0) || (peer->historicms > peer->maxms)) peer->pokeexpire = ast_sched_add(sched, peer->pokefreqnotok, iax2_poke_peer_s, peer); -- cgit v1.2.3