Hello,
We use MixMonitor() to record the voice of the calling. Our experience that sometimes the called partner’s voice is missing in the recorded dialogue. It’s important to mention that just somtimes, not always. About average 3 or 4 out 10.
We found huge amount of the next lines in the debug log alternately:
…
[Nov 16 14:51:00] DEBUG[324010][C-000000cc] audiohook.c: Failed to get 160 samples from read factory 0x7f43e4019868
[Nov 16 14:51:00] DEBUG[324010][C-000000cc] audiohook.c: Read factory 0x7f43e4019868 and write factory 0x7f43e401a2a8 both fail to provide 160 samples
[Nov 16 14:51:00] DEBUG[324010][C-000000cc] audiohook.c: Failed to get 160 samples from read factory 0x7f43e4019868
[Nov 16 14:51:00] DEBUG[324010][C-000000cc] audiohook.c: Read factory 0x7f43e4019868 and write factory 0x7f43e401a2a8 both fail to provide 160 samples
[Nov 16 14:51:00] DEBUG[324010][C-000000cc] audiohook.c: Failed to get 160 samples from read factory 0x7f43e4019868
[Nov 16 14:51:00] DEBUG[324010][C-000000cc] audiohook.c: Read factory 0x7f43e4019868 and write factory 0x7f43e401a2a8 both fail to provide 160 samples
[Nov 16 14:51:00] DEBUG[324010][C-000000cc] audiohook.c: Failed to get 160 samples from read factory 0x7f43e4019868
[Nov 16 14:51:00] DEBUG[324010][C-000000cc] audiohook.c: Read factory 0x7f43e4019868 and write factory 0x7f43e401a2a8 both fail to provide 160 samples
[Nov 16 14:51:00] DEBUG[324010][C-000000cc] audiohook.c: Failed to get 160 samples from read factory 0x7f43e4019868
…
In that cases where both sides are able to be heard in the recording (there is no problem), also the next lines appear among the previous lines. But only if no errors. If the recording is failed these lines aren’t in the debug logs.
…
[Nov 16 14:51:59] DEBUG[324065][C-000000cd] audiohook.c: Write factory 0x7f4408021068 was pretty quick last time, waiting for them.
[Nov 16 14:51:59] DEBUG[324065][C-000000cd] audiohook.c: Read factory 0x7f4408020628 and write factory 0x7f4408021068 both fail to provide 160 samples
[Nov 16 14:51:59] DEBUG[324065][C-000000cd] audiohook.c: Read factory 0x7f4408020628 and write factory 0x7f4408021068 both fail to provide 160 samples
[Nov 16 14:51:59] DEBUG[324065][C-000000cd] audiohook.c: Write factory 0x7f4408021068 was pretty quick last time, waiting for them.
[Nov 16 14:51:59] DEBUG[324065][C-000000cd] audiohook.c: Read factory 0x7f4408020628 and write factory 0x7f4408021068 both fail to provide 160 samples
[Nov 16 14:51:59] DEBUG[324065][C-000000cd] audiohook.c: Read factory 0x7f4408020628 and write factory 0x7f4408021068 both fail to provide 160 samples
[Nov 16 14:51:59] DEBUG[324065][C-000000cd] audiohook.c: Write factory 0x7f4408021068 was pretty quick last time, waiting for them.
…
My questions are that:
- these log lines could be referred to the problem?
- if yes, what could cause the error?
Some more additional information. We have setup the Monitor() besides the MixMonitor(). They were working simultaneously in the same time. But we never experienced the problem with the recording saved by the Monitor(). We had done many tests, and when the MixMonitor() made mistake, the Monitor() never did it.
We have no performance issue (we have checked it), but we have no idea regarding the error. Any help or idea would be appreciated.
Asterisk version is 18.10.0.
Thanks,
d.a.