[Asterisk-Dev] Cisco 7960 w/DTMF Patch

Jeremy McNamara jj at nufone.net
Fri Oct 3 08:06:35 MST 2003


Submit this to http://bugs.digium.com/

Jeremy McNamara

Robert wrote:

>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
>_______________________________________________
>Asterisk-Dev mailing list
>Asterisk-Dev at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-dev
>  
>





More information about the asterisk-dev mailing list