Create RFC2822_DATE for use in emails. Some clients fail to sort emails properly without a Date: line.
This commit is contained in:
parent
92d324d3aa
commit
a1f19d9123
|
@ -145,6 +145,7 @@
|
|||
<action application="hash" data="insert/${domain_name}-spymap/${caller_id_number}/${uuid}"/>
|
||||
<action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
|
||||
<action application="hash" data="insert/${domain_name}-last_dial/global/${uuid}"/>
|
||||
<action application="set" data="RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
<extension name="outside_call" continue="true">
|
||||
<condition>
|
||||
<action application="set" data="outside_call=true"/>
|
||||
<action application="set" data="RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}@${voicemail_domain}>
|
||||
Date: ${RFC2822_DATE}
|
||||
To: <${voicemail_notify_email}>
|
||||
Subject: Voicemail from "${voicemail_caller_id_name}" <${voicemail_caller_id_number}> ${voicemail_message_len}
|
||||
X-Priority: ${voicemail_priority}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
From: "${voicemail_caller_id_name}" <${voicemail_caller_id_number}@${voicemail_domain}>
|
||||
Date: ${RFC2822_DATE}
|
||||
To: <${voicemail_email}>
|
||||
Subject: Voicemail from "${voicemail_caller_id_name}" <${voicemail_caller_id_number}> ${voicemail_message_len}
|
||||
X-Priority: ${voicemail_priority}
|
||||
|
|
Loading…
Reference in New Issue