Do not activate DTMF detection for line side of resource PLCI

This commit is contained in:
MelwareDE 2009-05-07 09:41:43 +00:00
parent ea4a234fec
commit 170b200474
1 changed files with 1 additions and 2 deletions

View File

@ -720,8 +720,7 @@ static int capi_detect_dtmf(struct capi_pvt *i, int flag)
return 0;
if ((i->channeltype == CAPI_CHANNELTYPE_NULL) &&
(i->line_plci == 0) &&
(null_plci_dtmf_support == 0)) {
(((i->line_plci == 0) && (null_plci_dtmf_support == 0)) || (i->resource_plci_type == CAPI_RESOURCE_PLCI_LINE))) {
return 0;
}