[asterisk-bugs] [JIRA] (ASTERISK-24720) Unable to change voicemail password using realtime engine

Leandro Dardini (JIRA) noreply at issues.asterisk.org
Sun Jan 25 03:45:34 CST 2015


Leandro Dardini created ASTERISK-24720:
------------------------------------------

             Summary: Unable to change voicemail password using realtime engine
                 Key: ASTERISK-24720
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24720
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 13.1.0
         Environment: Voicemail ODBC storage on mysql using
            Reporter: Leandro Dardini
            Severity: Minor


It is not possible to change the voicemail password due to a bug in the ast_update2_realtime function, used only to update the voicemail table, the only one having two fields to be selected in the filter.

The function decode twice the lookup_fields and do not decode the update_fields.

{code}
--- main/config.c.orig  2015-01-25 10:38:32.000000000 +0100
+++ main/config.c       2015-01-25 10:39:03.000000000 +0100
@@ -3329,7 +3329,7 @@
        va_end(ap);
 
        va_start(ap, family);
-       realtime_arguments_to_fields2(ap, 1, &lookup_fields);
+       realtime_arguments_to_fields2(ap, 1, &update_fields);
        va_end(ap);
 
        if (!lookup_fields || !update_fields) {
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list