[Asterisk-Users] Passing DTMF

Olle E. Johansson oej at edvina.net
Tue Apr 6 23:54:05 MST 2004


Marian Durkovic wrote:
>>...or the problem is, as hinted, that Asterisk sends a short dtmf.
> 
> 
> This is a bug in 7.2 release. 
> It's setting the duration of RFC2833 digits to as low as 30 msec which is
> definitely not enough.
> 
> To fix, change the following in rtp.c, function ast_rtp_senddigit()
> 
>                         /* Make duration 240 */
>                         rtpheader[3] |= htonl((240));
> 
> The duration is based on 8000 Hz clock so 240 equals to 30 msec. Use at
> least 1200 for 150 msec tones or even more as needed.
> 
Please add this to bugs.digium.com so it can be changed in the CVS tree.

/O



More information about the asterisk-users mailing list