[asterisk-users] Diva Server, chan_capi and tone detection

Armin Schindler armin at melware.de
Thu Nov 23 02:23:38 MST 2006


On Thu, 23 Nov 2006, Gregory Duchatelet wrote:
> > 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 ?

Yes.
 
> 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...

I didn't have a closer look into the values and commands yet, but basically 
that should be right.
 
> > 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 ...

That would mean to add for each of these signals an "if {}" to chan-capi 
source. Not very nice, but will work.

Armin


More information about the asterisk-users mailing list