Archived
14
0
Fork 0

Merged revisions 85093 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85093 | file | 2007-10-09 11:30:16 -0300 (Tue, 09 Oct 2007) | 4 lines

Don't perform a reinvite if a transfer is in progress.
(issue #10915)
Reported by: ramonpeek

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85094 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
file 2007-10-09 14:31:27 +00:00
parent 9477f23809
commit 72f4e11202

View file

@ -18640,7 +18640,7 @@ static int sip_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struc
changed = 1;
}
}
if (changed && !ast_test_flag(&p->flags[0], SIP_GOTREFER)) {
if (changed && !ast_test_flag(&p->flags[0], SIP_GOTREFER) && !ast_test_flag(&p->flags[0], SIP_DEFER_BYE_ON_TRANSFER)) {
if (chan->_state != AST_STATE_UP) { /* We are in early state */
if (p->do_history)
append_history(p, "ExtInv", "Initial invite sent with remote bridge proposal.");