TIPS Voicemail Emails to display actual phone number not CID

jchuby

Member
Joined
Feb 27, 2008
Messages
49
Reaction score
4
We are using PBXinAFlash on CentOS, Asterisk 13, on local hardware (intel nuc).

We use Vitelity for inbound with Caller ID sent in by them.. so we see the CNAM info they provide.
The voicemail to email messages look like below, but I am trying to get it to say both Name and Number, so we can call them back without having to lookup the number.

"Just wanted to let you know you were just left a 0:25 long message (number 37)
in mailbox 700 from WIRELESS CALLER, on Wednesday, June 29, 2016 at 02:33:45 PM so you might want to check it when you get a chance. Thanks!

--Asterisk"

Here is my config files:
vm_email_inc
Code:
; To be able to localize text in the email by using utf-8 characters you can remove the remark on the next line so that the charset will be utf-8
; charset=utf-8
; Change the email body, variables: VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_DATE

emailbody=${VM_NAME},\n\nThere is a new voicemail in mailbox ${VM_MAILBOX}:\n\n\tFrom:\t${VM_CALLERID}\n\tLength:\t${VM_DUR} seconds\n\tDate:\t${VM_DATE}\n\nDial *98 to access your voicemail by phone.\n${VM_NAME}, ${VM_DUR}, ${VM_MSGNUM}, ${VM_MAILBOX}, ${VM_CALLERID}, ${VM_DATE}\n
[\code]
 
We are using PBXinAFlash on CentOS, Asterisk 13, on local hardware (intel nuc).

We use Vitelity for inbound with Caller ID sent in by them.. so we see the CNAM info they provide.
The voicemail to email messages look like below, but I am trying to get it to say both Name and Number, so we can call them back without having to lookup the number.

"Just wanted to let you know you were just left a 0:25 long message (number 37)
in mailbox 700 from WIRELESS CALLER, on Wednesday, June 29, 2016 at 02:33:45 PM so you might want to check it when you get a chance. Thanks!

--Asterisk"

Here is my config files:
vm_email_inc
Code:
; To be able to localize text in the email by using utf-8 characters you can remove the remark on the next line so that the charset will be utf-8
; charset=utf-8
; Change the email body, variables: VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_DATE

emailbody=${VM_NAME},\n\nThere is a new voicemail in mailbox ${VM_MAILBOX}:\n\n\tFrom:\t${VM_CALLERID}\n\tLength:\t${VM_DUR} seconds\n\tDate:\t${VM_DATE}\n\nDial *98 to access your voicemail by phone.\n${VM_NAME}, ${VM_DUR}, ${VM_MSGNUM}, ${VM_MAILBOX}, ${VM_CALLERID}, ${VM_DATE}\n
[\code]


The only way I got this to work was by adding my "emailbody =" entire line to voicemail.conf
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,411
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top