Asterisk 16 on Debian Buster problem

k.a.skilsara k.a.skilsara at protonmail.ch
Thu Apr 16 11:25:07 BST 2020


Hello there,

Hope you're doing well, I really appreciate your work.

I’m in the process of migrating to version 16 and migrating from chan_sip to PJSIP.
While testing in sandbox (Debian 10, using default asterisk version 16.2.1~dfsg-1+deb10u1 from repo ) I ran into trouble, well, not real TROUBLE (cause it's not really affect any functionality), just strange behavior.

I'm using realtime mysql (MariaDB via ODBC) for CDR and endpoints. I get following error on almost every call hangup:

[2020-04-16 13:53:52] ERROR[6399]: json.c:607 ast_json_vpack: Error building JSON from '{s: s, s: s, s: s, s: s, s: i, s: s}': Invalid UTF-8 string.
[2020-04-16 13:53:52] ERROR[6399]:   Got 11 backtrace records
# 0: /usr/sbin/asterisk(ast_json_pack+0x99) [0x558118068449]
# 1: /usr/sbin/asterisk(__ast_test_suite_event_notify+0x1be) [0x5581180f9c0e]
# 2: /usr/sbin/asterisk(__ao2_ref+0xa6) [0x558117fde396]
# 3: /usr/lib/asterisk/modules/res_pjsip_session.so(+0x6564) [0x7f234bb65564]
# 4: /usr/sbin/asterisk(ast_taskprocessor_execute+0xd8) [0x5581180f0f58]
# 5: /usr/sbin/asterisk(+0x182220) [0x5581180fb220]
# 6: /usr/sbin/asterisk(ast_taskprocessor_execute+0xd8) [0x5581180f0f58]
# 7: /usr/sbin/asterisk(+0x181a04) [0x5581180faa04]
# 8: /usr/sbin/asterisk(+0x18849f) [0x55811810149f]
# 9: /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3) [0x7f236c941fa3]
#10: /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f236c69c4cf]

Won’t happen if I using only pjsip.conf without ps_endpoints from realtime.

As I understand this is due to that package being built with TEST_FRAMEWORK enabled (I've tried to built asterisk from sources, tested my scheme again and these errors disappeared right away). I don't think this should be enabled on production server of "stable" version of distro. But maybe I'm wrong, could you clarify this moment?

I'm not familiar with process of maintaining packages during life cycle of distro, so what do I need to do? Report a bug or something? What do you intend to do?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20200416/65482d75/attachment.html>


More information about the Pkg-voip-maintainers mailing list