[asterisk-commits] pcadach: branch pcadach/chan_h323-live r42451 -
/team/pcadach/chan_h323-live/...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Sep 8 11:32:30 MST 2006
Author: pcadach
Date: Fri Sep 8 13:32:30 2006
New Revision: 42451
URL: http://svn.digium.com/view/asterisk?rev=42451&view=rev
Log:
More debugging messages cleanup
Modified:
team/pcadach/chan_h323-live/channels/chan_h323.c
Modified: team/pcadach/chan_h323-live/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/chan_h323.c?rev=42451&r1=42450&r2=42451&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/chan_h323.c (original)
+++ team/pcadach/chan_h323-live/channels/chan_h323.c Fri Sep 8 13:32:30 2006
@@ -361,7 +361,8 @@
if (pvt->DTMFsched >= 0)
ast_sched_del(sched, pvt->DTMFsched);
pvt->DTMFsched = ast_sched_add(sched, pvt->newduration, oh323_simulate_dtmf_end, pvt);
- ast_log(LOG_DEBUG, "Scheduled DTMF END simulation for %d ms, id=%d\n", pvt->newduration, pvt->DTMFsched);
+ if (h323debug)
+ ast_log(LOG_DEBUG, "Scheduled DTMF END simulation for %d ms, id=%d\n", pvt->newduration, pvt->DTMFsched);
}
pvt->curDTMF = pvt->newdigit;
}
@@ -1727,7 +1728,8 @@
if (pvt->DTMFsched >= 0)
ast_sched_del(sched, pvt->DTMFsched);
pvt->DTMFsched = ast_sched_add(sched, duration, oh323_simulate_dtmf_end, pvt);
- ast_log(LOG_DEBUG, "Scheduled DTMF END simulation for %d ms, id=%d\n", duration, pvt->DTMFsched);
+ if (h323debug)
+ ast_log(LOG_DEBUG, "Scheduled DTMF END simulation for %d ms, id=%d\n", duration, pvt->DTMFsched);
}
pvt->curDTMF = digit;
}
More information about the asterisk-commits
mailing list