[asterisk-dev] Realtime ODBC voicemail and fromstring variable

Leandro Dardini ldardini at gmail.com
Tue Sep 16 14:28:08 CDT 2014


I think to have found an issue, but before reporting on issue.asterisk.org,
I'd like to get an advice here...

I am using realtime ODBC voicemail and all works great except I cannot set
the fromuser settings. It is ignored and the default one is used.

The problem seems laying in the definition of the struct ast_vm_user that
is lacking the fromuser variable.

The fromuser variable is indeed used inside the make_email_file function:

        /* Set date format for voicemail mail */
        ast_strftime_locale(date, sizeof(date), emaildateformat, &tm,
S_OR(vmu->locale, NULL));

        if (!ast_strlen_zero(fromstring)) {

But it is not defined in this function, so it returns always zero len and
the default is used.

Am I missing something?

Leandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140916/7ae4b58d/attachment.html>


More information about the asterisk-dev mailing list