[Asterisk-Users] Newbie - MWI

Andrew Thompson asteriskuser at aktzero.com
Sun Jan 4 17:32:28 MST 2004


<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 mailbox=5702 at johnhome
>
> 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/




More information about the asterisk-users mailing list