mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 10:58:15 +00:00
we should only activate the generator in chan_misdn, when asterisk hask not yet taken the call (WAITING4DIGS state). Alerting audio will be generated fomr asterisk for example.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@65767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2531,6 +2531,8 @@ static int stop_indicate(struct chan_list *cl)
|
||||
chan_misdn_log(3,cl->bc->port," --> None\n");
|
||||
misdn_lib_tone_generator_stop(cl->bc);
|
||||
ast_playtones_stop(ast);
|
||||
|
||||
cl->ts=NULL;
|
||||
/*ast_deactivate_generator(ast);*/
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user