From: Mark Spencer Date: Thu, 3 Apr 2003 08:00:57 +0000 (+0000) Subject: Set call as outgoing *after* sending reinvite X-Git-Tag: 0.4.0~96 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7585a75782235b5619f63bd0fd407cfc968b82a;p=thirdparty%2Fasterisk.git Set call as outgoing *after* sending reinvite git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@742 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c48a281334..f846edc252 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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;