Summary:ASTERISK-09031: ChanSpy() stops working when spied channel starts Record()
Reporter:onglipo (onglipo)Labels:
Date Opened:2007-03-16 11:56:06Date Closed:2011-06-07 14:08:17
Versions:Frequency of
Environment:Attachments:( 0) chanspy-record-problem-simulation.txt
( 1) chanspy-record-problme-simulation.txt
Description:We have a set up where an incoming vonage call lands, an intro query is Play()ed and the answer is captured with Record(tst:gsm,3,30).

I also have an internal extension where an iax phone dials into, as soon as the Vonage call lands, and spies on the Vonage call, using ChanSpy().

I can hear the vonage call on the iax phone through ChanSpy till the start of Record(). As soon as Record starts, ChanSpy audio gets cutout - pure Silence. The debug log has :
channel.c: Spy 'ChanSpy' on channel 'SIP/1XXXX-08cea3e0' read queue too
long, dropping frames

ChanSpy audio is back to normal when Record() finishes.


This is a test setup on a Linux 2.6.17-1.2142_FC4 with std. Intel hardware - just the 2 calls (internal iax, external vonage) being processed by asterisk.
Comments:By: Serge Vecher (serge-v) 2007-03-16 12:04:36

please retry with a more recent revision of a trunk

By: onglipo (onglipo) 2007-03-19 02:55:41

serge-v : problem persists with SVN-trunk-r59038. Tested today. Attached txt file has details on how to simulate. Check the second file: chanspy-record-problem-simulation.txt

By: Joshua C. Colp (jcolp) 2007-03-19 11:19:04



To the options section in /etc/asterisk/asterisk.conf

This should allow ChanSpy to operate normally under this situation.

By: onglipo (onglipo) 2007-03-19 22:55:58

Thanks a lot folks for the help - That works.

By: Joshua C. Colp (jcolp) 2007-03-19 23:07:26

Great! I'm closing this out then.