<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Guys,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I need you help on this one.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Don’t know when this broke but we have a custom gui that runs on top of Asterisk running a real-time static for configurations.<o:p></o:p></p>
<p class="MsoNormal">Nothing has changed with the database other than upgrades of Asterisk 10.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Customer complained that there password was not changing when they called into voicemail and changed it.
<o:p></o:p></p>
<p class="MsoNormal">Database is running standard ast_config with the following fields.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">+------------+--------------+------+-----+---------+----------------+<o:p></o:p></p>
<p class="MsoNormal">| Field | Type | Null | Key | Default | Extra |<o:p></o:p></p>
<p class="MsoNormal">+------------+--------------+------+-----+---------+----------------+<o:p></o:p></p>
<p class="MsoNormal">| id | int(11) | NO | PRI | NULL | auto_increment |<o:p></o:p></p>
<p class="MsoNormal">| cat_metric | int(11) | NO | | 0 | |<o:p></o:p></p>
<p class="MsoNormal">| var_metric | int(11) | NO | | 0 | |<o:p></o:p></p>
<p class="MsoNormal">| commented | int(11) | NO | | 0 | |<o:p></o:p></p>
<p class="MsoNormal">| filename | varchar(128) | NO | | | |<o:p></o:p></p>
<p class="MsoNormal">| category | varchar(128) | NO | | default | |<o:p></o:p></p>
<p class="MsoNormal">| var_name | varchar(128) | NO | | | |<o:p></o:p></p>
<p class="MsoNormal">| var_val | varchar(255) | NO | | | |<o:p></o:p></p>
<p class="MsoNormal">+------------+--------------+------+-----+---------+----------------+<o:p></o:p></p>
<p class="MsoNormal">8 rows in set (0.00 sec)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Did some tests and asterisk does change the password but in the /etc/asterisk/voicemail.conf file.<o:p></o:p></p>
<p class="MsoNormal">Rename the file to see if it will then try the database. It recreates the file and changes the password.<o:p></o:p></p>
<p class="MsoNormal">The issue is when it reads the password it looks at ast_config so it never really changes.<o:p></o:p></p>
<p class="MsoNormal">Ran debug and no errors, I don’t even see it trying to update mysql<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any idea what this could be. The file below is an exact match of what’s in ast_config.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/etc/asterisk/voicemail.conf<o:p></o:p></p>
<p class="MsoNormal">;! Automatically generated configuration file<o:p></o:p></p>
<p class="MsoNormal">;! Filename: voicemail.conf (/etc/asterisk/voicemail.conf)<o:p></o:p></p>
<p class="MsoNormal">;! Generator: AppVoicemail<o:p></o:p></p>
<p class="MsoNormal">;! Creation Date: Mon Nov 11 01:12:51 2013<o:p></o:p></p>
<p class="MsoNormal">;!<o:p></o:p></p>
<p class="MsoNormal">[default]<o:p></o:p></p>
<p class="MsoNormal">9105 = 1234,Genee Jacobs,,,tz=|attach=|saycid=|hidefromdir=<o:p></o:p></p>
<p class="MsoNormal">201 = 1111,Anne Long,,,tz=|attach=|saycid=|hidefromdir=|delete=<o:p></o:p></p>
<p class="MsoNormal">[zonemessages]<o:p></o:p></p>
<p class="MsoNormal">pacific = US/Pacific|'vm-received' Q 'digits/at' IMp<o:p></o:p></p>
<p class="MsoNormal">eastern = America/New_York|'vm-received' Q 'digits/at' IMp<o:p></o:p></p>
<p class="MsoNormal">central = America/Chicago|'vm-received' Q 'digits/at' IMp<o:p></o:p></p>
<p class="MsoNormal">central24 = America/Chicago|'vm-received' q 'digits/at' H N 'hours'<o:p></o:p></p>
<p class="MsoNormal">military = Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
<o:p></o:p></p>
<p class="MsoNormal">gmt = Europe/London|'vm-received' q 'digits/at' H N 'hours'<o:p></o:p></p>
<p class="MsoNormal">cet = Europe/Zurich|'vm-received' q 'digits/at' H N 'hours'<o:p></o:p></p>
<p class="MsoNormal">hkg = Asia/Hong_Kong|'vm-received' q 'digits/at' H N 'hours'<o:p></o:p></p>
<p class="MsoNormal">[general]<o:p></o:p></p>
<p class="MsoNormal">format = wav49|gsm|wav<o:p></o:p></p>
<p class="MsoNormal">serveremail = nwvoicemail@randrealty.com<o:p></o:p></p>
<p class="MsoNormal">attach = yes<o:p></o:p></p>
<p class="MsoNormal">emaildateformat = %A, %B %d, %Y at %r<o:p></o:p></p>
<p class="MsoNormal">maxlogins = 3<o:p></o:p></p>
<p class="MsoNormal">sendvoicemail = yes<o:p></o:p></p>
<p class="MsoNormal">operator = yes<o:p></o:p></p>
<p class="MsoNormal">pagerdateformat = %A, %B %d, %Y at %r<o:p></o:p></p>
<p class="MsoNormal">externnotify = /usr/local/sigman/scripts/voicemailapp<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">John Bittner<o:p></o:p></p>
<p class="MsoNormal">CTO<o:p></o:p></p>
<p class="MsoNormal"><img width="152" height="54" id="Picture_x0020_1" src="cid:image003.png@01CEDE7D.6B15EB80"><o:p></o:p></p>
<p class="MsoNormal">380 US Highway 46, Suite 500<o:p></o:p></p>
<p class="MsoNormal">Totowa, NJ 07512<o:p></o:p></p>
<p class="MsoNormal">Phone: 201.806.2602 x2405<o:p></o:p></p>
<p class="MsoNormal">Fax: 201.806.2604<o:p></o:p></p>
<p class="MsoNormal">Cell: 973.390.1090<o:p></o:p></p>
<p class="MsoNormal"><a href="http://www.xaccel.net/"><span style="color:blue">www.xaccel.net</span></a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><i><span style="font-size:7.5pt;color:gray">CONFIDENTIALITY NOTICE:<br>
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential<br>
and privileged information which should not be shared or forwarded. Any unauthorized review, use, disclosure or distribution<br>
is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the e-mail.</span></i></b><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>