I suspect that you need to edit conf/lang/en/en.xml to include your new "vect" subdir:<br><br><span style="font-family:courier new,monospace"><X-PRE-PROCESS cmd="include" data="vect/*.xml"/> </span><br>
<br>Try that and let us know if you have any issues.<br>-MC<br><br><div class="gmail_quote">On Thu, Feb 28, 2013 at 9:55 AM, Archana Venugopan <span dir="ltr"><<a href="mailto:a.venugopan@mundio.com" target="_blank">a.venugopan@mundio.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal">Hi ,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have created new sounds folder inside en folder and placed new_message_count and I have called this ‘new_message_count’ in my js script. The wav files inside this macro is being read correctly in development environment whereas in my
production which is almost all same as development <u></u><u></u></p>
<p class="MsoNormal">environment except for the src folder(/usr/srcFreeswitch) does not recognise this ‘new_message_count’ and throwing this error<b><span style="color:red">(2013-02-28 17:37:47.099253 [ERR] switch_ivr_play_say.c:142 Can't find macro new_message_count.)
<u></u><u></u></span></b></p>
<p class="MsoNormal"><span style>I even gave reload mod_say_en but this 1 is not being picked up.
<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">/usr/local/freeswitch/conf/lang/en/vect/sounds.xml<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><macro name=" new_message_count"><u></u><u></u></p>
<p class="MsoNormal"> <input pattern="^(.*)$" break_on_match="true"><u></u><u></u></p>
<p class="MsoNormal"> <match><u></u><u></u></p>
<p class="MsoNormal"> <action function="play-file" data="voicemail/vectone/vm-welcome1.wav"/><u></u><u></u></p>
<p class="MsoNormal"> <action function="play-file" data="voicemail/vectone/vm-you_have.wav"/><u></u><u></u></p>
<p class="MsoNormal"> <action function="say" data="$1" method="pronounced" type="items"/><u></u><u></u></p>
<p class="MsoNormal"> <action function="play-file" data="voicemail/vectone/vm-newmsgs.wav"/><u></u><u></u></p>
<p class="MsoNormal"> </match><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Can anyone please let me know what went wrong in my other server and why this function is not being picked up.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal">Archana<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</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><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>