mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
fix timer in dtmf generator
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@834 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
f68d83dda0
commit
8291ec982e
@ -1847,8 +1847,10 @@ static zap_status_t handle_dtmf(zap_channel_t *zchan, zap_size_t datalen)
|
||||
return ZAP_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
zchan->skip_read_frames = wrote / (1000 / zchan->effective_interval);
|
||||
|
||||
if (x) {
|
||||
zchan->skip_read_frames = (wrote / (zchan->effective_interval * 8)) + 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user