I figured out what was going on with the lack of/stuck on stuttered dial tone. Apparently, there are two voicemail directories being referenced: /var/spool/asterisk/voicemail/default, and /var/spool/asterisk/voicemail/local. The sip phones were using /var/spool/asterisk/voicemail/local to dump VM messages into, yet the MWI looks at /var/spool/asterisk/voicemail/default. Does anyone know why two different directories are being used? The context of the sip phones is not default, it is house-local, and I'm curious as to why the 'local' directory is used, and how it is derived from the SIP phone context. I can correct the problem by making a symlink from local to default, but this does not appear to be the best way to solve this problem. Thanks, Steve.
> I figured out what was going on with the lack of/stuck on stuttered dial > tone. Apparently, there are two voicemail directories being referenced: > /var/spool/asterisk/voicemail/default, and > /var/spool/asterisk/voicemail/local. The sip phones were using > /var/spool/asterisk/voicemail/local to dump VM messages into, yet the MWI > looks at /var/spool/asterisk/voicemail/default. > > Does anyone know why two different directories are being used? > The context of the sip phones is not default, it is house-local, and I'm > curious as to why the 'local' directory is used, and how it is derived from > the SIP phone context. > > I can correct the problem by making a symlink from local to default, but > this does not appear to be the best way to solve this problem.Pure guess is something to do with voicemail vs voicemail2. I just swapped from voicemail to voicemail2 a couple of days ago, and the 'local' directory on my machine is datestamped from exactly when I did the conversion. (The only voicemail box within the 'local' directory is for an extension that I was using for testing during the conversion. All other extensions reside in the 'default' directory, and voicemail2 is working fine with 7960's and a Snom 200.)
Steve Rodgers
2003-Nov-08 22:09 UTC
[Asterisk-Users] Re: SIP, Sipura SPA-2000, and Voicemail2
Solution: The context used in voicemail.conf has to match the default context in sip.conf. Sip.conf: [general] port=5060 bindaddr=192.168.17.2 tos=lowdelay disallow=all allow=ulaw context=default ; Note: this must match voicemail.conf ; ; SIP Entry for sipura line 1 ; This phone is allowed to dial extensions and local phone numbers ; [101] type=friend host=dynamic context=house-toll reinvite=no canreinvite=no qualify=300 secret=xxxxx callerid="Sipura Line 1" <101> username=101 mailbox=101 nat=0 ; Sample for sipura line 2 ; This phone is allowed to dial extensions and local phone numbers ; [102] type=friend host=dynamic context=house-toll reinvite=no canreinvite=no qualify=300 secret=yyyyy callerid="Sipura Line 2" <102> username=102 Voicemail.conf: [general] format=wav maxmessage=180 [default] ; Note: this was [local] ; ; format: password, name, email address for attached voicemail msgs ; 101 => xxxx,Steve Rodgers,srodgers@xxx.com 102 => yyyy,Karen Rodgers,krodgers@xxx.com
hkirrc.patrick
2003-Nov-09 07:08 UTC
[Asterisk-Users] SIP, Sipura SPA-2000, and Voicemail2
voicemail vs voicemail2; messages of both are kept in different directories. Steve Rodgers wrote:> >I figured out what was going on with the lack of/stuck on stuttered dial >tone. Apparently, there are two voicemail directories being referenced: >/var/spool/asterisk/voicemail/default, and >/var/spool/asterisk/voicemail/local. The sip phones were using >/var/spool/asterisk/voicemail/local to dump VM messages into, yet the MWI >looks at /var/spool/asterisk/voicemail/default. > >Does anyone know why two different directories are being used? >The context of the sip phones is not default, it is house-local, and I'm >curious as to why the 'local' directory is used, and how it is derived from >the SIP phone context. > >I can correct the problem by making a symlink from local to default, but >this does not appear to be the best way to solve this problem. > >Thanks, > >Steve. > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users > >
Tilghman Lesher
2003-Nov-09 08:24 UTC
[Asterisk-Users] SIP, Sipura SPA-2000, and Voicemail2
On Saturday 08 November 2003 19:32, Steve Rodgers wrote:> I figured out what was going on with the lack of/stuck on stuttered > dial tone. Apparently, there are two voicemail directories being > referenced: /var/spool/asterisk/voicemail/default, and > /var/spool/asterisk/voicemail/local. The sip phones were using > /var/spool/asterisk/voicemail/local to dump VM messages into, yet the > MWI looks at /var/spool/asterisk/voicemail/default. > > Does anyone know why two different directories are being used? > The context of the sip phones is not default, it is house-local, and > I'm curious as to why the 'local' directory is used, and how it is > derived from the SIP phone context. > > I can correct the problem by making a symlink from local to default, > but this does not appear to be the best way to solve this problem.You need to specify your mailboxes in sip.conf as 123@house-local to use a context other than default. -Tilghman