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:
Mark Spencer
2003-04-03 08:00:57 +00:00
parent 2d5b51e3b0
commit b7585a7578

View File

@@ -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;