[asterisk-users] RESEND: Mixmonitor command parameter problem on Asterisk 1.8.4

Danny Nicholas danny at debsinc.com
Wed Sep 21 08:19:45 CDT 2011


Put your "longer command" into a bash AGI and/or use SOX instead of MM.

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ikka - Mitra
Kreasindo
Sent: Tuesday, September 20, 2011 7:53 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] RESEND: Mixmonitor command parameter problem on
Asterisk 1.8.4

 

Is anyone can help me with this ? I'm really desperate.

 

Thx in ad.

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ikka - Mitra
Kreasindo
Sent: Wednesday, September 14, 2011 5:02 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] Mixmonitor command parameter problem on Asterisk
1.8.4

 

Dear all.

 

I'm using MixMonitor command in my dialplan, and I used the "command"
parameter to execute some thing after recording the file.

 

I used the command parameter to convert the wav file that created earlier to
MP3 and than deleted the WAV file.

 

It worked fine with asterisk 1.4.21.2. and 1.6x

But than I have a new asterisk server with asterisk 1.8.4. The command
parameter doesn't work. It's trimed for about 297 character only. The rest
was gone. 

 

This is part of the log with Asterisk 1.4.21.2

 

  -- Executing [08129981925 at speedy:7] MixMonitor("SIP/10001-b7d71bd0",
"/var/spool/asterisk/recording/speedy/2011/09/14/-08129981925-Ikka_Testing-1
0001-20110914-163803.wav|bW(2)|/usr/bin/lame
"/var/spool/asterisk/recording/speedy/2011/09/14/-08129981925-Ikka_Testing-1
0001-20110914-163803.wav"
"/var/spool/asterisk/recording/speedy/2011/09/14/-08129981925-Ikka_Testing-1
0001-20110914-163803.mp3" -b 16 -s 9.6 -m m --bitwidth 8 --lowpass 9.6
--resample 8 --lowpass-width 1 && rm -f
"/var/spool/asterisk/recording/speedy/2011/09/14/-08129981925-Ikka_Testing-1
0001-20110914-163803.wav"") in new stack

 

This is part of the log with Asterisk 1.8.4

 

  -- Executing [08129981925 at speedy:7] MixMonitor("SIP/10001-0000001a",
"/var/spool/asterisk/recording/speedy/2011/09/14/ACCOUNT-08129981925-Admin_I
T-10001-20110914-165248.wav,bW(2),/usr/bin/lame
"/var/spool/asterisk/recording/speedy/2011/09/14/ACCOUNT-08129981925-Admin_I
T-10001-20110914-165248.wav" "/var/spool/asterisk") in new stack

 

 

As you can see, with 1.8.4 the command paramater is trimed. 

 

Is there some changes / bug with MixMonitor in Asterisk 1.8.4 ? Is there a
quick workaround for this problem ? 

 

Please help

 

Thx

 

 

Ikka Vertika

Jakarta -Indonesia

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110921/9431f68c/attachment.htm>


More information about the asterisk-users mailing list