Quantcast
Channel: IP-Phone-Forum
Viewing all articles
Browse latest Browse all 15636

How to measure audio delay between two Asterisk channels?

$
0
0
I have the following Setup: A Centos machine with asterisk running that is connected to a Router via Ethernet. The Router answers the calls from my asterisk console and is itself again connected to my Centos machine via analogue RJ11 cable and a Digium PCI Card. (all for testing purposes of the router and running fine) So I call and pick up the call at the same machine.

How can I now measure the delay between the audio of both channels? I already tried to use the Monitor() function and evaluate delay signal based with cross correlation, but it seems like the Monitor function is not an accurate tool for recording at a precise time. (It doesn't start recording when I start the Playback() of my testfile. I use the Monitor(wav,CallRecord,b) function, that starts Recording when Call is established, then Playback() after Answering the Call)

Is there another possibility to get the delay between caller and callee?

Thanks

Viewing all articles
Browse latest Browse all 15636


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>