Olivier
2009-Dec-09 07:54 UTC
[asterisk-users] app_voicemail. Help me to find typo source ...
Hi, In /var/log/asterisk/full (Asterisk 1.6.2-rc6), I can see : [Dec 8 15:02:17] VERBOSE[10283] config.c: == Parsing '/var/spool/asterisk/voicemail/default/103/INBOX/msg0000.txt': [Dec 8 15:02:17] VERBOSE[10283] config.c: == Found [Dec 8 15:02:17] VERBOSE[10283] file.c: -- <SIP/103-00000784> Playing 'vm-message.gsm' (language 'fr') [Dec 8 15:02:18] WARNING[10283] file.c: File vm-recieved does not exist in any format [Dec 8 15:02:18] WARNING[10283] file.c: Unable to open vm-recieved (format 0x8 (alaw)): No such file or directory [Dec 8 15:02:18] WARNING[10283] say.c: Unable to play message vm-recieved Strangely, I can't find any line in *.c files containing such "vm-recieved" string. If I add "ln -s vm-received vm-recieved" in appropriate directory, those error messages disappear. Though I've found a work around, I would be very happy to pin point root cause but I'm a bit lost in the amount of files in Asterisk code. Any hint ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091209/df4cd627/attachment.htm
Tzafrir Cohen
2009-Dec-09 10:36 UTC
[asterisk-users] app_voicemail. Help me to find typo source ...
On Wed, Dec 09, 2009 at 08:54:13AM +0100, Olivier wrote:> Hi, > > In /var/log/asterisk/full (Asterisk 1.6.2-rc6), I can see : > > [Dec 8 15:02:17] VERBOSE[10283] config.c: == Parsing > '/var/spool/asterisk/voicemail/default/103/INBOX/msg0000.txt': [Dec 8 > 15:02:17] VERBOSE[10283] config.c: == Found > [Dec 8 15:02:17] VERBOSE[10283] file.c: -- <SIP/103-00000784> Playing > 'vm-message.gsm' (language 'fr') > [Dec 8 15:02:18] WARNING[10283] file.c: File vm-recieved does not exist in > any format > [Dec 8 15:02:18] WARNING[10283] file.c: Unable to open vm-recieved (format > 0x8 (alaw)): No such file or directory > [Dec 8 15:02:18] WARNING[10283] say.c: Unable to play message vm-recieved > > > Strangely, I can't find any line in *.c files containing such "vm-recieved" > string. > If I add "ln -s vm-received vm-recieved" in appropriate directory, those > error messages disappear. > > Though I've found a work around, I would be very happy to pin point root > cause but I'm a bit lost in the amount of files in Asterisk code.Interesting. Grepping for 'recieve' in 1.6.2.0-rc6 gives only two hits: 1. in the Changelog: 009-07-27 20:33 +0000 [r209234] David Brooks <dbrooks at digium.com> * res/res_jabber.c, main/loader.c, channels/chan_dahdi.c, channels/chan_vpb.cc, res/res_smdi.c, /, include/asterisk/module.h, main/features.c, res/res_agi.c: Merged revisions 209098 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r209098 | dbrooks | 2009-07-27 11:33:50 -0500 (Mon, 27 Jul 2009) | 6 lines Fixing typos. Replaces "recieved" with "received" and "initilize" with "initialize" (closes issue #15571) Reported by: alecdavis 2. in chan_sip.c: /* just confirm that we recieved the packet. */ Have you applied any patches? Another thing to test: where did the string come from at run-time? grep vm-recieved /usr/sbin/asterisk /usr/lib/asterisk/modules/*.so -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir