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:
Joshua Colp
2008-03-05 22:32:10 +00:00
parent ba6b7abe61
commit cd703523db
15 changed files with 117 additions and 65 deletions

View File

@@ -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;