[Asterisk-Dev] dsp.c beep detection
Stephen Davies
steve at daviesfam.org
Tue May 18 05:51:21 MST 2004
On Tue, 18 May 2004, Navnit Chachan wrote:
> Now all i need to know is the frequency of the frames (average).
> If the frequency is contibuous over a cpl of frames then it is a
> beep. I have been playing around with the ast_dsp_call_progress in
> dsp.c but i am getting lost there.
>
> Is there a way to find out the frequency of the frame.
What I did was to follow the example of the call progress detection -
where you check the amplitude at your desired frequency and compare to
the average signal level etc - you get to decide when your tone is
present.
Steve
More information about the asterisk-dev
mailing list