<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Jeff,<br>
<br>
just ignore them - you are probably using some older version of
gcc (do gcc -v) that is wrongly detects just cases.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 02/24/2017 09:14 PM, Jeff Wilkie
wrote:<br>
</div>
<blockquote
cite="mid:CANFkrT3NEJsWPFK7m2T_73CD0ci1Ses32wBVKjegPsDMMrpi+w@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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
moz-do-not-send="true"
href="mailto:bogdan@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></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 moz-do-not-send="true" 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:
</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 moz-do-not-send="true" 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 moz-do-not-send="true" 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">
</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">
</span></font></div>
<div><a moz-do-not-send="true" 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">
</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">
</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">
<div>
<div class="gmail-m_7297501168678881711m_8404110042378758828gmail_signature">
<div dir="ltr">
<div>
<div>Jeff Wilkie
</div>
</div>
<div>
</div>
<div>
</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>
Yes, you did overlook to load the dialplan module
into your OpenSIPS (the dp_reload command is prvided
by this modules).
Regards,
</tt>
<pre class="gmail-m_7297501168678881711m_8404110042378758828gmail-m_-6425241012128427545moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" class="gmail-m_7297501168678881711m_8404110042378758828gmail-m_-6425241012128427545moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
</div></div></div></div>
</blockquote></div>
</div></div>
</blockquote>
</body></html>