Gregory Duchatelet
2006-Nov-21 08:14 UTC
[asterisk-users] Diva Server, chan_capi and tone detection
Hi all, I have a Diva Server V-BRI-2 card, which support, as written in reference guide: Extended tone processing (human talker detection, generation and detection of country-specific tones) I would like to detect human speech and fax tone with asterisk. I think that the diva card transmit a DTMF code when detecting voice, but chan_capi doesn't receive this DTMF code. I verbose it more, displaying all DTMF received, and only DTMF code "CNG" is received. Did you know how I can enable this detection (see DivaReportTones in Diva Server SDK) or how can I receive this DTMF in chan_capi ? Thanks Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061121/44b62860/attachment.htm
Gregory Duchatelet
2006-Nov-22 01:36 UTC
[asterisk-users] Diva Server, chan_capi and tone detection
Hi all, I have a Diva Server V-BRI-2 card, which support, as written in reference guide: Extended tone processing (human talker detection, generation and detection of country-specific tones) I would like to detect human speech and fax tone with asterisk. I think that the diva card transmit a DTMF code when detecting voice, but chan_capi doesn't receive this DTMF code. I verbose it more, displaying all DTMF received, and only DTMF code "CNG" is received. Did you know how I can enable this detection (see DivaReportTones in Diva Server SDK) or how can I receive this DTMF in chan_capi ? Thanks Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061122/f03e3e9e/attachment.htm
Armin Schindler
2006-Nov-22 13:13 UTC
[asterisk-users] Diva Server, chan_capi and tone detection
On Tue, 21 Nov 2006, Gregory Duchatelet wrote:> Hi all, > > > > I have a Diva Server V-BRI-2 card, which support, as written in reference > guide: > > Extended tone processing (human talker detection, generation and detection > of country-specific tones) > > > > I would like to detect human speech and fax tone with asterisk. I think that > the diva card transmit a DTMF code when detecting voice, but chan_capi > doesn't receive this DTMF code. I verbose it more, displaying all DTMF > received, and only DTMF code "CNG" is received. > > > > Did you know how I can enable this detection (see DivaReportTones in Diva > Server SDK) or how can I receive this DTMF in chan_capi ?This would require a change in chan-capi. To get the extended tone detection indications, additional request/parameter via CAPI must be issued. Another thing is, how do you want to get these indications for use in your dialplan? Armin
Gregory Duchatelet
2006-Nov-23 02:11 UTC
[asterisk-users] Diva Server, chan_capi and tone detection
> This would require a change in chan-capi. To get the extended tone > detection > indications, additional request/parameter via CAPI must be issued.First, thanks for your reply. Do you have the CxDtmf.pdf document, from Eicon ? If I understand good, you have to enable DTMF facilities 248, 249 and 250, and then you receive DTMF code for tone detection : 0x81 for unidentified ton detected 0x80 for end of signal detected 0xC9 for human speech detected Etc...> Another thing is, how do you want to get these indications for use in > your dialplan?So, with DTMF code, you could handle it like for fax : redirect to extension "vad" or something ... Greg