mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
AMI PlayDTMF Action: Make not compete with channel's media thread.
There can be one and only one thread handling a channel's media at a time. Otherwise, we don't know which thread is going to handle the media frames. ASTERISK-27625 Change-Id: Ia341f1a6f4d54f2022261abec9021fe5b2eb4905
This commit is contained in:
@@ -169,7 +169,7 @@ static int manager_play_dtmf(struct mansession *s, const struct message *m)
|
||||
return 0;
|
||||
}
|
||||
|
||||
ast_senddigit(chan, *digit, duration_ms);
|
||||
ast_senddigit_external(chan, *digit, duration_ms);
|
||||
|
||||
chan = ast_channel_unref(chan);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user