Bug - DTMF in channel

I have two devices using asterisk with no reinvite on both, therefore, keeping asterisk in the middle. Both devices are set to SIP-INFO for tones yet in the channel, people hear DTMF and have hook flashes occur with no SIP message.

It is my belief that there is a problem with the channel in that it does not turn off the detection of DTMF or flash hooks if the channel is set to SIP-INFO.

I will be digging through the code to find this but if anyone knows where this codes is, it will speed up my search.

The error usually occurs with missing or out of sequence RDP packets.

I am mainly using ulaw and alaw for the channels.

Any help in speeding up this search is appreciated.