[asterisk-bugs] [JIRA] (ASTERISK-24798) MixMon saves to the incorrect filename

Michael L. Young (JIRA) noreply at issues.asterisk.org
Mon Feb 16 20:47:34 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224959#comment-224959 ] 

Michael L. Young commented on ASTERISK-24798:
---------------------------------------------

Your comments lead one to believe that it never behaved this way.  When did it ever act differently?  I am curious about that.

As far as I know, that has always been the behavior.  The extension of the file name sets the format that the audio is to be recorded in.  In this case, you are telling Asterisk to record in MS GSM 6.10 format which uses the extension ".WAV".  The resulting file that is outputted is correct.  So, Asterisk would be working properly unless you can show us where the behavior has changed.

> 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