[asterisk-bugs] [JIRA] (ASTERISK-24798) MixMon saves to the incorrect filename
xrobau (JIRA)
noreply at issues.asterisk.org
Mon Feb 16 15:41:34 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xrobau updated ASTERISK-24798:
------------------------------
Description:
I'm not sure how far back this one goes, but running mixmon with these params:
{code}
MixMonitor("2015/02/17/internal-300-303-20150217-051706-1424114226.982.wav49,ai(LOCAL_MIXMON_ID),/tmp/post.sh")
{code}
Results in the file being SAVED as internal-300-303-20150217-051706-1424114226.982.WAV
Note the different suffix. Mixmon itself seems unaware of this, however, as $\{MIXMONITOR_FILENAME\} reports it correctly:
{code}
Set("SIP/303-00000070", "__REC_FILENAME=/var/spool/asterisk/monitor/2015/02/17/internal-300-303-20150217-051706-1424114226.982.wav49") in new stack
{code}
{code}
[root at localhost callrecording]# ls -al /var/spool/asterisk/monitor/2015/02/17/internal-300-303-20150217-051706-1424114226.982.*
-rw-rw---- 1 asterisk asterisk 3765 Feb 17 05:17 /var/spool/asterisk/monitor/2015/02/17/internal-300-303-20150217-051706-1424114226.982.WAV
[root at localhost callrecording]#
{code}
was:
I'm not sure how far back this one goes, but running mixmon with these params:
{code}
MixMonitor("2015/02/17/internal-300-303-20150217-051706-1424114226.982.wav49,ai(LOCAL_MIXMON_ID),/tmp/post.sh")
{code}
Results in the file being SAVED as internal-300-303-20150217-051706-1424114226.982.WAV
Note the different suffix. Mixmon itself seems unaware of this, however, as ${MIXMONITOR_FILENAME} reports it correctly:
{code}
Set("SIP/303-00000070", "__REC_FILENAME=/var/spool/asterisk/monitor/2015/02/17/internal-300-303-20150217-051706-1424114226.982.wav49") in new stack
{code}
{code}
[root at localhost callrecording]# ls -al /var/spool/asterisk/monitor/2015/02/17/internal-300-303-20150217-051706-1424114226.982.*
-rw-rw---- 1 asterisk asterisk 3765 Feb 17 05:17 /var/spool/asterisk/monitor/2015/02/17/internal-300-303-20150217-051706-1424114226.982.WAV
[root at localhost callrecording]#
{code}
> MixMon saves to the incorrect filename
> --------------------------------------
>
> Key: ASTERISK-24798
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24798
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 13.1.1
> Reporter: xrobau
>
> I'm not sure how far back this one goes, but running mixmon with these params:
> {code}
> MixMonitor("2015/02/17/internal-300-303-20150217-051706-1424114226.982.wav49,ai(LOCAL_MIXMON_ID),/tmp/post.sh")
> {code}
> Results in the file being SAVED as internal-300-303-20150217-051706-1424114226.982.WAV
> Note the different suffix. Mixmon itself seems unaware of this, however, as $\{MIXMONITOR_FILENAME\} reports it correctly:
> {code}
> Set("SIP/303-00000070", "__REC_FILENAME=/var/spool/asterisk/monitor/2015/02/17/internal-300-303-20150217-051706-1424114226.982.wav49") in new stack
> {code}
> {code}
> [root at localhost callrecording]# ls -al /var/spool/asterisk/monitor/2015/02/17/internal-300-303-20150217-051706-1424114226.982.*
> -rw-rw---- 1 asterisk asterisk 3765 Feb 17 05:17 /var/spool/asterisk/monitor/2015/02/17/internal-300-303-20150217-051706-1424114226.982.WAV
> [root at localhost callrecording]#
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list