Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: apmuthu on February 25, 2013, 09:35:56 AM

Title: Incomplete vmail construct?
Post by: apmuthu on February 25, 2013, 09:35:56 AM
File: /opt/sark/generator/vmailSQL.php

In SAIL v3.1.1-22 and v4.0.0, the lines 41-42 are commented out, but in the equivalent lines in SAIL v3.1.0-145 they are not - any reason?
Code: [Select]
//                "#include sark_vmail_main.conf  \n" .
//                 "#include sark_customer_vmail_main.conf  \n")
Title: Re: Incomplete vmail construct?
Post by: SARK devs on February 26, 2013, 02:01:57 AM
Hi

Usually, in the asterisk conf files we separate asterisk, our stuff and the customer stuff with a cascade of includes.  However, although asterisk supports includes it doesn't always follow what's in 'em.   Voicemail is a case in point.  Turns out that if we had voicemail entries in an included file and a user changes her vmail password in the phone then asterisk wouldn't look in the includes so the change didn't get done.  We had to move everything back into voicemail.conf and suppress the includes.

Best
S

 
Title: Re: Incomplete vmail construct?
Post by: apmuthu on February 26, 2013, 03:28:03 PM
Thanks Jeff for the thought process that went into the decision. Documented it in the wiki (http://www.sailpbx.com/mediawiki/index.php/SAIL_Defaults#Voice_Mail_Workarounds_in_SAIL).