mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
Set call as outgoing *after* sending reinvite
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4520,8 +4520,8 @@ static int sip_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp)
|
||||
struct sip_pvt *p;
|
||||
p = chan->pvt->pvt;
|
||||
if (p) {
|
||||
p->outgoing = 1;
|
||||
transmit_reinvite_with_sdp(p, rtp);
|
||||
p->outgoing = 1;
|
||||
return 0;
|
||||
}
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user