mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add a control frame to indicate the source of media has changed. Depending on the underlying technology it may need to change some things.
(closes issue #12148) Reported by: jcomellas git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@106235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1445,6 +1445,9 @@ static int mgcp_indicate(struct ast_channel *ast, int ind, const void *data, siz
|
||||
case AST_CONTROL_UNHOLD:
|
||||
ast_moh_stop(ast);
|
||||
break;
|
||||
case AST_CONTROL_SRCUPDATE:
|
||||
ast_rtp_new_source(sub->rtp);
|
||||
break;
|
||||
case -1:
|
||||
transmit_notify_request(sub, "");
|
||||
break;
|
||||
|
Reference in New Issue
Block a user