Changed some debug levels

git-svn-id: http://voip.null.ro/svn/yate@1450 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2007-09-05 08:44:10 +00:00
parent eb8ca05fdc
commit 5e7bca42ec
1 changed files with 2 additions and 2 deletions

View File

@ -809,11 +809,11 @@ bool ZapDevice::setDtmfDetect(bool detect)
{
int tmp = 0;
#ifdef ZT_TONEDETECT
setLinear(0);
setLinear(0,DebugNote);
if (detect)
tmp = ZT_TONEDETECT_ON | ZT_TONEDETECT_MUTE;
#endif
if (!ioctl(SetToneDetect,&tmp,DebugNote))
if (!ioctl(SetToneDetect,&tmp,detect?DebugNote:DebugAll))
return false;
DDebug(m_owner,DebugAll,"%sTone detector %s on channel %u [%p]",
m_name.safe(),detect?"started":"stopped",m_channel,m_owner);