subject for email text for voicemail to email SOLVED
Posted: Mon Oct 28, 2013 9:05 pm
Version Stuff: For Bill...
VERSION: 2.4-364a
BUILD: 120409-1136
Iso Install - Stock no customizations.
Single server
Description of the problem:
Email body for voicemail to email show's the wrong callerid info.
Where is that script or conf that defines the subject and email body?
The CallerID is coming across with the unique conference id identifier....need to make the adjustments. See below example.
---Example
Dear Customer Service Voicemail:
Just wanted to let you know you were just left a 0:33 long message (number 71)
in mailbox 5001 from Y0281143110000177522, on Monday, October 28, 2013 at 01:47:28 PM so you might
want to check it when you get a chance. Thanks!
End Example---
----Voicemail.conf---- Not here
;!
;! Automatically generated configuration file
;! Filename: voicemail.conf (/etc/asterisk/voicemail.conf)
;! Generator: AppVoicemail
;! Creation Date: Wed Jan 16 09:03:21 2013
;!
; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE LOST
; ONLY VOICEMAIL BOXES DEFINED IN VICIDIAL WILL BE ALLOWED IN THIS FILE
; IF YOU WANT TO ADD NON-VICIDIAL VOICEMAIL BOXES, ADD THEM IN A NEW
; CONTEXT BEFORE THE DEFAULT CONTEXT
[general]
format = wav49|gsm|wav
serveremail = asterisk
attach = yes
skipms = 3000
maxsilence = 10
silencethreshold = 128
maxlogins = 3
maxmsg = 300
[zonemessages]
eastern = America/New_York|'vm-received' Q 'digits/at' IMp
central = America/Chicago|'vm-received' Q 'digits/at' IMp
central24 = America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M 'hours'
...
What's been checked thus far.
/usr/share/astguiclient/AST_vm_update.pl - Not here
grepped the /var/lib/asterisk/agi-bin for the subject text and main body text - Not there
grepped ---------------grep -r -i 'Just wanted to let you know you were' /etc/* - Didn't find the text
grepped ---------------grep -r -i 'Just wanted to let you know you were' /var/* - Didn't find the text
....?? Where is this text being generated?
-------------Solution---------------------Applies to multiple drop options
The AGI is the component handing off what the callerid id is to the Voicemail system.
In the agi-VDAD_ALL_inbound.agi - there exists a section referring to the inbound group drop action
Below Line Line 4653
In the section
if ($drop_action =~ /VOICEMAIL/)
changed line $newcallerid = "\"$VCcallerid <$transfer_cid>\"";
to
$newcallerid = $transfer_cid;
For No Agents No Queueing this will need to be changed as well.
Line 1599 under the section
if ($no_agent_action =~ /VOICEMAIL/)
Same change needed
$newcallerid = "\"$VCcallerid <$transfer_cid>\"";
to
$newcallerid = $transfer_cid;
This sends across the CUSTOMER callerid...
VERSION: 2.4-364a
BUILD: 120409-1136
Iso Install - Stock no customizations.
Single server
Description of the problem:
Email body for voicemail to email show's the wrong callerid info.
Where is that script or conf that defines the subject and email body?
The CallerID is coming across with the unique conference id identifier....need to make the adjustments. See below example.
---Example
Dear Customer Service Voicemail:
Just wanted to let you know you were just left a 0:33 long message (number 71)
in mailbox 5001 from Y0281143110000177522, on Monday, October 28, 2013 at 01:47:28 PM so you might
want to check it when you get a chance. Thanks!
End Example---
----Voicemail.conf---- Not here
;!
;! Automatically generated configuration file
;! Filename: voicemail.conf (/etc/asterisk/voicemail.conf)
;! Generator: AppVoicemail
;! Creation Date: Wed Jan 16 09:03:21 2013
;!
; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE LOST
; ONLY VOICEMAIL BOXES DEFINED IN VICIDIAL WILL BE ALLOWED IN THIS FILE
; IF YOU WANT TO ADD NON-VICIDIAL VOICEMAIL BOXES, ADD THEM IN A NEW
; CONTEXT BEFORE THE DEFAULT CONTEXT
[general]
format = wav49|gsm|wav
serveremail = asterisk
attach = yes
skipms = 3000
maxsilence = 10
silencethreshold = 128
maxlogins = 3
maxmsg = 300
[zonemessages]
eastern = America/New_York|'vm-received' Q 'digits/at' IMp
central = America/Chicago|'vm-received' Q 'digits/at' IMp
central24 = America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M 'hours'
...
What's been checked thus far.
/usr/share/astguiclient/AST_vm_update.pl - Not here
grepped the /var/lib/asterisk/agi-bin for the subject text and main body text - Not there
grepped ---------------grep -r -i 'Just wanted to let you know you were' /etc/* - Didn't find the text
grepped ---------------grep -r -i 'Just wanted to let you know you were' /var/* - Didn't find the text
....?? Where is this text being generated?
-------------Solution---------------------Applies to multiple drop options
The AGI is the component handing off what the callerid id is to the Voicemail system.
In the agi-VDAD_ALL_inbound.agi - there exists a section referring to the inbound group drop action
Below Line Line 4653
In the section
if ($drop_action =~ /VOICEMAIL/)
changed line $newcallerid = "\"$VCcallerid <$transfer_cid>\"";
to
$newcallerid = $transfer_cid;
For No Agents No Queueing this will need to be changed as well.
Line 1599 under the section
if ($no_agent_action =~ /VOICEMAIL/)
Same change needed
$newcallerid = "\"$VCcallerid <$transfer_cid>\"";
to
$newcallerid = $transfer_cid;
This sends across the CUSTOMER callerid...