Use noncodec capability when masking (bug #2394)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3749 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
59d241ba13
commit
e7777233fd
1 changed files with 1 additions and 1 deletions
|
@ -2753,7 +2753,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
|
||||||
&vpeercapability, &vpeernoncodeccapability);
|
&vpeercapability, &vpeernoncodeccapability);
|
||||||
p->jointcapability = p->capability & (peercapability | vpeercapability);
|
p->jointcapability = p->capability & (peercapability | vpeercapability);
|
||||||
p->peercapability = (peercapability | vpeercapability);
|
p->peercapability = (peercapability | vpeercapability);
|
||||||
p->noncodeccapability = noncodeccapability & p->peercapability;
|
p->noncodeccapability = noncodeccapability & peernoncodeccapability;
|
||||||
|
|
||||||
if (debug) {
|
if (debug) {
|
||||||
const unsigned slen=80;
|
const unsigned slen=80;
|
||||||
|
|
Reference in a new issue