|
|
@ -144,12 +144,17 @@ void ast_unreplace_sigchld(void);
|
|
|
|
\brief Send DTMF to a channel
|
|
|
|
\brief Send DTMF to a channel
|
|
|
|
|
|
|
|
|
|
|
|
\param chan The channel that will receive the DTMF frames
|
|
|
|
\param chan The channel that will receive the DTMF frames
|
|
|
|
\param peer (optional) Peer channel that will be autoserviced while the primary
|
|
|
|
\param peer (optional) Peer channel that will be autoserviced while the
|
|
|
|
channel is receiving DTMF
|
|
|
|
primary channel is receiving DTMF
|
|
|
|
\param digits This is a string of characters representing the DTMF digits to be sent
|
|
|
|
\param digits This is a string of characters representing the DTMF digits
|
|
|
|
to the channel. Valid characters are "0123456789*#abcdABCD".
|
|
|
|
to be sent to the channel. Valid characters are
|
|
|
|
\param between This is the number of milliseconds to wait in between each DTMF digit.
|
|
|
|
"0123456789*#abcdABCD". Note: You can pass arguments 'f' or
|
|
|
|
If zero milliseconds is specified, then the default value of 100 will be used.
|
|
|
|
'F', if you want to Flash the channel (if supported by the
|
|
|
|
|
|
|
|
channel), or 'w' to add a 500 millisecond pause to the DTMF
|
|
|
|
|
|
|
|
sequence.
|
|
|
|
|
|
|
|
\param between This is the number of milliseconds to wait in between each
|
|
|
|
|
|
|
|
DTMF digit. If zero milliseconds is specified, then the
|
|
|
|
|
|
|
|
default value of 100 will be used.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
int ast_dtmf_stream(struct ast_channel *chan, struct ast_channel *peer, const char *digits, int between);
|
|
|
|
int ast_dtmf_stream(struct ast_channel *chan, struct ast_channel *peer, const char *digits, int between);
|
|
|
|
|
|
|
|
|
|
|
|