mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-28 00:10:25 -07:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user