[PATCH] Was Re: [Asterisk-Users] Message Waiting and VoiceMail 2

Mark Spencer markster at digium.com
Sun May 25 10:45:53 MST 2003


Fixed, but can't use strtok since it's not reentrant. Please make sure my
fix works for you and confirm off list.

Mark

On 25 May 2003, Brancaleoni Matteo wrote:

> Ok found it. The problem was in app.c , that works ok if
> context=default, but fails if voicemail context != default
>
> (in that case app_has_voicemail searches into
> /var/spool/asterisk/voicemail/<context>/mailbox at context/INBOX
> instead of
> /var/spool/asterisk/voicemail/<context>/mailbox/INBOX
> as is expected to do)
>
> That fixes the message checking issue.
>
> What remains out is vm mysql support, that don't set a context at all...
>
> Il dom, 2003-05-25 alle 15:40, Brancaleoni Matteo ha scritto:
> > Hi again.
> > Just for debug, I noticed that this issue happens when:
> >
> > * vm compiled with mysql support > app.c don't get the context ->
> >   so we fall into default (eg the dir checked is
> >   voicemail/default/<vm num>
> >
> > * any mailbox defined outside the default context into voicemail.conf
> >   So if I specify mailbox=1234 at office , it don't get checked.
> >   If the mailbox is into default, all is ok.
> >
> > So we don't have true mailbox checking virtualhosting ;-)
> >
> > however , I'm trying to understand why the 2nd point don't work...
> >
> > Matteo.
> >
> > Il dom, 2003-05-25 alle 14:59, Brancaleoni Matteo ha scritto:
> > > Hi.
> > > I noticed that if new messages are recorded
> > > with voicemail2 , they're not detected by
> > > the message waiting indicator, so
> > > the mailbox=XXXX param has no effect, and
> > > no message waiting is sent to the phone
> > > (sip & adsi, or stutter dialtone)
> > >
> > > Any hint?
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list