Using Asterisk 1.4.19
I have an IVR and one of the choices is the Directory. When it takes you to the directory you can choose the person you want from the spoken list. When you make a choice by pressing ‘1’ then it says, “There are no more compatible entries in the directory”. So how can I set the directory to actually give an extension or complete the call for the caller?
How do you have voicemail.conf set up ?
[general]
#include vm_general.inc
#include vm_email.inc
[default]
1002 => XXXX,User Two,attach=no|saycid=no|envelope=no|delete=no
1001 => XXXX,User One,userone@verizon.net,attach=yes|saycid=yes|envelope=yes|delete=no
Do you want asterisk to say their extension ? Sorry a bit tired. Also please post your configs for directory in extensions.conf
exten => 4,1,Directory(default,incoming)
Add the options f and e at the end, something like this:
exten => 4,1,Directory(default,incoming,fe)
exten => 4,1,Directory(default,incoming,fe)
Ok, I tried this and it now will say the extension number but it still says there are no more compatible entries in the directory and does not complete the call.
Regards,
Gerry
First of all I don’t speak english very well.
Take a look to the second context on the statement of Directory, let me Ask you a few question??
From that context you can reach and user for the number in the voicemail???
So you must check if there is not a prefix to reach the user, and the voicemail’s number of the user is the same of the user’s extension. Keep in mind that the file that the Directory application read is the voicemail.conf I don’t know if that application look for another file???.
Good luck.
Yes, I can both call and leave voicemail for all the extensions in the Directory list.
Regards,
Gerry
Here is what asterisk is doing:
-- Executing [7777@from-internal:1] Goto("SIP/0001-08a32ea8", "from-pstn|s|1") in new stack
-- Goto (from-pstn,s,1)
-- Executing [s@from-pstn:1] Goto("SIP/0001-08a32ea8", "auto-attendant|s|1") in new stack
-- Goto (auto-attendant,s,1)
-- Executing [s@auto-attendant:1] Answer("SIP/0001-08a32ea8", " ") in new stack
-- Executing [s@auto-attendant:2] Wait("SIP/0001-08a32ea8", "1") in new stack
-- Executing [s@auto-attendant:3] BackGround("SIP/0001-08a32ea8", "welcome") in new stack
-- <SIP/0001-08a32ea8> Playing 'welcome' (language 'en')
-- Executing [s@auto-attendant:4] BackGround("SIP/0001-08a32ea8", "custom/if-u-know-ext-dial") in new stack
-- <SIP/0001-08a32ea8> Playing 'custom/if-u-know-ext-dial' (language 'en')
== CDR updated on SIP/0001-08a32ea8
– Executing [3@auto-attendant:1] Directory(“SIP/0001-08a32ea8”, “default|incoming|fe”) in new stack
== Parsing ‘/etc/asterisk/voicemail.conf’: Found
== Parsing ‘/etc/asterisk/vm_general.inc’: Found
== Parsing ‘/etc/asterisk/vm_email.inc’: Found
– <SIP/0001-08a32ea8> Playing ‘dir-intro-fn’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘letters/g’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘letters/e’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘letters/r’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘letters/r’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘letters/y’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘letters/space’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘letters/r’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘letters/e’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘letters/n’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘letters/o’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘vm-extension’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘digits/1’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘digits/0’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘digits/0’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘digits/1’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘dir-instr’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘dir-instr’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘dir-nomore’ (language ‘en’)
– <SIP/0001-08a32ea8> Playing ‘dir-intro-fn’ (language ‘en’)
== Spawn extension (auto-attendant, 3, 1) exited non-zero on ‘SIP/0001-08a32ea8’
Regards,
Gerry
I don’t understand very well, the problems it’s fixed.
No, not at all. The problem is not fixed. I just wanted to show what Asterisk is doing. It plays the ‘no-more’ message which is the “there are no more compatible entries…” message instead of connecting the call to the callers selection.
Regards,
Gerry
Type the following on the CLI:
“console dial 1001@incoming”
Can you reach the extension ???:?:
Verbosity was 3 and is now 13
grp-01-26-50*CLI> console dial 1001@incoming
No such command ‘console dial’ (type ‘help’ for help)
???
Regards,
Gerry
I don’t know why this command don’t work, normaly with this command you can dial an extension from the CLI, but forget about the command. The problems is if you can reach the extension “1001” from the context “incoming”, just dialling the 1001 without a prefix or something like that???
In your extensions.conf must be something like this:
[incoming]
…
exten=1001,n,Dial(…)
…
Ok, I found there was no [incoming] context anywhere in 1.4.19 so I added it and did:
[incoming]
include => ext-local
…
and now the Directory has started working. Thanks for all your help on solving this.
Regards,
Gerry
Great!!!
Gerry, can you post your config relavant to the directory?? I can’t seem to get mine working?? The system doesn’t even seem to have a directory function?