irontec / ivozprovider

IVOZ Provider - Multitenant solution for VoIP telephony providers
https://ivoz.irontec.com/
GNU General Public License v3.0
197 stars 79 forks source link

oasis: typo on voicemail controller leads to wrong character encoding #565

Closed manfer closed 6 years ago

manfer commented 6 years ago

In /ivozprovider/asterisk/agi/application/controllers/VoicemailController.php the line:

$mail = new Zend_Mail('utf8');

should be:

$mail = new Zend_Mail('utf-8');
mmadariaga commented 6 years ago

It looks like VoicemailController is not the only place with that problem:

./asterisk/agi/library/Agi/Action/FaxCallAction.php => $mail = new \Zend_Mail('utf8'); ./asterisk/agi/application/controllers/VoicemailController.php => $mail = new Zend_Mail('utf8'); ./portals/application/workers/XmlrpcWorker.php => $mail = new \Zend_Mail(); ./portals/application/workers/XmlrpcdelayedproxytrunksWorker.php => $mail = new \Zend_Mail(); ./kamailio/recordings/application/controllers/RecordingsController.php => $mail = new Zend_Mail('utf8');

Thanks for reporting

mmadariaga commented 6 years ago

Fixed at https://github.com/irontec/ivozprovider/pull/568