<div dir="ltr">Compiling the 2.2.3, I'm seeing several warnings of similar type below:<div><br></div><div><p style="margin:0px;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, helvetica, sans-serif">lookup.c: In function ‘is_contact_registered’:</font></span></p>
<p style="margin:0px;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, helvetica, sans-serif">lookup.c:559: warning: ‘callid.len’ may be used uninitialized in this function</font></span></p>
<p style="margin:0px;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, helvetica, sans-serif">lookup.c:559: warning: ‘callid.s’ may be used uninitialized in this function</font></span></p><p style="margin:0px;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, helvetica, sans-serif"><br></font></span></p><p style="margin:0px;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, helvetica, sans-serif">dlg_replication.c: In function ‘dlg_replicated_profiles’:</font></span></p><p style="margin:0px;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, helvetica, sans-serif">dlg_replication.c:838: warning: ‘old_name.s’ may be used uninitialized in this function</font></span></p><p style="margin:0px;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, helvetica, sans-serif">
</font></span></p><p style="margin:0px;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, helvetica, sans-serif">dlg_replication.c:838: warning: ‘old_name.len’ may be used uninitialized in this function</font></span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><p style="margin:0px;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, helvetica, sans-serif">Is this anything to worry about?</font></span></p></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div>Jeff Wilkie<br></div></div><br></div></div></div>
<br><div class="gmail_quote">On Fri, Feb 24, 2017 at 12:21 PM, Jeff Wilkie <span dir="ltr"><<a href="mailto:jwilkie@usipcom.com" target="_blank">jwilkie@usipcom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Thanks Bogdan, I will dl 2.2.3 and retest. This error occurred on the following BTW<div><br></div><div><pre style="color:rgb(0,0,0);font-size:12px">Array
(
[Server] => OpenSIPS (2.3.0-dev (x86_64/linux))
)</pre></div><div class="gmail_extra"><span class="gmail-HOEnZb"><font color="#888888"><br clear="all"><div><div class="gmail-m_7297501168678881711gmail_signature"><div dir="ltr"><div><div>Jeff Wilkie<br></div></div></div></div></div></font></span><div><div class="gmail-h5"><br><div class="gmail_quote">On Fri, Feb 24, 2017 at 4:46 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF">
<tt>Hi Jeff,<br>
<br>
There was an issue on how the MI output of the address_dump was
formated when using JSON. This issue was leading to an invalid
JSON being returned. And CP was dropping the returned JSON as not
able being able to parse it. If you do the direct web query, there
is nothing to parse/validate the JSON, so it is displayed.<br>
<br>
The issue was fixed in latest 2.2, so please grab the 2.2.3 and
give it a try please.<br>
<br>
Best regards,<br>
</tt><span>
<pre class="gmail-m_7297501168678881711m_8404110042378758828moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="gmail-m_7297501168678881711m_8404110042378758828moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre>
</span><div><div class="gmail-m_7297501168678881711h5"><div class="gmail-m_7297501168678881711m_8404110042378758828moz-cite-prefix">On 02/22/2017 08:24 PM, Jeff Wilkie
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Ok, question part 2, now that the proper module is
loaded :) From the MI interface in CP, I have 1 small issue.
Using json to interface with opensips, I execute the command "<b style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:12px">address_dump"
</b><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:12px">and
execute. I receive the output of address dump</span><b style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:12px"> </b><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:12px"><span style="background-color:rgb(233,236,239)"> | son:<a href="http://127.0.0.1:8888/json" target="_blank">127.0.0.1:8888/json</a></span><span style="background-color:rgb(255,255,255)"> </span></span></font><font color="#000000"><span style="font-size:12px">Succe<wbr>ssfully
executed, no output generated. Other commands like
domain_dump work as expected in the SYSTEM/MI interface. If
I bypass CP and use web direct command <a href="http://127.0.0.1:8888/json/address_dump" target="_blank">127.0.0.1:8888/json/address_du<wbr>mp</a>
I receive the proper output. Not sure why CP provides no
output from this command though.</span></font>
<div><font color="#000000"><span style="font-size:12px"><br>
</span></font></div>
<div><font color="#000000"><span style="font-size:12px">The web
query directly looks like this as a response when not
using MI via CP</span></font></div>
<div><font color="#000000"><span style="font-size:12px"><br>
</span></font></div>
<div><a href="http://10.10.20.229:8888/json/address_dump" target="_blank">http://10.10.20.229:8888/json/<wbr>address_dump</a><font color="#000000"><span style="font-size:12px"><br>
</span></font></div>
<div>
<pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">{"part": [{"value":"default", "children":{"dest": [{"value":" 8 <10.10.10.99,2, 5060, 1, NULL, 1515599999>"}, {"value":" 19 <10.10.20.193,2, 5060, 1, NULL, 1515599999>"}, {"value":" 81 <192.168.1.203,1, 5060, 1, NULL, NULL>"}]}}]}</pre>
<div><font color="#000000"><span style="font-size:12px"><br>
</span></font></div>
<div><font color="#000000"><span style="font-size:12px">It's
not a show stopper but bugging me why it doesn't work
for that command only from what I can tell from initial
testing. </span></font></div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail-m_7297501168678881711m_8404110042378758828gmail_signature">
<div dir="ltr">
<div>
<div>Jeff Wilkie<br>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF"><tt><br>
Yes, you did overlook to load the dialplan module
into your OpenSIPS (the dp_reload command is prvided
by this modules).<br>
<br>
Regards,<br>
</tt>
<pre class="gmail-m_7297501168678881711m_8404110042378758828gmail-m_-6425241012128427545moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="gmail-m_7297501168678881711m_8404110042378758828gmail-m_-6425241012128427545moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre><div><div class="gmail-m_7297501168678881711m_8404110042378758828gmail-h5">
<div class="gmail-m_7297501168678881711m_8404110042378758828gmail-m_-6425241012128427545moz-cite-prefix">On 02/22/2017 05:56 PM, Jeff Wilkie
wrote:
</div>
</div></div><blockquote type="cite"><div><div class="gmail-m_7297501168678881711m_8404110042378758828gmail-h5">
<div dir="ltr"><font color="#000000"><font face="arial, helvetica,
sans-serif">When using the mi_json module combined with CP,
it appears that not all of the functions were ported over
for this interaction to complete 100%. JSON enabled
in opensips-cp/config/<a href="http://boxes.gl" target="_blank">boxes.gl</a><wbr>obal.inc.php only allows some
commands to work. One particular command that appears to
not be working is under SYSTEM/DIALPLAN of CP when you
attempt to hit "apply to server". I receive a </font><span style="font-family:arial,helvetica,sans-serif;text-align:-webkit-center">Sending
to </span><b style="font-family:arial,helvetica,sans-serif;text-align:-webkit-center">json:<a href="http://127.0.0.1:8888/json" target="_blank">127.0.0.1:8888/json</a></b><span style="font-family:arial,helvetica,sans-serif;text-align:-webkit-center"> : </span><font style="text-align:-webkit-center"><font face="arial,
helvetica, sans-serif"><wbr>Error code 500 (Command not found)
for the dp_reload command. If I do the same thing under
the SYSTEM/PERMISSIONS page "apply to server" returns
success for address_reload.</font></font></font><font color="#000000" face="arial, helvetica, sans-serif"><font style="text-align:-webkit-center"> Is this a known issue?
Did I overlook something small in the config? How do I
remedy this issue? </font></font>
<div>
<div style="text-align:left"><font color="#ff0000" face="sans-serif"><span style="font-size:12px">
</span></font></div>
<div style="text-align:left"><font color="#000000" face="sans-serif"><span style="font-size:12px">Thanks</span></font></div>
<div style="text-align:left"><font color="#ff0000" face="sans-serif"><span style="font-size:12px">
</span></font></div>
<div>
<div>
<div>
<div class="gmail-m_7297501168678881711m_8404110042378758828gmail-m_-6425241012128427545gmail_signature">
<div dir="ltr">
<div>
<div>Jeff Wilkie
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<fieldset class="gmail-m_7297501168678881711m_8404110042378758828gmail-m_-6425241012128427545mimeAttachmentHeader"></fieldset>
</div></div><pre>______________________________<wbr>_________________
Users mailing list
<a class="gmail-m_7297501168678881711m_8404110042378758828gmail-m_-6425241012128427545moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="gmail-m_7297501168678881711m_8404110042378758828gmail-m_-6425241012128427545moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
</blockquote></div>
</div></div></div>
</blockquote>
</div></div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>