[asterisk-users] Message waiting question...

Joshua Colp jcolp at digium.com
Thu Jul 27 05:24:34 MST 2006


----- Original Message -----
From: Jean-Yves Avenard
[mailto:jyavenard at gmail.com]
To: Asterisk Users Mailing List -
Non-Commercial Discussion [mailto:asterisk-users at lists.digium.com]
Sent:
Thu, 27 Jul 2006 02:07:56 -0300
Subject: Re: [asterisk-users] Message
waiting question...


> Hi
> 
> 
> On 7/27/06, Joshua Colp <jcolp at digium.com> wrote:
> > chan_sip requests the count fairly frequently, dunno how much traffic it
> would actually generate though.
> 
> Well I took the very easy route.
> 
> Every minute I do a rsync between server2 and server1 of the INBOX
> directory I want to check. I also only transfer the .txt file so it
> never needs to transfer more than 500 bytes max every minute. Having
> just the .txt file is sufficient for Asterisk to tell the SPA3000 that
> there's a message waiting.
> 
> And best of all: it works :)

As long as it works - that's great!

> As a side question, is there a way to force asterisk to set specific
> group permission on the file generated for the voicemail? I found some
> patches for earlier version of Asterisk and at one stage that it made
> its way into asterisk trunk.... I can't find any documentation about
> how to configure it though.

I don't believe there's anything configurable but if you open app_voicemail.c there's two declarations, VOICEMAIL_DIR_MODE and VOICEMAIL_FILE_MODE which set the permissions. DIR mode is at 0770 right now and FILE mode is at 0660.

> Thanks
> JY

Joshua Colp
Digium



More information about the asterisk-users mailing list