[Asterisk-Users] mailbox= wrong context. was: Newbie - MWI
Olle E. Johansson
oej at edvina.net
Mon Jan 5 10:12:20 MST 2004
Andrew Thompson wrote:
>
> Hmm... I was trying to seperate the mailbox= definition from the context
> specifically named "default". IMHO, the implied(i.e. default) context for a
> mailbox should be the context that's indicated for the device.
>
> Take the below grossly simplified sip definition:
>
> [sipphone1]
> type=friend
> host=dynamic
> context=not_the_default
> username=sipphone1
>
> The context for this device is "not_the_default". Now, If I assign a
> voicemail MWI to it, like this:
>
> mailbox=1234
>
> * currently looks for this extension in the "default" context. I believe
> this is incorrect. The "default" context should have been overridden by
> "not_the_default" that's already been defined for that device.
I think it makes sense to default the mailbox context to the peers context.
/O
More information about the asterisk-users
mailing list