Koozali.org formerly Contribs.org

Incomplete vmail construct?

Incomplete vmail construct?
« 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")
« Last Edit: February 25, 2013, 09:57:42 AM by apmuthu »

Offline SARK devs

  • ****
  • 2,806
    • http://sarkpbx.com
Re: Incomplete vmail construct?
« Reply #1 on: February 26, 2013, 02:01:57 AM »

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.



Re: Incomplete vmail construct?
« Reply #2 on: February 26, 2013, 03:28:03 PM »
Thanks Jeff for the thought process that went into the decision. Documented it in the wiki.