diff options
author | Olle Johansson <oej@edvina.net> | 2006-08-30 20:24:32 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-08-30 20:24:32 +0000 |
commit | 6ca927457da3ee546565234abcf7c55e712d722f (patch) | |
tree | 810d84673dc8c475236af3a6ef1047d6f392ad82 /channels/chan_sip.c | |
parent | 96fe6cd8934f38497e94c826eb88adc714e7bd56 (diff) |
Why check bridgepeer twice?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index ac8e7fac7..948dc3bc6 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4926,8 +4926,6 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req) ast_set_write_format(p->owner, p->owner->writeformat); } - bridgepeer = ast_bridged_channel(p->owner); - /* Turn on/off music on hold if we are holding/unholding */ if ((bridgepeer = ast_bridged_channel(p->owner))) { if (sin.sin_addr.s_addr && !sendonly) { |