<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1649" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=363540712-16122014><FONT face=Arial size=2>Hi
All</FONT></SPAN></DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Arial size=2>I am trying to get
voicemail switched over to ARA on version 13 and notice that the password is not
stored in the db when it is changed.</FONT></SPAN></DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Arial size=2>A little hair
pulling and playing around and I think the problem is in the function
ast_update2_realtime in main/config.c.</FONT></SPAN></DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Arial size=2>Issued source is
==></FONT></SPAN></DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier size=2>int
ast_update2_realtime(const char *family,
...)<BR>{<BR> RAII_VAR(struct
ast_variable *, lookup_fields, NULL,
ast_variables_destroy);<BR>
RAII_VAR(struct ast_variable *, update_fields, NULL,
ast_variables_destroy);<BR> va_list
ap;</FONT></SPAN></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier
size=2> va_start(ap,
family);<BR> /* XXX: If we wanted to
pass no lookup fields (select all), we'd
be<BR> * out of luck.
realtime_arguments_to_fields expects at least one
key<BR> * value pair.
*/<BR>
realtime_arguments_to_fields(ap,
&lookup_fields);<BR>
va_end(ap);</FONT></SPAN></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier
size=2> va_start(ap,
family);<BR>
realtime_arguments_to_fields2(ap, 1,
&lookup_fields);<BR>
va_end(ap);</FONT></SPAN></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier
size=2> if (!lookup_fields ||
!update_fields)
{<BR>
return -1;<BR> }</FONT></SPAN></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier
size=2> return
ast_update2_realtime_fields(family, lookup_fields,
update_fields);<BR>}</FONT></SPAN></DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier size=2><FONT face=Arial>I
believe line 3314 of the file main/config.c should be
</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier size=2><FONT
face=Arial></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier
size=2>
realtime_arguments_to_fields2(ap, 1, &update_fields);</FONT></SPAN></DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier size=2><FONT face=Arial>I
have changed it and it works for me - but - </FONT></FONT></SPAN></DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier size=2><FONT
face=Arial></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier size=2><FONT
face=Arial>1) I don't know what else this may
effect </FONT></FONT></SPAN></DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier size=2><FONT
face=Arial>2) I dont know how to pass this on to the
development team</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier size=2><FONT
face=Arial></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Courier size=2><FONT
face=Arial>Paddy</FONT></DIV></FONT></SPAN>
<DIV><SPAN class=363540712-16122014><FONT face=Arial
size=2> </DIV></FONT></SPAN>
<DIV><SPAN class=363540712-16122014><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=363540712-16122014><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>