commit | d74ac335748ad2fe4971fd7dcca653284b9bbc17 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Nov 29 21:41:01 2012 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Sun Dec 16 11:33:27 2012 +0100 |
tree | 68c9ae77ca34bc413bed5e8f6e0bba6e6a6241e3 | |
parent | 9b2474490a738665247ea3a04648f96411a78d6d [diff] |
dtmf: Schedule DTMF tones for the MTN hardware Create a simple queue for pending DTMF tones, play them using the MTN API, and then send the next tones once the playback is complete. The callback and scheduling is done from the same context so no locking needs to be done.