<div dir="auto">Add a log in the config on each location and correlate with the error log.</div><div dir="auto"><br></div><div dir="auto">-ovidiu</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 24, 2021 at 22:37 Daniel W. Graham <<a href="mailto:dan@cmsinter.net">dan@cmsinter.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">





<div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="m_8501468111842254971WordSection1">
<p class="MsoNormal"><span style="font-size:11pt">That’s what I’m looking to do, but there are lots of locations in the config file json is used and the error doesn’t give any indication what call to jansson_get is causing the error.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">-dan<u></u><u></u></span></p></div></div><div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word"><div class="m_8501468111842254971WordSection1">
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div style="border-style:solid none none;border-top-width:1pt;padding:3pt 0in 0in;border-top-color:rgb(181,196,223)">
<p class="MsoNormal" style="margin-bottom:12pt"><b><span style="font-size:12pt;color:black">From:
</span></b><span style="font-size:12pt;color:black">sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank">sr-users-bounces@lists.kamailio.org</a>> on behalf of Fred Posner <<a href="mailto:fred@palner.com" target="_blank">fred@palner.com</a>><br>
<b>Date: </b>Wednesday, November 24, 2021 at 10:11 PM<br>
<b>To: </b><a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a> <<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>><br>
<b>Subject: </b>Re: [SR-Users] JSON Error<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt"><span style="font-size:11pt">Are you verifying the document is valid JSON?<br>
<br>
Fred Posner | <a href="http://palner.com" target="_blank">palner.com</a><br>
Matrix: @fred:<a href="http://matrix.lod.com" target="_blank">matrix.lod.com</a><br>
o: +1 (212) 937-7844<br>
<br>
On 11/24/21 7:47 PM, Daniel W. Graham wrote:<br>
> My log is filled with this and have been unsuccessful locating<br>
> additional information by increasing debug level.<br>
> <br>
>  <br>
> <br>
> Any thoughts on how to quickly isolate?<br>
> <br>
>  <br>
> <br>
> /usr/local/sbin/kamailio[7678]: ERROR: jansson [jansson_funcs.c:48]:<br>
> janssonmod_get_helper(): json error at line 1, col 0: '[' or '{'<br>
> expected near end of file<br>
> <br>
> /usr/local/sbin/kamailio[7677]: ERROR: jansson [jansson_funcs.c:46]:<br>
> janssonmod_get_helper(): failed to parse json:<br>
> <br>
> /usr/local/sbin/kamailio[7677]: ERROR: jansson [jansson_funcs.c:48]:<br>
> janssonmod_get_helper(): json error at line 1, col 0: '[' or '{'<br>
> expected near end of file<br>
> <br>
> /usr/local/sbin/kamailio[7675]: ERROR: jansson [jansson_funcs.c:46]:<br>
> janssonmod_get_helper(): failed to parse json:<br>
> <br>
> /usr/local/sbin/kamailio[7675]: ERROR: jansson [jansson_funcs.c:48]:<br>
> janssonmod_get_helper(): json error at line 1, col 0: '[' or '{'<br>
> expected near end of file<br>
> <br>
>  <br>
> <br>
> -dan<br>
> <br>
>  <br>
> <br>
> <br>
> __________________________________________________________<br>
> Kamailio - Users Mailing List - Non Commercial Discussions<br>
>   * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
> Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
> Edit mailing list options or unsubscribe:<br>
>   * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
> <br>
<br>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
<u></u><u></u></span></p>
</div>
</div>
</div>

__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">VoIP Embedded, Inc.<br><a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a></div>