Stop transmission when sendonly is set (bug #3185)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-12-29 13:31:57 +00:00
parent 176b1061eb
commit 9c35e9a7d1

View File

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