[Asterisk-Dev] dtmf over zap function
TC
trclark at shaw.ca
Tue Jul 13 15:10:59 MST 2004
You could peak at app_senddtmf
or see app.c -> ast_send_dtmf_stream those are chan independent
usually you get struc of type ast_frame
set the frametype to AST_FRAME_DTMF
and stuff your digits into the subclass a digit at a time
then write that frame to an active channel of type ast_channel
using ast_write,
This is a wrapper for do_senddigit
which in turn may call the function ptr for send_digit
using channel driver implementation if it exists
or it will fake it by starting a generator on the channel
In the case of zap channels the chan_zap install a send_digit
function int zt_digit(ast_channel *chan, char digit)
----- Original Message -----
From: "Glen" <asterisk-dev at empireenterprises.com>
To: <asterisk-dev at lists.digium.com>
Sent: Tuesday, July 13, 2004 8:35 AM
Subject: [Asterisk-Dev] dtmf over zap function
> Could someone point me to the file/function in which the DTMF tones are
> actually sent out to a ZAP channel? I've been looking for a day or two,
> & I seem to be going in circles.
>
> Thanks,
> Glen
>
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list