dect
/
asterisk
Archived
13
0
Fork 0

Check the proper page for the SENDRPID flag.

If a pending reinvite were sent, we might not properly
send connected party info since we were checking the wrong
flag. This was a rare occurrence, but could still happen
nevertheless.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@223617 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
mmichelson 2009-10-11 22:19:22 +00:00
parent 16a4a74f82
commit 1274cfa248
1 changed files with 1 additions and 1 deletions

View File

@ -10670,7 +10670,7 @@ static int transmit_reinvite_with_sdp(struct sip_pvt *p, int t38version, int old
add_header(&req, "X-asterisk-Info", "SIP re-invite (External RTP bridge)");
}
if (ast_test_flag(&p->flags[1], SIP_SENDRPID))
if (ast_test_flag(&p->flags[0], SIP_SENDRPID))
add_rpid(&req, p);
if (p->do_history)