<div>Hello there,<br></div><div><br></div><div>Hope you're doing well, I really appreciate your work.<br></div><div><br></div><div>I’m in the process of migrating to version 16 and migrating from chan_sip to PJSIP.<br></div><div>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.</div><div><br></div><div>I'm using realtime mysql (MariaDB via ODBC) for CDR and endpoints. I get following error on almost every call hangup:<br></div><div><br></div><div>[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.<br></div><div>[2020-04-16 13:53:52] ERROR[6399]:   Got 11 backtrace records<br></div><div># 0: /usr/sbin/asterisk(ast_json_pack+0x99) [0x558118068449]<br></div><div># 1: /usr/sbin/asterisk(__ast_test_suite_event_notify+0x1be) [0x5581180f9c0e]<br></div><div># 2: /usr/sbin/asterisk(__ao2_ref+0xa6) [0x558117fde396]<br></div><div># 3: /usr/lib/asterisk/modules/res_pjsip_session.so(+0x6564) [0x7f234bb65564]<br></div><div># 4: /usr/sbin/asterisk(ast_taskprocessor_execute+0xd8) [0x5581180f0f58]<br></div><div># 5: /usr/sbin/asterisk(+0x182220) [0x5581180fb220]<br></div><div># 6: /usr/sbin/asterisk(ast_taskprocessor_execute+0xd8) [0x5581180f0f58]<br></div><div># 7: /usr/sbin/asterisk(+0x181a04) [0x5581180faa04]<br></div><div># 8: /usr/sbin/asterisk(+0x18849f) [0x55811810149f]<br></div><div># 9: /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3) [0x7f236c941fa3]<br></div><div>#10: /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f236c69c4cf]<br></div><div><br></div><div>Won’t happen if I using only pjsip.conf without ps_endpoints from realtime.</div><div><br></div><div>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?<br></div><div><br></div><div>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?<br></div><div><br></div><div>Thanks.<br></div><div class="protonmail_signature_block protonmail_signature_block-empty"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><div><br></div></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div><br></div>