[asterisk-users] Voicemail variables on email subject

James Cloos cloos at jhcloos.com
Sun Aug 11 10:59:32 CDT 2013


>>>>> "RdSS" == Rafael dos Santos Saraiva <rafaelsnsa at gmail.com> writes:

RdSS> emailsubject=${VM_MAILBOX}|${VM_MSGNUM}|${VM_CALLERID}|${VM_DUR}

RdSS> Return:
RdSS> Subject: =?utf-8?Q?1504|12|=22Teste_-_Rafael=22_=3C1570=3E|0=3A16?=

That is a proper encoding for an SMTP mail header which is in utf8.

RdSS> Expected:
RdSS> Subject: 1504|12|"Teste - Rafael" <1570>|16

The sent header decodes to this string:

    Subect: 1504|12|"Teste_-_Rafael"_<1570>|0:16

Note the colon from $VM_DUR (minutes:seconds).

MUAs are supposed to decode that.

-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6



More information about the asterisk-users mailing list