[Asterisk-Users] Directory App (Possible bug or undocumented feature)

Glenn Dalgliesh asterisk at techhat.com
Wed Mar 17 10:31:47 MST 2004


Can anyone verify this?

I have 2 voicemail context and when using the Directory app I seeing odd
results.
If I spesify the context as (default) I can only access default context
users as expected and it uses default extension.conf context to dial
If I specify the context as (group1) I can access that voicemail.conf users
in that context but if a duplicate mailbox number exists in default context
of voicemail.conf it will use that greeting and not group1 use greeting.

So, below if you dial 411 then select user1(501) you will hear greeting from
usera(501)

Also, in the show application Directory and other docs is seems that to be
very vague about context meaning for this app. according to my results it
appear for the most part to be both extensions and voicemail context. This
might need to be clarified a little more.

Thanks

Asterisk CVS-03/17/04-11:25:09 built by root at pbx1 on a i686 running Linux
(stable tree downloaded today)

extensions.conf
[group1]
include => default

[default]
Exten => 598,1,Directory(default)
Exten => 411,1,Directory(group1)
Exten => _5XX,1,Macro(stdexten,${EXTEN})

voicemail.conf
[default]
501 => 501,usera,usera at cccc.net,attach=yes

[group1]
500 => 500,Reception,,attach=no
501 => 501,user1,user1 at xxxxx.net,attach=yes
502 => 502,user2,user2 at xxxx.net,attach=no




More information about the asterisk-users mailing list