Email Templates: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:


Each one of these email template has its own set of variables to be used. They can be seen by hovering the mouse on the "Email Template" label, after having selected the template to edit.
Each one of these email template has its own set of variables to be used. They can be seen by hovering the mouse on the "Email Template" label, after having selected the template to edit.
; Voicemail : ${VM_NAME} ${VM_DUR} ${VM_MSGNUM} ${VM_CONTEXT} ${VM_MAILBOX} ${VM_CALLERID} ${VM_CIDNAME} ${VM_CIDNUM} ${VM_DATE} ${VM_USDATE} ${VM_EUDATE} ${VM_12TIME} ${VM_24TIME} ${VM_CATEGORY} ${VM_FLAG} ${VM_TRANSCRIPT}
; Sending Fax success, Sending Fax Failed : ${FAXSOURCENAME} ${FAXSOURCENUM} ${FAXDESTNUM} ${FAXSTATUS} ${FAXERROR} ${PAGES} plus any other variable defined in asterisk
; Received a Fax : ${REMOTESTATIONID} ${CALLERID} ${CALLERIDNAME} ${DID} ${PAGES} ${DATE} ${LOCALDATE} plus any other variable defined in asterisk
; Max transmission attempts failed for a fax : ${FAXDESTNUM}
; Received a SMS : ${SMSMESSAGEFROM} ${SMSMESSAGETO} ${SMSMESSAGEBODY}
; Recording : ${START} ${SIZEKB} ${SOURCE} ${REALSRC} ${FIRSTDEST} ${LASTDEST}
; Mail2fax scheduled, Mail2fax refused : ${FAXSOURCENUM} ${FAXDESTNUM} ${PAGES} ${DATE} ${LOCALDATE}
; Missed call : In this template you can use all the variables defined in Asterisk
; Conference report : ${TENANTNAME} ${START} ${END} ${CONFERENCENAME}
; Notify abandoned call in queue : ${CALLERNUM} ${QUEUENAME} ${QUEUEWAITING} ${DATE} ${LOCALDATE}


Some templates can use any variable defined in Asterisk. Here the list of useful variables:
Some templates can use any variable defined in Asterisk. Here the list of useful variables:

Revision as of 11:42, 13 July 2016

For each type of email sent by the system you can customize the details of the subject, content, sender name and address of the email. There are several type of templates you can create

Emailtemplates.png
  • Voicemail
  • Sending Fax success
  • Sending Fax failed
  • Received a Fax
  • Max transmission attempts failed for a fax
  • Received a SMS
  • Recording
  • Mail2fax scheduled
  • Mail2fax refused
  • Missed call
  • Conference report
  • Notify abandoned call in queue

Each one of these email template has its own set of variables to be used. They can be seen by hovering the mouse on the "Email Template" label, after having selected the template to edit.

Voicemail
${VM_NAME} ${VM_DUR} ${VM_MSGNUM} ${VM_CONTEXT} ${VM_MAILBOX} ${VM_CALLERID} ${VM_CIDNAME} ${VM_CIDNUM} ${VM_DATE} ${VM_USDATE} ${VM_EUDATE} ${VM_12TIME} ${VM_24TIME} ${VM_CATEGORY} ${VM_FLAG} ${VM_TRANSCRIPT}
Sending Fax success, Sending Fax Failed
${FAXSOURCENAME} ${FAXSOURCENUM} ${FAXDESTNUM} ${FAXSTATUS} ${FAXERROR} ${PAGES} plus any other variable defined in asterisk
Received a Fax
${REMOTESTATIONID} ${CALLERID} ${CALLERIDNAME} ${DID} ${PAGES} ${DATE} ${LOCALDATE} plus any other variable defined in asterisk
Max transmission attempts failed for a fax
${FAXDESTNUM}
Received a SMS
${SMSMESSAGEFROM} ${SMSMESSAGETO} ${SMSMESSAGEBODY}
Recording
${START} ${SIZEKB} ${SOURCE} ${REALSRC} ${FIRSTDEST} ${LASTDEST}
Mail2fax scheduled, Mail2fax refused
${FAXSOURCENUM} ${FAXDESTNUM} ${PAGES} ${DATE} ${LOCALDATE}
Missed call
In this template you can use all the variables defined in Asterisk
Conference report
${TENANTNAME} ${START} ${END} ${CONFERENCENAME}
Notify abandoned call in queue
${CALLERNUM} ${QUEUENAME} ${QUEUEWAITING} ${DATE} ${LOCALDATE}

Some templates can use any variable defined in Asterisk. Here the list of useful variables:

  • ${CALLERID(name)}
  • ${CALLERID(num)}
  • ${INCOMINGDID}
  • ${INCOMINGCALLERIDNUM}
  • ${INCOMINGCALLERIDNAME}
  • ${TENANTCODE}
  • ${DIALEDNUMBER}