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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
_______________________________________________
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to