John,<br><br>This actually makes sense, so I&#39;m adding a new prompt to my &#39;to be ordered&#39; list. We can make a new phrase macro that handles all the 000/anon handling. Anyway, when the new prompts arrive in a week or two I will test out a new phrase macro and then have you try it for your installation. <br>
<br>BTW, if you are feeling ambitious you can modify your say number phrase macro to include a little pause and an existing sound file. I was thinking you could use ivr-this_is_a_call_from.wav. Try this macro in place of the existing one:<br>
<br><font style="font-family:courier new,monospace" size="1">  &lt;macro name=&quot;voicemail_say_phone_number&quot;&gt;<br>    &lt;input pattern=&quot;^000|^$|^[Aa]non|^[Pp]rivate&quot; break_on_match=&quot;true&quot;&gt;<br>
        &lt;match&gt;<br>            &lt;!-- add &#39;anonymous caller&#39; sound here --&gt;<br>        &lt;/match&gt;<br>    &lt;/input&gt;<br>    &lt;input pattern=&quot;^(.*)$&quot;&gt;<br>      &lt;match&gt;<br>        &lt;action function=&quot;play-file&quot; data=&quot;ivr/ivr-this_is_a_call_from.wav&quot;/&gt;<br>
        &lt;action function=&quot;execute&quot; data=&quot;sleep(100)&quot;/&gt;<br>        &lt;action function=&quot;say&quot; data=&quot;$1&quot; method=&quot;pronounced&quot; type=&quot;name_spelled&quot;/&gt;<br>        &lt;action function=&quot;execute&quot; data=&quot;sleep(500)&quot;/&gt;<br>
      &lt;/match&gt;<br>    &lt;/input&gt;<br>  &lt;/macro&gt;<br></font><br>Keep in mind that I just made that up and didn&#39;t test it, so please do some diagnostics if it doesn&#39;t work the first time.<br><br>Thanks,<br>
MC<br><br><br><br><div class="gmail_quote">On Mon, Feb 6, 2012 at 3:22 PM, John <span dir="ltr">&lt;<a href="mailto:freeswitch@earthspike.net">freeswitch@earthspike.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Michael,<br>
    <br>
    It does work, but it&#39;s a bit &#39;rough&#39;: all it does it speak the
    number just before the date.  So I can understand why it was not
    documented...<br>
    <br>
    I&#39;m just opining here, but I think it needs a &#39;Call from {caller-id}
    at {date/time} {message}&#39; rather than just &#39;{caller-id}{date/time}
    {message}&#39;.  It also ought to trap for &#39;00000000&#39; and say &#39;unknown
    caller&#39; or such like; not sure if it does that or not.  But for me
    it&#39;s not important enough to spend the time working out the patch to
    do all that.  As I said, I&#39;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>    &lt;!-- voicemail main extension --&gt;<br>
          &lt;extension name=&quot;vmain&quot;&gt;<br>
            &lt;condition field=&quot;destination_number&quot;
      expression=&quot;^vmain$|^4000$|^\*98$&quot;&gt;<br>
              &lt;action application=&quot;answer&quot;/&gt;<br>
              &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;<br>
      +       &lt;action application=&quot;set&quot; data=&quot;vm_announce_cid=true&quot;
      /&gt;<br>
              &lt;action application=&quot;voicemail&quot; data=&quot;check default
      ${domain_name}&quot;/&gt;<br>
            &lt;/condition&gt;<br>
          &lt;/extension&gt;<br>
    </tt><div class="im"><br>
    <br>
    On 06/02/12 22:00, Michael Collins wrote:
    <blockquote 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&#39;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">&lt;<a href="mailto:nasida@live.ru" target="_blank">nasida@live.ru</a>&gt;</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 &quot;voicemail_say_phone_number&quot; 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>
  </div></div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>