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

2006-11-23 Thread Gregory Duchatelet
 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

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2006-11-23 Thread Armin Schindler
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
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2006-11-22 Thread Gregory Duchatelet
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

 

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2006-11-22 Thread Armin Schindler
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

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users