[asterisk-users] App Read() kills call when file doesn't exist

Doug Garstang dgarstan at talkplus.com
Thu Apr 26 10:44:05 MST 2007


I don't know if this is a recent issue... When the read() application is 
given a file that does not exist, it aborts the ENTIRE dial plan. That 
can't be right. Playback() and Background() don't do this. Couldn't find 
a bug in mantis for it...

[Apr 26 17:20:12] VERBOSE[14611] logger.c:     -- Executing 
[s at 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

(hangup routine called here...)

Is this expected behaviour?

Doug.



More information about the asterisk-users mailing list