Don't count as outgoing until we actually send the new INVITE
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3092 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
83a68927cd
commit
f8c5bd5623
|
@ -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;
|
||||
}
|
||||
|
|
Reference in New Issue