[asterisk-bugs] [JIRA] (ASTERISK-21814) "/" in TOUCH_MIXMONITOR is replaced by "-"

Michael L. Young (JIRA) noreply at issues.asterisk.org
Sat May 25 21:24:03 CDT 2013


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

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

Well, I guess the question is, whether it is documented that it is supposed to allow a path name?

Anyways, it looks like the intent was to create a quick, simple, on demand recording using automatic settings.  Hence, using default paths and filenames.  TOUCH_MONITOR allows a bit of customization but not complete control over the filename and the path.

Something I would check into in order to do what you want is perhaps using MixMonitor as a dynamic feature.  I am thinking that it would allow you to set the filename with the path you want and still have your on demand recording.
                
> "/" in TOUCH_MIXMONITOR is replaced by "-"
> ------------------------------------------
>
>                 Key: ASTERISK-21814
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21814
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 1.8.20.1
>            Reporter: Alex Epshteyn
>
> specifying a full path for TOUCH_MIXMONITOR or TOUCH_MONITOR results in recorded file with "/" replaced by "-"
> code in features.c shows this:
>  2278     for( x = 0; x < strlen(args); x++) {
>    2279         if (args[x] == '/')
>    2280             args[x] = '-';
>    2281     }
> Is this intentional? 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list