[Asterisk-Users] ICH codec 19

alex@pilosoft.com
Tue, 20 May 2003 15:15:44 -0000

Heads-up to everyone who is using iconnecthere. In their infinite wisdom,
they are now using in-band DTMF, but use RTP codec 19 instead of 101.
(even though the data is in 101 codec format).

quick patch:

Index: rtp.c
==================================================================RCS file:
/usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.9
diff --unified -r1.9 rtp.c
--- rtp.c       18 Apr 2003 14:39:26 -0000      1.9
+++ rtp.c       20 May 2003 22:44:54 -0000
@@ -401,6 +401,7 @@
   [16] = {1, AST_FORMAT_ADPCM}, // 11.025 kHz
   [17] = {1, AST_FORMAT_ADPCM}, // 22.050 kHz
   [18] = {1, AST_FORMAT_G729A},
+  [19] = {0, AST_RTP_DTMF},
   [26] = {1, AST_FORMAT_JPEG},
   [31] = {1, AST_FORMAT_H261},
   [34] = {1, AST_FORMAT_H263},