[asterisk-bugs] [JIRA] (ASTERISK-27941) more than required parameters in asterisk application Record is working weirdly

mohit dhiman (JIRA) noreply at issues.asterisk.org
Mon Jun 25 06:08:54 CDT 2018


mohit dhiman created ASTERISK-27941:
---------------------------------------

             Summary: more than required parameters in asterisk application Record is working weirdly
                 Key: ASTERISK-27941
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27941
             Project: Asterisk
          Issue Type: Information Request
      Security Level: None
          Components: Applications/app_record
    Affects Versions: 13.16.0
         Environment: centos 7
            Reporter: mohit dhiman
            Severity: Minor


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 at 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')




--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list