<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Michael,<br>
<br>
It does work, but it's a bit 'rough': all it does it speak the
number just before the date. So I can understand why it was not
documented...<br>
<br>
I'm just opining here, but I think it needs a 'Call from {caller-id}
at {date/time} {message}' rather than just '{caller-id}{date/time}
{message}'. It also ought to trap for '00000000' and say 'unknown
caller' or such like; not sure if it does that or not. But for me
it's not important enough to spend the time working out the patch to
do all that. As I said, I'm just opining... :)<br>
<br>
John<br>
<br>
<br>
PS. For those who want to know where to insert this, put the line
marked with + into your conf/dialplan/default.xml file:<br>
<br>
<tt> <!-- voicemail main extension --><br>
<extension name="vmain"><br>
<condition field="destination_number"
expression="^vmain$|^4000$|^\*98$"><br>
<action application="answer"/><br>
<action application="sleep" data="1000"/><br>
+ <action application="set" data="vm_announce_cid=true"
/><br>
<action application="voicemail" data="check default
${domain_name}"/><br>
</condition><br>
</extension><br>
</tt><br>
<br>
On 06/02/12 22:00, Michael Collins wrote:
<blockquote
cite="mid:CAKzWOxU-kq9HFu0GEj0hHNUSxUh+Kbp3QKM+Bw_P9a_B5Ej_=A@mail.gmail.com"
type="cite">Yuriy,<br>
<br>
I looked on mod_voicemail.c and it does not appear that this macro
is used anywhere. However, I stumbled across what I believe is the
answer to your question: the vm_announce_cid channel variable. And
guess what? It's *not* on the wiki, so you are totally forgiven
for not reading the documentation. :)<br>
<br>
Please set vm_announce_cid to true prior to checking voicemail and
see if it works. If it does, please let me know. If you can add it
to the wiki then do so, otherwise one of our intrepid community
members will do it.<br>
<br>
-MC<br>
<br>
<div class="gmail_quote">2012/2/6 Yuriy Nasida <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:nasida@live.ru">nasida@live.ru</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr">
<div>Hello list,</div>
<div><br>
</div>
<div>I would like to have one simple ability to listen the
phone number of caller when I check my voicemail. At
present I listen date of message only. I have found the
macro "voicemail_say_phone_number" in
conf/lang/en/vm/sounds.xml. But... when FS uses it ?
Can I get it without modifying of source code of
voicemail module ?</div>
<div><br>
</div>
<div>Please advise.</div>
<div>Thanks.</div>
</div>
</div>
<br>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>