Thanks a bunch. That is the solutionJ

 

Regards,

Archana

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Sent: 01 March 2013 00:58
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] [ERR] switch_ivr_play_say.c:142 Can't find macro

 

I suspect that you need to edit conf/lang/en/en.xml to include your new "vect" subdir:

<X-PRE-PROCESS cmd="include" data="vect/*.xml"/>

Try that and let us know if you have any issues.
-MC

On Thu, Feb 28, 2013 at 9:55 AM, Archana Venugopan <a.venugopan@mundio.com> wrote:

Hi ,

 

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

environment except for the src folder(/usr/srcFreeswitch) does not recognise this ‘new_message_count’ and throwing this error(2013-02-28 17:37:47.099253 [ERR] switch_ivr_play_say.c:142 Can't find macro new_message_count.)

I even gave reload mod_say_en but this 1 is not being picked up.

 

/usr/local/freeswitch/conf/lang/en/vect/sounds.xml

 

 

<macro name=" new_message_count">

    <input pattern="^(.*)$" break_on_match="true">

      <match>

        <action function="play-file" data="voicemail/vectone/vm-welcome1.wav"/>

        <action function="play-file" data="voicemail/vectone/vm-you_have.wav"/>

        <action function="say" data="$1" method="pronounced" type="items"/>

        <action function="play-file" data="voicemail/vectone/vm-newmsgs.wav"/>

      </match>

 

 

Can anyone please let me know what went wrong in my other server and why this function is not being picked up.

 

Regards,

Archana

 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org