Don't count as outgoing until we actually send the new INVITE

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 21 years ago
parent 03cb980dc2
commit 2cd1eb39b1

@ -24,6 +24,7 @@
#include <asterisk/options.h>
#include <asterisk/cli.h>
#include <asterisk/say.h>
#include <asterisk/utils.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>

@ -7765,7 +7765,6 @@ static int sip_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struc
ast_log(LOG_DEBUG, "Deferring reinvite on '%s'\n", p->callid);
p->needreinvite = 1;
}
p->outgoing = 1;
}
return 0;
}

Loading…
Cancel
Save