[Asterisk-Users] Voicemail Directory
Daniel Poulsen
dpoulsen at gmail.com
Mon Sep 20 12:11:44 MST 2004
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
More information about the asterisk-users
mailing list