Allow RFC2833 to be sent in the response SDP when an INVITE comes in without SDP. (issue #9546 reported by mcrawford)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@61771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2007-04-24 16:05:06 +00:00
parent f1edea1129
commit a31a2ef862
+2
View File
@@ -7338,6 +7338,7 @@ static int check_user_full(struct sip_pvt *p, struct sip_request *req, int sipme
p->noncodeccapability |= AST_RTP_DTMF;
else
p->noncodeccapability &= ~AST_RTP_DTMF;
p->jointnoncodeccapability = p->noncodeccapability;
}
if (user && debug)
ast_verbose("Found user '%s'\n", user->name);
@@ -7447,6 +7448,7 @@ static int check_user_full(struct sip_pvt *p, struct sip_request *req, int sipme
p->noncodeccapability |= AST_RTP_DTMF;
else
p->noncodeccapability &= ~AST_RTP_DTMF;
p->jointnoncodeccapability = p->noncodeccapability;
}
ASTOBJ_UNREF(peer,sip_destroy_peer);
} else {