[Asterisk-Users] Voicemail Directory

Daniel Poulsen dpoulsen at gmail.com
Mon Sep 20 13:06:18 MST 2004


Ahhhh.. it has to be listed in extensions.conf as well?  I thought
just having it in voicemail.conf would be enough for it to find the
mailbox.  Thank you very much!  I knew it was something easy.


On Mon, 20 Sep 2004 14:53:41 -0500, Matthew Boehm <mboehm at cytelcom.com> wrote:
> Is extension 6102 listed in your extenstions.conf file under the
> [CompanyName] context?
> 
> Matthew
> 
> 
> ----- Original Message -----
> From: "Daniel Poulsen" <dpoulsen at gmail.com>
> To: <asterisk-users at lists.digium.com>
> Sent: Monday, September 20, 2004 2:11 PM
> Subject: [Asterisk-Users] Voicemail Directory
> 
> > Hi All-
> >
> > I am running into a small problem trying to implement voicemail
> > Directory().  I'm sure it is a simple thing, but I can't figure out
> > where the problem lies.
> >
> > I can get into the directory without a problem and can look up users
> > by their last names, however I hit a snag when asterisk says "if this
> > is the person you are looking for press 1 now".  When I hit 1, the
> > attendant comes back with "there are no more compatible entries in the
> > directory."  I'm not sure why.
> >
> > The logs show this:
> >
> >     -- Executing Answer("SIP/66.207.32.30-40700600", "") in new stack
> >     -- Executing Goto("SIP/66.207.32.30-40700600", "CompanyName|s|1")
> > in new stack
> >     -- Goto (Company,s,1)
> >     -- Executing Answer("SIP/66.207.32.30-40700600", "") in new stack
> >     -- Executing DigitTimeout("SIP/66.207.32.30-40700600", "3") in new
> stack
> >     -- Set Digit Timeout to 3
> >     -- Executing ResponseTimeout("SIP/66.207.32.30-40700600", "3") in new
> stack
> >     -- Set Response Timeout to 3
> >     -- Executing BackGround("SIP/66.207.32.30-40700600",
> > "greetings/ecs-greet") in new stack
> >     -- Playing 'greetings/ecs-greet' (language 'en')
> >   == CDR updated on SIP/66.207.32.30-40700600
> >     -- Executing Directory("SIP/66.207.32.30-40700600", "CompanyName")
> > in new stack
> >   == Parsing '/etc/asterisk/voicemail.conf': Found
> >     -- Playing 'dir-intro' (language 'en')
> >     -- Playing '/var/spool/asterisk/voicemail/CompanyName/6102/greet'
> > (language 'en')
> >     -- Playing 'dir-instr' (language 'en')
> > Sep 20 14:01:30 WARNING[118801]: app_directory.c:184
> > play_mailbox_owner: Can't find extension '6102' in context
> > 'CompanyName'.  Did you pass the wrong context to Directory?
> >     -- Playing 'dir-nomore' (language 'en')
> > Sep 20 14:01:33 WARNING[118801]: file.c:548 ast_readaudio_callback:
> > Failed to write frame
> >   == Spawn extension (CompanyName, 2, 1) exited non-zero on
> > 'SIP/66.207.32.30-40700600'
> >
> > This indicates that I am passing the wrong context to Directory,
> > however I am able to do mailbox lookups.  It is just when i try to say
> > 'yes this is the mailbox I want' that I have a problem.
> >
> > Any pointers are greatly appreciated.
> >
> > Thank you for your time.
> >
> > Dan Poulsen
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
>



More information about the asterisk-users mailing list