[Freeswitch-users] [ERR] switch_ivr_play_say.c:142 Can't find macro

Archana Venugopan a.venugopan at mundio.com
Fri Mar 1 12:43:15 MSK 2013


Thanks a bunch. That is the solution:)

Regards,
Archana

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at 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 at mundio.com<mailto:a.venugopan at 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 at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com




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

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130301/b476b1ef/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list