Summary:ASTERISK-04087: Sound using Monitor(), No Sound Using One Touch Record
Reporter:drmac (drmac)Labels:
Date Opened:2005-05-05 17:51:02Date Closed:2011-06-07 14:10:18
Versions:Frequency of
Description:RE: bug ASTERISK-3200

OTR has been a BIG selling point with many of our clients.
I tried to use it and I'm not hearing any sound.

The files get created and then muxed together fine..no errors.

When I play the files in Audacity, the duration of the audio is correct, but there is no audio. Flat line.

So I tried this with Monitor(), because res_monitor just does a pbx-exec on Monitor(). Using the default format (WAV), Monitor showed the same behavior as OTR.

I then changed Monitor() to use wav49. Interestingly enough, I now hear sound.

So I changed res_monitor.c to use wav49. Recompiled. Restarted. But this time, still no sound.

What do you guys need from me to help fix this?

Test calls where PRI -> Asterisk -> Cisco 7960
Comments:By: drmac (drmac) 2005-05-05 23:40:13

Upgraded to sox 12.17.7 and this problem seems to have fixed itself. I just did an OTR using WAV49 and the merged sound file sounded fine. Maby needs to be noted somewhere that sox 12.17.7 is required?

When doing it manually, soxmix did give this error:

[root@asterisk tmp]# soxmix \
/var/spool/asterisk/monitor/auto-1115351236-2815692720-5126800411-in.wav \
/var/spool/asterisk/monitor/auto-1115351236-2815692720-5126800411-out.wav \

soxmix: Overriding output size to bytes for compressed data.
soxmix: invalid wav gsm frame size: 1 bytes

By: Mark Spencer (markster) 2005-05-08 13:14:08

we'd have to know which version caused the issue.  Since this is not a widespread problem, I'm not sure how big a deal it is, but if you want to figure out which versions are bad and reopen the bug with a documentation patch I'll be happy to put it in.  Thanks!