Summary:ASTERISK-02190: bug in dsp.c with silence detection
Reporter:hex (hex)Labels:
Date Opened:2004-08-05 01:11:11Date Closed:2008-01-15 15:04:55.000-0600
Versions:Frequency of
Description:WARNING[1234379840]: dsp.c:1398 ast_dsp_silence: Can only calculate silence on signed-linear frames :(
Asterisk does this when trying to run BackgroundDetect from a Zap channel (T1 card).

Asterisk CVS-HEAD-07/30/04-14:33:43 built by root@pbx on a i686 running Linux
Comments:By: Mark Spencer (markster) 2004-08-05 18:19:13

What sorts of things are unusual about your arrangement?  What signalling is running on the T1 channel (FXS/FXO/PRI?)

By: hex (hex) 2004-08-05 19:22:49

The error occurs from a FXS channelbank with some phones hanging off of it using fxo_ks signalling.  When calling in to it via PRI it does work fine.

By: Mark Spencer (markster) 2004-08-06 01:19:29

Can you please supply your entries in your dialplan?

By: hex (hex) 2004-08-06 01:53:39

For my internal extension to test it:

exten => 52,1,BackgroundDetect(testfile)

exten => talk,1,Background(testfile)

This obviously just makes it restart the playback when an answering machine or whatever is detected which I assume is the original intention of the application.  The dialplan extension on the PRI is identical but a different number for the DID.

By: Mark Spencer (markster) 2004-08-07 15:48:33

I can't duplicate this problem.  I will likely need to login to your box.

By: Mark Spencer (markster) 2004-08-07 19:57:07

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 15:04:55.000-0600

Repository: asterisk
Revision: 3594

U   trunk/apps/app_talkdetect.c

r3594 | markster | 2008-01-15 15:04:54 -0600 (Tue, 15 Jan 2008) | 2 lines

Only consider linear frames for talk detection -- ignore anything else (bug ASTERISK-2190)