shimaore / ccnq3

ISP VoIP (SIP) softswitch platform
https://shimaore.github.io/ccnq4/
GNU General Public License v3.0
13 stars 8 forks source link

Voicemail: Incorrect templates are used when sending with message in attachment #24

Closed Pontax closed 11 years ago

Pontax commented 11 years ago

Even when the vocal message is in attachment, templates used are "voicemail_notification.fr.html", "voicemail_notification.fr.body" and "voicemail_notification.fr.subject". That's not the good ones. It should be the "voicemail_notification_with_attachment.fr.html", "voicemail_notification_with_attachment.fr.body" and "voicemail_notification_with_attachment.fr.subject".

Pontax commented 11 years ago

Actually, templates are inverted.

When no attachment, templates with attachment are used. When attachment, templates with no attachment are used.