stop sending rtp when on hold (bug #3185)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Russell Bryant 21 years ago
parent b0b9c0928b
commit 10378ed083

@ -2790,6 +2790,8 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
ast_moh_stop(p->owner->bridge); ast_moh_stop(p->owner->bridge);
} else { } else {
ast_moh_start(p->owner->bridge, NULL); ast_moh_start(p->owner->bridge, NULL);
if (sendonly)
ast_rtp_stop(p->rtp);
} }
} }
} }

Loading…
Cancel
Save