Summary: | ASTERISK-07193: MixMonitor displays the contents of a buffer that seem to have been freed already, or that was never initialized | ||
Reporter: | Daniel Lynes (dlynes) | Labels: | |
Date Opened: | 2006-06-17 02:30:21 | Date Closed: | 2006-06-28 11:08:32 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_mixmonitor |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Log of asterisk: -- Starting simple switch on 'Zap/1-1' -- Executing NoOp("Zap/1-1", "Line 1") in new stack -- Executing Wait("Zap/1-1", "2") in new stack -- Executing Answer("Zap/1-1", "") in new stack -- Executing NoOp("Zap/1-1", "6047283777: ") in new stack -- Executing Wait("Zap/1-1", "2") in new stack -- Executing MixMonitor("Zap/1-1", "test") in new stack -- Executing Hangup("Zap/1-1", "") in new stack == Spawn extension (line1_in, s, 7) exited non-zero on 'Zap/1-1' -- Hungup 'Zap/1-1' == Begin MixMonitor Recording °Xxï·n** mbmi-pbx*CLI> quit root@mbmi-pbx:/usr/local/src/zaptel-1.2.6# asterisk -r Asterisk 1.2.9.1, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'show license' for details. ========================================================================= Connected to Asterisk 1.2.9.1 currently running on mbmi-pbx (pid = 2245) Verbosity is at least 3 -- Starting simple switch on 'Zap/1-1' -- Executing NoOp("Zap/1-1", "Line 1") in new stack -- Executing Wait("Zap/1-1", "2") in new stack -- Executing Answer("Zap/1-1", "") in new stack -- Executing NoOp("Zap/1-1", "6047283777: ") in new stack -- Executing Wait("Zap/1-1", "2") in new stack -- Executing MixMonitor("Zap/1-1", "test") in new stack -- Executing Hangup("Zap/1-1", "") in new stack == Spawn extension (line1_in, s, 7) exited non-zero on 'Zap/1-1' -- Hungup 'Zap/1-1' == Begin MixMonitor Recording Xxï·n** mbmi-pbx*CLI> Sample extensions.conf and zapata.conf to try the behaviour: extensions.conf =============== [general] [line1_in] exten => s,1,Noop(Line 1) exten => s,n,Wait(2) exten => s,n,Answer exten => s,n,Noop(${CALLERID(num)}: ${CALLERID(name)}) exten => s,n,Wait(2) exten => s,n,MixMonitor(test) exten => s,n,Hangup [line2_in] exten => s,1,Noop(Line 2) exten => s,n,Wait(2) exten => s,n,Answer exten => s,n,Noop(${CALLERID(num)}: ${CALLERID(name)}) exten => s,n,Wait(2) exten => s,n,MixMonitor(test) exten => s,n,Hangup [line3_in] exten => s,1,Noop(Line 3) exten => s,n,Wait(2) exten => s,n,Answer exten => s,n,Wait(2) exten => s,n,Noop(${CALLERID(num)}: ${CALLERID(name)}) exten => s,n,MixMonitor(test) exten => s,n,Hangup [line4_in] exten => s,1,Noop(Line 4) exten => s,n,Wait(2) exten => s,n,Answer exten => s,n,Noop(${CALLERID(num)}: ${CALLERID(name)}) exten => s,n,Wait(2) exten => s,n,MixMonitor(test) exten => s,n,Hangup zapata.conf =========== [channels] language=en usecallerid=yes hidecallerid=no callwaiting=no usecallingpres=yes echocancel=yes rxgain=4.0 txgain=4.0 immediate=no hanguponpolarityswitch=yes signalling=fxs_ks group=1 context=line1_in channel=1 context=line2_in channel=2 context=line3_in channel=3 context=line4_in channel=4 As you can see from the log file, the problem is reproducable. ****** STEPS TO REPRODUCE ****** Just use the configuration files above, and dial into the first line. The number I was dialing from was a cell phone, so phone number will be part of caller ID, but name is not. | ||
Comments: | By: Joshua C. Colp (jcolp) 2006-06-19 09:08:47 Please try the 1.2 branch, there has been a major change to MixMonitor that should solve this. By: Serge Vecher (serge-v) 2006-06-28 11:08:32 please feel free to reopen if this was not fixed in latest 1.2 stable. Thanks. |