From: Mark Spencer Date: Fri, 8 Oct 2004 15:52:44 +0000 (+0000) Subject: Add compatibilty with proprietary nortel DTMF info (bug #2605) X-Git-Tag: 1.2.0-beta1~2056 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ef0da8240b53db4328981b2da7dc0f9cb9d201b;p=thirdparty%2Fasterisk.git Add compatibilty with proprietary nortel DTMF info (bug #2605) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3952 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 02c41ac452..f0f5c0281c 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5971,7 +5971,8 @@ static void receive_info(struct sip_pvt *p, struct sip_request *req) 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/dtmf-relay") || + !strcasecmp(get_header(req, "Content-Type"), "application/vnd.nortelnetworks.digits")) { /* Try getting the "signal=" part */ if (ast_strlen_zero(c = get_sdp(req, "Signal")) && ast_strlen_zero(c = get_sdp(req, "d"))) {