Thanks TC! I owe you a cookie. Since you seem to be Mr. Knowledgeable, I have a follow up question for you.
I've attempted to place debugging statements in both the zt_digit & do_senddigit functions, but nothing is reported in the asterisk CLI or log files. I've used: ast_verbose( VERBOSE_PREFIX_3 "senddigit"); ast_log(LOG_DEBUG, "senddigit"); Is there another requirement for debugging in these low level functions? Thanks, Glen On Tue, 2004-07-13 at 18:10, TC wrote: > 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 _______________________________________________ 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
