[Home]

Summary:ASTERISK-09324: Read() stops dial plan when file not found
Reporter:Douglas Garstang (dgarstang)Labels:
Date Opened:2007-04-26 16:20:27Date Closed:2011-06-07 14:02:56
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_read
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The read application will cause execution of the dial plan to stop when it cannot find a file to play. This is bad. Both Playback() and Background() do not do this.

[Apr 26 17:20:12] VERBOSE[14611] logger.c:     -- Executing [s@macro-VMDepositIntro:5] Read("SIP/xx.yy.69.210-009c3f40", "Key|/usr/local/vm/539/2-greet|1|n|1|1") in new stack
[Apr 26 17:20:12] VERBOSE[14611] logger.c:     -- Accepting a maximum of 1 digits.
[Apr 26 17:20:12] WARNING[14611] file.c: File /usr/local/vm/539/2-greet does not exist in any format
[Apr 26 17:20:12] WARNING[14611] file.c: Unable to open /usr/local/vm/539/2-greet (format 0x4 (ulaw)): No such file or directory
[Apr 26 17:20:12] VERBOSE[14611] logger.c:     -- User disconnected
[Apr 26 17:20:12] VERBOSE[14611] logger.c:   == Spawn extension (macro-VMDepositIntro, s, 5) exited non-zero on 'SIP/xx.yy.69.210-009c3f40' in macro 'VMDepositIntro'
[Apr 26 17:20:12] VERBOSE[14611] logger.c:   == Spawn extension (macro-VMDepositIntro, s, 5) exited non-zero on 'SIP/xx.yy.69.210-009c3f40' in macro 'VMDepositStart'
[Apr 26 17:20:12] VERBOSE[14611] logger.c:   == Spawn extension (macro-VMDepositIntro, s, 5) exited non-zero on 'SIP/xx.yy.69.210-009c3f40' in macro 'leave-voicemail'
[Apr 26 17:20:12] VERBOSE[14611] logger.c:   == Spawn extension (macro-VMDepositIntro, s, 5) exited non-zero on 'SIP/xx.yy.69.210-009c3f40'

Comments:By: Tilghman Lesher (tilghman) 2007-04-26 16:58:13

What part of "Read should disconnect if the function fails or errors out." do you not understand?