[asterisk-users] app_voicemail. Help me to find typo source ...

Olivier oza-4h07 at myamail.com
Wed Dec 9 05:32:56 CST 2009


2009/12/9 Tzafrir Cohen <tzafrir.cohen at xorcom.com>

> 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 Call <mydialer:0300000784>
> > '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
>

I'm aware of this patch which is (should be) included in 1.6.2-rc2.
At the time, I also met this bug (I had to add a symbolic link named
vm-recieved to work arount it) but as I was unable to pinpoint root cause
(which module was referring to such vm-recieved file), I didn't get
anywhere.


> 2. in chan_sip.c:
>
>          /* just confirm that we recieved the packet. */
>
> Have you applied any patches?
>

No, I don't think so ... but I installed asterisk-addons afterwards ...
Before that, I also installed spandsp, mISDN, Dahdi-Tools and Dahdi-Linux


>
> Another thing to test: where did the string come from at run-time?
>
>  grep vm-recieved /usr/sbin/asterisk /usr/lib/asterisk/modules/*.so
>

The reply to this command is empty !
"grep vm-received/usr/lib/asterisk/modules/*.so" replies app_voicemail.so.

The machine from which come the earlier mentioned logs, is in production now
and I can't easily change its settings.
Fortunately, I've got its installation script and I'm planning to play it on
another machine to see if I can reproduce this message ...


>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091209/b9e5f5ff/attachment.htm 


More information about the asterisk-users mailing list