git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38149
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
int outgoing = ast_test_flag(&p->flags[0], SIP_OUTGOING);
int res = 0;
int reinvite = (p->owner && p->owner->_state == AST_STATE_UP);
+ struct ast_channel *bridgepeer = NULL;
if (option_debug > 3) {
if (reinvite)
build_route(p, req, 1);
}
- struct ast_channel *bridgepeer = NULL;
if (p->owner && (p->owner->_state == AST_STATE_UP) && (bridgepeer = ast_bridged_channel(p->owner))) { /* if this is a re-invite */
struct sip_pvt *bridgepvt = NULL;