mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
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:
@@ -2804,6 +2804,8 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
|
|||||||
ast_moh_stop(ast_bridged_channel(p->owner));
|
ast_moh_stop(ast_bridged_channel(p->owner));
|
||||||
} else {
|
} else {
|
||||||
ast_moh_start(ast_bridged_channel(p->owner), NULL);
|
ast_moh_start(ast_bridged_channel(p->owner), NULL);
|
||||||
|
if (sendonly)
|
||||||
|
ast_rtp_stop(p->rtp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user