Changed some debug levels
git-svn-id: http://voip.null.ro/svn/yate@1450 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
eb8ca05fdc
commit
5e7bca42ec
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue