|Summary:||ASTERISK-12297: Chanspy crashes when spying on a channel|
|Reporter:||Alex Richardson (alexrch)||Labels:|
|Date Opened:||2008-07-02 03:48:29||Date Closed:||2008-07-02 05:34:41|
|Environment:||Attachments:||( 0) bt.txt|
( 1) btfull.txt
|Description:||Chanspy crashes when spying on a channel. I believe that it crashes on line: |
res = ast_waitfordigit(chan, waitms);
static int chanspy_exec(struct ast_channel *chan, void *data)
Please see the backtrace for further info.
****** ADDITIONAL INFORMATION ******
This problem usually occurs once per several hundred calls, but you can modify the source code of Chanspy to make it reproduce in first couple of seconds after you start to spy on a channel by changing the following in the app_chanspy.c:
waitms = count ? 100 : 5000;
waitms = count ? 1 : 1;
|Comments:||By: Alex Richardson (alexrch) 2008-07-02 03:53:16|
Sorry, forgot to tell the version: Asterisk 1.2.9.
Hopefully, this bug tracker is still the valid place to search for solutions for crashes in older Asterisk versions :-).
By: Sean Bright (seanbright) 2008-07-02 05:34:37
Unfortunately, it's not. Asterisk 1.2 is no longer supported except for security fixes.