[asterisk-bugs] [JIRA] (ASTERISK-26834) Invalid UTF-8 string ERROR JSON CallerID with accent

Carl Fortin (JIRA) noreply at issues.asterisk.org
Thu Mar 2 14:13:10 CST 2017


Carl Fortin created ASTERISK-26834:
--------------------------------------

             Summary: Invalid UTF-8 string ERROR JSON CallerID with accent
                 Key: ASTERISK-26834
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26834
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_voicemail
    Affects Versions: 14.2.0
         Environment: Asterisk Realtime 14.2 PJSIP Driver
mysql  5.1.73
unixODBC 2.2.14
pjproject 2.5.5
spandsp 0.0.6
jansson 2.7
CentOS 6.6 64 bits on Vmware

Phones : Cisco SPA514G FW: 7.5.7
ATA : Audiocodes MP124
T1 : Mediatrix 3532 ISDN 
CPU : Quadcore Intel(R) Xeon(R) CPU E5-2650
RAM : 8 GB
HDD : 35 GB

Average concurent calls: 25
Average calls/day: 2000
            Reporter: Carl Fortin
            Severity: Minor
         Attachments: debug_log_JSON_Accent, voicemail.conf

I had this error in my console since at least Asterisk 13.5.
I did ask on the forum at the time but I could not reproduce the issue:
https://community.asterisk.org/t/random-error-utf-8-string/49703/4

I can reproduce the issue as I want:

If a caller leaves  a voicemail and the caller's ID name contains accent characters and the message is sent by email, it will produce the following error:

ERROR[30993][C-00000024] json.c: Error building JSON from '{s: s, s: s}': Invalid UTF-8 string

The accent characters will be missing from the ${VM_CIDNAME} variable and the sender's name will be incorrect in the email.

Check my full DEBUG log, The callerid name was Émile François.





--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list