[Freeswitch-users] mod_say / switch_xml.c:2486 Invalid UTF-8 character to ampersand, skip it

Thorsten Göllner tg-maillistings at level5.de
Wed Apr 25 13:23:03 UTC 2018


Hi,

I am using Freeswitch 1.6.19~64bit on CentOs 7 (with FusionPBX 4.2.2) -
working fine so far. But when calling a mailbox, I can hear the greeting
but can not hear the destination number. I can find this macro is used:

<macro name="voicemail_play_greeting">
  <input pattern="^(.*)$">
    <match>
      <action function="play-file" data="voicemail/vm-person.wav"/>
      <action function="say" data="$1" method="pronounced"
type="name_spelled"/>
      <action function="play-file" data="voicemail/vm-not_available.wav"/>
    </match>
  </input>
</macro>

This is leading me to track it down to the function "say".

So I configured a simple inbound destination which answers the call and
just makes "say : de number pronounced 12345". When calling this number
I get the following error:

EXECUTE sofia/internal/12 at mydomain.cloud say(de number pronounced 12345)
2018-04-25 15:07:09.732930 [DEBUG] freeswitch_lua.cpp:365 DBH handle
0x7f33b405a700 Connected.
2018-04-25 15:07:09.732930 [DEBUG] freeswitch_lua.cpp:382 DBH handle
0x7f33b405a700 released.
2018-04-25 15:07:09.732930 [WARNING] switch_xml.c:2486 Invalid UTF-8
character to ampersand, skip it
2018-04-25 15:07:09.732930 [WARNING] switch_xml.c:2486 Invalid UTF-8
character to ampersand, skip it
2018-04-25 15:07:09.732930 [WARNING] switch_xml.c:2486 Invalid UTF-8
character to ampersand, skip it
2018-04-25 15:07:09.732930 [WARNING] switch_xml.c:2486 Invalid UTF-8
character to ampersand, skip it
2018-04-25 15:07:09.732930 [ERR] switch_xml.c:3180 Can't find phrases tag.
EXECUTE sofia/internal/12 at mydomain.cloud hangup()

I checked the source code but my coding skill is not good enough. I do
not really know, where the problem is.

Do you have any hint for me?

Best regards, Thorsten




More information about the FreeSWITCH-users mailing list