[asterisk-bugs] [JIRA] (ASTERISK-21814) "/" in TOUCH_MIXMONITOR is replaced by "-"
Alex Epshteyn (JIRA)
noreply at issues.asterisk.org
Fri May 24 18:22:03 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-21814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Epshteyn updated ASTERISK-21814:
-------------------------------------
Status: Waiting for Feedback (was: Waiting for Feedback)
The relevant dialplan part looks like this:
Note absolute path (and 2 dashes in the name):
exten => s,n,Set(TOUCH_MONITOR=/tmp/test1)
-rw-r--r--. 1 asterisk asterisk 31390 May 24 15:54 auto-1369436033--tmp-test1-in.WAV
making path relative:
exten => s,n,Set(TOUCH_MONITOR=tmp/test2)
-rw-r--r--. 1 asterisk asterisk 12410 May 24 16:14 auto-1369437274-tmp-test2-out.WAV
In either case file are stored in /var/spool/asterisk/monitor directory. Please ignore -in and -out - irrelevant for the issue
> "/" 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
> Assignee: 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