Error building JSON - RTCP


#1

Hello,

I recently upgraded to Asterisk version 16.2.1 compiled from source on a CentOS 6 server and every time a call is established and audio is sent between them, I’m getting the following messages in the logs:

[Mar  7 07:39:51] ERROR[16580]: json.c:607 ast_json_vpack: Error building JSON from '{s: o?, s: o, s: O?}': Expected format 's', got '?'.
[Mar  7 07:39:51] ERROR[16580]:   Got 9 backtrace records
# 0: /usr/sbin/asterisk(ast_json_pack+0x8b) [0x4ed88b]
# 1: /usr/sbin/asterisk() [0x52b28e]
# 2: /usr/lib/asterisk/modules/res_hep_rtcp.so(+0x1063) [0x7f5f56c4e063]
# 3: /usr/sbin/asterisk() [0x560b70]
# 4: /usr/sbin/asterisk(ast_taskprocessor_execute+0x16e) [0x57b24e]
# 5: /usr/sbin/asterisk() [0x57b948]
# 6: /usr/sbin/asterisk() [0x58cf8d]
# 7: /lib64/libpthread.so.0(+0x7aa1) [0x7f5fcd0d8aa1]
# 8: /lib64/libc.so.6(clone+0x6d) [0x7f5fcc4b4bcd]

This happens every 5 seconds once both parties join the bridge so it’s likely related to RTCP. I have little to no idea about JSON so I’m not going to attempt to come up with a theory of what’s wrong but reach out to anyone who may know what’s going on here.

Any help will be highly appreciated.

Thanks


#2

There may be a bug within the res_hep_rtcp module for this. I’d suggest filing an issue[1]. If you don’t need to use the module, you can configure modules.conf to not load it.

[1] https://issues.asterisk.org/jira


#3

Thanks, I’ve raised issue ASTERISK-28329