mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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"))) {
|
||||
|
Reference in New Issue
Block a user