There are no guarantees that the voicemail will be in the same context as the extension. By giving you the ability and flexibility of defining everything independently, there's not much you can't do! Remember, the context call in the sip.conf refers to the context in extensions.conf. the "johnhome" at the end of the [EMAIL PROTECTED] refers to the context in voicemail.conf. Maybe I'm missing your point, and I apologize if I am.....
Sean -----Original Message----- From: Andrew Thompson [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 7:32 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Newbie - MWI <lots of snips> > > ------------------------------------------------------------- > > ; > > ; liza:/etc/asterisk/sip.conf > > ; > > [general] > > port = 5060 > > bindaddr = 0.0.0.0 > > externip = 10.0.1.198 > > > > [5702] > > type=friend > > host=dynamic > > context=johnhome > > reinvite=no > > canreinvite=no > > qualify=300 > > callerid="John workroom #1" <5702> > > mailbox=5702 > > disallow=all > > allow=ulaw > > allow=alaw > > ; dtmfmode=rfc2834 > > dtmfmode=info > > username=5702 ; not convinced this is needed > > nat=yes > > > > > > ; > > ; /etc/asterisk/voicemail.conf > > ; > > [general] > > format=wav49|gsm|wav > > > > [johnhome] > > 5702 = 5702,John Coll,john > > 5703 = 5703,John Coll,john > > > > John, > > You have your voicemail within the "johnhome" context, so for your sip > config, your phone entry for voicemail should be [EMAIL PROTECTED] > > Paul > Why shouldn't the mailbox definition inherit the context defined on the SIP entry? Why should we have to create each SIP/IAX/(etc) entry, define it's context, and then also define the context it's voicemail is in? [default] has no rights & privelidges that should put it above any other context, does it? ---- Andrew Thompson http://aktzero.com/ _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users