Formatting DTMF as a string

a '+' separated list of DTMF strings

Each element in the list can contain an @ followed by
a duration in ms.

e.g.
1234@250+4321@500

sends the digits 1 2 3 4 at a rate of 250ms then
4 3 2 1 at a rate of 500




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7193 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2008-01-12 20:30:48 +00:00
1 parent 7accbe103f
commit 3a5a239846
6 files changed
+108 -30

No files matched your search

+1
View File
@@ -427,6 +427,7 @@ SWITCH_DECLARE(switch_size_t) switch_channel_has_dtmf(switch_channel_t *channel)
\return SWITCH_STATUS_SUCCESS if successful
*/
SWITCH_DECLARE(switch_status_t) switch_channel_queue_dtmf(switch_channel_t *channel, const switch_dtmf_t *dtmf);
SWITCH_DECLARE(switch_status_t) switch_channel_queue_dtmf_string(switch_channel_t *channel, const char *dtmf_string);
/*!
\brief Retrieve DTMF digits from a given channel