ChanSpy “Audiohook Has Stale Audio In Its Factories” Problem

Home » Asterisk Users » ChanSpy “Audiohook Has Stale Audio In Its Factories” Problem
Asterisk Users No Comments

Hello,

We have an issue where using ChanSpy with the ‘B’ option to talk to both parties doesn’t work in some call scenarios (calling out to a T-mobile device). The problem is that the spying party can talk to the called person but not the caller. The Asterisk log in this case records warnings as below, which then continue for the life of the spying call.

Would anyone know the cause of this? We are using Asterisk 11.25.3. Thanks in advance for any advice.

[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] autochan.c: Created autochan
0x152564004ea0 to hold channel SIP/15-xx.yy.122.136-00000c85
(0x15251806fb28)
[Jan 18 15:59:39] NOTICE[39503][C-00000bbd] app_chanspy.c: Attaching SIP/enswitch-local-00000c86 to SIP/15-xx.yy.122.136-00000c85
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Audiohook
0x1525f5d59c58 has stale audio in its factories. Flushing them both
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Audiohook
0x1525f5d5b6b0 has stale audio in its factories. Flushing them both
[Jan 18 15:59:39] DEBUG[38605][C-00000bbc] audiohook.c: Audiohook
0x1525f5d58200 has stale audio in its factories. Flushing them both
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Failed to get 160
samples from write factory 0x1525f5d58ec8
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] res_rtp_asterisk.c: Difference is 888, ms is 131
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Failed to get 160
samples from write factory 0x1525f5d58ec8
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Read factory
0x1525f5d58288 and write factory 0x1525f5d58ec8 both fail to provide 160
samples
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Failed to get 160
samples from write factory 0x1525f5d58ec8
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Failed to get 160
samples from write factory 0x1525f5d58ec8
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Audiohook
0x1525f5d59c58 has stale audio in its factories. Flushing them both
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Failed to get 160
samples from write factory 0x1525f5d58ec8
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Failed to get 160
samples from write factory 0x1525f5d58ec8
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Failed to get 160
samples from write factory 0x1525f5d58ec8
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Failed to get 160
samples from write factory 0x1525f5d58ec8
[Jan 18 15:59:39] DEBUG[39503][C-00000bbd] audiohook.c: Failed to get 160
samples from write factory 0x1525f5d58ec8