MayamaTakeshi / sip-lab

A node module that helps to write SIP functional tests
3 stars 2 forks source link

Add support for BFSK generation/detection #108

Closed MayamaTakeshi closed 1 month ago

MayamaTakeshi commented 2 months ago

Currently, we use dtmf to check if audio path was correctly opened after call answer/reinvite. However, occasionally we get wrong dtmf detection like absent digits or duplicated digits. I suspect this happens because we are using in on low powered or overloaded VMs and somehow this negatively impact dtmf detect. So let's implement bfsk support which should be less demanding and see if this improves audio data detection. (obs: currently we have support for bfsk using ws_speech_server but we don't want to depend on it for this kind of test).

MayamaTakeshi commented 1 month ago

Let's convert code from https://github.com/hackergrrl/goertzel/blob/master/index.js to c.