[Asterisk-Dev] Cisco 7960 w/DTMF Patch

Robert rdouty at sparky.concentric.net
Fri Oct 3 07:56:45 MST 2003


Seems the verion of the 7960 I use wants to use rtp protocol 100
for DTMF tones and it is not defined within rtp.c.

I had submitted a patch a long time ago, but it appears rtp.c went through
a major rewrite and this change was lost.

So here is a patch to add it back should you be inclined.

--- rtp.c.orig	Fri Oct  3 09:47:59 2003
+++ rtp.c	Fri Oct  3 09:48:09 2003
@@ -546,6 +546,7 @@
   [31] = {1, AST_FORMAT_H261},
   [34] = {1, AST_FORMAT_H263},
   [97] = {1, AST_FORMAT_ILBC},
+  [100] = {0, AST_RTP_DTMF},
   [101] = {0, AST_RTP_DTMF},
   [110] = {1, AST_FORMAT_SPEEX},
   [121] = {0, AST_RTP_CISCO_DTMF}, // Must be type 121


Robert



More information about the asterisk-dev mailing list