Doug Garstang
2007-Apr-26 10:44 UTC
[asterisk-users] App Read() kills call when file doesn't exist
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@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.
Steve Murphy
2007-Apr-26 12:09 UTC
[asterisk-users] App Read() kills call when file doesn't exist
On Thu, 2007-04-26 at 10:44 -0700, Doug Garstang wrote:> 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@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?IMHO, probably not! Can you file a bug? Otherwise, we'll all forget, and it'll never get fixed. If nobody else gets to it, I will, when the CDR's calm down. murf> > Doug.-- Steve Murphy Software Developer Digium -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3227 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070426/b8eb944d/smime.bin