Summary: | ASTERISK-27941: more than required parameters in asterisk application Record is working weirdly | ||
Reporter: | Mohit Dhiman (mohitdhiman) | Labels: | |
Date Opened: | 2018-06-25 06:08:51 | Date Closed: | 2020-01-10 15:29:04.000-0600 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Applications/app_record |
Versions: | 13.16.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | centos 7 | Attachments: | |
Description: | when i am passing the required 4 parameters in the Record application then it is working fine but if i add an extra blank parameter in the middle then it is working a little weirdly.
all i want to know is how an application is working at all when passed an extra parameter. 4 parameters. exten => 101,1,Record(/home/centos/104.wav,5,300,k) here it works fine. 5 parametes. exten => 101,1,Record(/home/centos/104.wav,,5,300,k) logs on asterisk console: -- Executing [101@101:1] Record("SIP/101-00000004", "/home/centos/104.wav,,5,300,k") in new stack > 0x7fcd2400b4d0 -- Probation passed - setting RTP source address to 10.10.10.214:8000 [Jun 25 15:30:32] WARNING[17528][C-00000004]: file.c:774 ast_openstream_full: File k does not exist in any format [Jun 25 15:30:32] WARNING[17528][C-00000004]: file.c:1247 ast_streamfile: Unable to open k (format (alaw)): No such file or directory [Jun 25 15:30:32] WARNING[17528][C-00000004]: app_record.c:341 record_exec: ast_streamfile(k) failed on SIP/101-00000004 -- <SIP/101-00000004> Playing 'beep.gsm' (language 'en') | ||
Comments: | By: Asterisk Team (asteriskteam) 2018-06-25 06:08:52.711-0500 We appreciate the difficulties you are facing, however information request type issues would be better served in a different forum. The Asterisk community provides support over IRC, mailing lists, and forums as described at http://asterisk.org/community. The Asterisk issue tracker is used specifically to track issues concerning bugs and documentation errors. If this issue is actually a bug please use the Bug issue type instead. Please see the Asterisk Issue Guidelines [1] for instruction on the intended use of the Asterisk issue tracker. Thanks! [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines By: Asterisk Team (asteriskteam) 2018-06-25 06:08:53.293-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. |