Summary: | ASTERISK-26236: core: DSP can be fed slin with different rate than setup. | ||
Reporter: | Richard Mudgett (rmudgett) | Labels: | |
Date Opened: | 2016-07-25 22:42:40 | Date Closed: | |
Priority: | Minor | Regression? | |
Status: | Open/New | Components: | Core/General |
Versions: | Frequency of Occurrence | Constant | |
Related Issues: | |||
Environment: | Attachments: | ( 0) diff_ast_v13.txt | |
Description: | It is possible to feed the {{ast_dsp_process()}} routine slin frames of different sampling rates than what the DSP was setup to handle. This is mainly concerning the SIP/PJSIP channel drivers where slin16 could be negotiated but the DSP is only ever setup for 8K samples/second DTMF and fax detection. | ||
Comments: | By: Richard Mudgett (rmudgett) 2016-07-25 22:46:36.506-0500 [diff_ast_v13.txt] - Notes where the DSP code needs to be made to work with any incoming slin sample rate. Either that or chan_sip/chan_pjsip needs to prevent passing slin frames that are not 8K sample rate when looking DTMF or fax tones. |