[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.5,1.510.2.6
russell at lists.digium.com
russell at lists.digium.com
Fri Oct 8 20:35:38 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv27488/channels
Modified Files:
Tag: v1-0
chan_sip.c
Log Message:
fix for Nortel SIP dtmf (bug #2605)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.5
retrieving revision 1.510.2.6
diff -u -d -r1.510.2.5 -r1.510.2.6
--- chan_sip.c 7 Oct 2004 21:47:46 -0000 1.510.2.5
+++ chan_sip.c 9 Oct 2004 00:36:46 -0000 1.510.2.6
@@ -6057,7 +6057,8 @@
char *c;
/* Need to check the media/type */
- if (!strcasecmp(get_header(req, "Content-Type"), "application/dtmf-relay")) {
+ if ( (!strcasecmp(get_header(req, "Content-Type"), "application/vnd.nortelnetworks.digits")) ||
+ (!strcasecmp(get_header(req, "Content-Type"), "application/dtmf-relay")) ) {
/* Try getting the "signal=" part */
if (ast_strlen_zero(c = get_sdp(req, "Signal")) && ast_strlen_zero(c = get_sdp(req, "d"))) {
More information about the svn-commits
mailing list