I recently installed a fresh install of 5.4.7 since I was running a version that was several years old and wanted to start fresh. After setting up the new system I could not get voicemails to send to email. It seems to be the same problem as described in this post three years ago.
I did not want to hard code the smtp_from in the code, so I dove in and did a bit of debugging. I still didn't exactly get to the root of the problem, but I discovered that it's related to the lazy loading settings cache. I changed line 59 to disable using the cache. That resolved the issue for me.
https://github.com/fusionpbx/fusion...pts/resources/functions/lazy_settings.lua#L59
I have configured voicemails to be sent via email. Voicemails are not being sent and are not in the queue.
I am seeing the following error in the logs:
Running FusionPBX 5.0.5 d3ee2562869b078d52640b3ef94985ad44d64465
I am seeing the following error in the logs:
Code:
2022-11-02 20:53:14.829786 95.03% [ERR] switch_cpp.cpp:1465 [database] can not bind parameter: undefined parameter: email_from
2022-11-02 20:53:14.829786 95.03% [INFO] switch_cpp.cpp:1465 [send_mail] Email added to the queue as email_queue_uuid = 0be5c0a5-fc39-4f7b-94e7-ed2266644508
Running FusionPBX 5.0.5 d3ee2562869b078d52640b3ef94985ad44d64465
- mrbnet
- Replies: 29
- Forum: General FusionPBX Help
I did not want to hard code the smtp_from in the code, so I dove in and did a bit of debugging. I still didn't exactly get to the root of the problem, but I discovered that it's related to the lazy loading settings cache. I changed line 59 to disable using the cache. That resolved the issue for me.
https://github.com/fusionpbx/fusion...pts/resources/functions/lazy_settings.lua#L59