<div class="de2">Hi,<br>I am having problem with the speak marco, can someone please help me?<br><br>In the sample code:</div><div class="de1">&nbsp; &nbsp; session.sayPhrase<span class="br0">(</span>&quot;speak&quot;, &quot;Please leave a message after the beep&quot;, &quot;en&quot;<span class="br0">)</span>;</div>
<div class="de2">&nbsp;</div><div class="de1">Inside&nbsp; /usr/local/freeswitch/conf/lang/en/vm/sounds.xm, I added:</div><div class="de2">&nbsp;</div><div class="de1">&nbsp; &lt;macro name=&quot;speak&quot;&gt;</div><div class="de2">&nbsp; &nbsp; &lt;input pattern=&quot;<span class="br0">(</span>.*<span class="br0">)</span>&quot;&gt;</div>
<div class="de1">&nbsp; &nbsp; &nbsp; &lt;match&gt;</div><div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &lt;action function=&quot;play-file&quot; data=&quot;voicemail/vm-hello.wav&quot;/&gt;</div><div class="de1">&nbsp; &nbsp; &nbsp; &lt;/match&gt;</div><div class="de2">&nbsp; &nbsp; &lt;/input&gt;</div>
<div class="de1">&nbsp;</div><div class="de2">&nbsp; &lt;/macro&gt;</div><div class="de1">&nbsp;</div><div class="de2">&nbsp;</div><div class="de1">&nbsp;</div><div class="de2">&nbsp;</div><div class="de1">I am getting can&#39;t find marco speak error:</div>
<div class="de2"><span class="nu0">2008</span><span class="nu0">-04</span><span class="nu0">-19</span> <span class="nu0">03</span>:<span class="nu0">40</span>:<span class="nu0">20</span> <span class="br0">[</span>ERR<span class="br0">]</span> switch_ivr_play_say.c:<span class="nu0">196</span> switch_ivr_phrase_macro<span class="br0">(</span><span class="br0">)</span> can&#39;t find macro speak.</div>
<div class="de1"><span class="nu0">2008</span><span class="nu0">-04</span><span class="nu0">-19</span> <span class="nu0">03</span>:<span class="nu0">40</span>:<span class="nu0">20</span> <span class="br0">[</span>WARNING<span class="br0">]</span> switch_ivr_play_say.c:<span class="nu0">330</span> switch_ivr_phrase_macro<span class="br0">(</span><span class="br0">)</span> macro <span class="br0">[</span>speak<span class="br0">]</span> did not match any patterns</div>
<div class="de2"><span class="nu0">2008</span><span class="nu0">-04</span><span class="nu0">-19</span> <span class="nu0">03</span>:<span class="nu0">40</span>:<span class="nu0">20</span> <span class="br0">[</span>DEBUG<span class="br0">]</span> inc_logger.js:<span class="nu0">6</span> console_log<span class="br0">(</span><span class="br0">)</span>&nbsp;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
session.streamFile rtn=<span class="br0">[</span>undefined<span class="br0">]</span> &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; undefined</div><div class="de1"> </div><br><br>What did I do wrong?<br><br>Thanks in advance for all your help.<br>
<br>Regards,<br>Pete<br><span class="nu0"></span>