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: https://origsvn.digium.com/svn/asterisk/trunk@223617
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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)