Voicemail Includes and Variables

phonebuff

Guru
Joined
Feb 7, 2008
Messages
1,184
Reaction score
148
Okay,

I should probably know this but it's been a long day and I am just not sure of the answers to a couple of questions..

1.) In vm_email.inc I can change the emailbody = asignment to vary the body of emails going out, but this is not dial plan and does not appear to be shell script either so if I want to condition the value of emailbody based on a range of extensions how would I code that. A shell might be

Code:
if $VM_MAILBOX -eq 2521 then
emailbody=.................
exit 0
#
else
emailbody=...................
exit 0
fi

But this is not a shell script..

Also, is emailheader the value sent to pagers and Cell phones if the Pager/Email Address is specified in the extension ??

Thanks.....
 
Hi

I cannot answer your question directly, however, there is a lot of information in the original voicemail.conf file, a copy of which should be somewhere in the /usr/src/asterisk directory.

Joe
 
Caution:: FreePBX 2.7.n and Asterisk 1.4 w/Dahdi..

Use of alternate contexts seems to break things big time..

See Bug report ...

--
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
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