Skip to main content

JSON error in MT

Posted by mcampbell@1poi… on Fri, 07/05/2019

This is the first time I've seen the error in the Asterisk messages and full logs (it happened twice so far today.) Any ideas what may be causing it? We are currently on MT

[2019-07-05 07:22:30] VERBOSE[31362][C-0001093f] app.c: User hung up
[2019-07-05 07:22:30] ERROR[31362][C-0001093f] json.c: Error building JSON from '{s: s, s: s}': Invalid UTF-8 string.
[2019-07-05 07:22:30] ERROR[31362][C-0001093f] : Got 23 backtrace records
[2019-07-05 07:22:30] ERROR[31362][C-0001093f] stasis_channels.c: Error creating message

I can provide further detail if necessary.

Thanks in advance.


Submitted by volodya on Fri, 07/05/2019 Permalink

Hello Matt,

Are you using custom dial script? Could you show full call trace?

Submitted by mcampbell@1poi… on Fri, 07/05/2019 Permalink

Hello Volodya,

We are not using any custom dial script (that I'm aware of.) See 2 attached files for call trace.



Submitted by volodya on Mon, 07/08/2019 Permalink

Since you are already using from-outside-fixinbound context you could update it with FILTER function as it is suggested here on Asterisk's forum. You could also run SIP packet capture to further investigare request from your carrier if this problem will happen again.