<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-NZ" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi Daniel,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I went other direction as well with the troubleshooting: asked my colleague to check the behavior of CP from the office environment since I work from home. This is really odd but works fine from there with the same browser!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">That means nothing wrong with the CP 9.3.2.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks for your help on this and really sorry to waste your time!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Please let me know if you have further update on the CDR exporting function.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Bela</span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><b>From: </b><a href="mailto:daniel.airinei@opensips.org">Daniel Airinei</a><br>
<b>Sent: </b>Thursday, 9 June 2022 12:55<br>
<b>To: </b><a href="mailto:users@lists.opensips.org">OpenSIPS users mailling list</a>;
<a href="mailto:hobe69@hotmail.com">Bela H</a><br>
<b>Subject: </b>Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>It is unexpected that only some tools have the gear button. Could you also quickly check that the files (these are two other files that are involved in displaying the button):</p>
<p>opensips-cp/config/tools/system/cdrviewer/settings.inc.php</p>
<p>opensips-cp/config/modules.inc.php</p>
<p>look like the files here:</p>
<p><a href="https://github.com/OpenSIPS/opensips-cp/blob/master/config/tools/system/cdrviewer/settings.inc.php">https://github.com/OpenSIPS/opensips-cp/blob/master/config/tools/system/cdrviewer/settings.inc.php</a></p>
<p><a href="https://github.com/OpenSIPS/opensips-cp/blob/master/config/modules.inc.php">https://github.com/OpenSIPS/opensips-cp/blob/master/config/modules.inc.php</a></p>
<p>I don't see any reason why they wouldn't match, but it's worth double checking before debugging.
</p>
<p>Let me know and I will get back to you with the next steps if this is not the problem.</p>
<p>Cheers,</p>
<p class="MsoNormal">Daniel Airinei<o:p></o:p></p>
<p><a href="http://www.opensips-solutions.com/"><span style="color:white">https://www.opensips-solutions.com/</span></a></p>
<p><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 6/9/2022 3:20 AM, Bela H wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US">Hi Daniel,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Thanks for your quick feedback!</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">The local.inc.php related explanation is clear now.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I am using Firefox browser.</span><o:p></o:p></p>
<p><span lang="EN-US">I can confirm the </span>opensips-cp/web/tools/system/cdrviewer/template/menu.php has the following:</p>
<p class="MsoNormal"><span lang="EN-US"> <?php print "System / CDR Viewer / ".$_SESSION['permission'];</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> display_settings_button();</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> ?></span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">As I mentioned in my original mail, the /Users/Alias Management menu has the gear icon. Compared that menu.php file with the cdrviewer menu.php and are identical apart from the obvious
<span lang="EN-US">"System / CDR Viewer / " part.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I have only one user defined for CP, admin that is with “admin” access to everything. However, if I change the access to “read-only” for Alias Management I still see the gear icon and even able to modify e.g. the result
per page value from the gear icon setting.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Can you please advise how to get any error log for this issue! Syslog does not show anything.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Cheers,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Bela</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From: </b><a href="mailto:daniel.airinei@opensips.org">Daniel Airinei</a><br>
<b>Sent: </b>Thursday, 9 June 2022 11:40<br>
<b>To: </b><a href="mailto:users@lists.opensips.org">OpenSIPS users mailling list</a>;
<a href="mailto:hobe69@hotmail.com">Bela H</a><br>
<b>Subject: </b>Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2<o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p>Hi Bela,</p>
<p>Thanks for reaching out. CP 9.3.2 does not use local.inc.php files anymore, you should use the settings interface for additional CDR fields (the one accessed through the gear button we are talking about). Could you access any tool in the CP and then send
me the error log? What browser are you using? Could you check, for example, the file</p>
<p>opensips-cp/web/tools/system/cdrviewer/template/menu.php</p>
<p>and make sure that line 28 is "display_settings_button()"? (which is the function that displays the gear button).</p>
<p>Regarding exporting, I have indeed found some issues and they will be fixed as soon as possible.</p>
<p>Additionally, you have mentioned in an earlier mail that you see extra fields from local.inc.php in the details tab, but not in the CDR viewer panel. That is probably because those fields were still in your database, and the details tab fetches all fields
directly, whereas in the CDR viewer panel, you will see only the fields you have configured through the gear button settings interface (so no extra fields in your case). But local.inc.php files for tools are
<b>not </b>used in CP 9.3.2, all their content is now managed through the settings interface.</p>
<p>Don't hesitate to follow up, </p>
<p>Kind regards,</p>
<p>Daniel Airinei<br>
<a href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com/</a></p>
<div>
<p class="MsoNormal">On 6/9/2022 2:00 AM, Bela H wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US">Hi Daniel,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I have installed the CP 9.3.2 and it still looks the same: no gear icon.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I can confirm the </span>opensips-cp/config/globals.php file indentical to the GitHub one:<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">$config->permissions = array("read-only","read-write","admin");</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">// Password can be saved in plain text mode by setting</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">// $config->admin_passwd_mode to 0 or chyphered mode, by setting it to 1</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">$config->admin_passwd_mode=1;</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">One more question: is the /cdrviewer/local.inc.php config used at all? In the CP 8.3.2 I modified that one for additional CDR fields but CP 9.3.2 uses the settings.inc.php file.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">And also I found an additional problem: CDR exporting does not work, the exported file is empty.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thanks for your help!<o:p></o:p></p>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
<p class="MsoNormal">Bela<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From: </b><a href="mailto:daniel.airinei@opensips.org">Daniel Airinei</a><br>
<b>Sent: </b>Wednesday, 8 June 2022 01:30<br>
<b>To: </b><a href="mailto:users@lists.opensips.org">OpenSIPS users mailling list</a>;
<a href="mailto:razvan@opensips.org">Răzvan Crainea</a><br>
<b>Subject: </b>Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2<o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Hello Bela,<br>
<br>
If you are interested in upgrading to 9.3.2, I'd be happy to assist you <br>
with any issues you might encounter (I reworked most of the new settings <br>
feature). Regarding your gear button problem, you could first check the <br>
permissions in the opensips-cp/config/globals.php file, and make sure <br>
they look like the ones here: <br>
<a href="https://github.com/OpenSIPS/opensips-cp/blob/master/config/globals.php">https://github.com/OpenSIPS/opensips-cp/blob/master/config/globals.php</a><br>
<br>
If they look the same, or if you have any additional problems, please <br>
let me know and I will help you out.<br>
<br>
Regards,<br>
<br>
Daniel Airinei<br>
<a href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<br>
On 6/7/2022 1:32 PM, Răzvan Crainea wrote:<br>
> Well, this depends on the way you had set up your call forwarding <br>
> feature in OpenSIPS. But since most likely this is a custom handling, <br>
> in a custom table, you will have better experience if you are using <br>
> the tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading <br>
> :).<br>
><br>
> Best regards,<br>
><br>
> Răzvan Crainea<br>
> OpenSIPS Core Developer<br>
> <a href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
><br>
> On 6/7/22 11:44, Bela H wrote:<br>
>> Hi Răzvan,<br>
>><br>
>> Unfortunately there was no luck, I rolled it back.<br>
>><br>
>> However, I am not sure if this latest 9.3.2 version has the feature I <br>
>> was hoping for.<br>
>><br>
>> Is there an “easy” way to configure this new CP GUI for call <br>
>> forwarding management? Currently I set up/modify directly in the DB.<br>
>><br>
>> Cheers,<br>
>><br>
>> Bela<br>
>><br>
>> *From: *Răzvan Crainea <<a href="mailto:razvan@opensips.org">mailto:razvan@opensips.org</a>><br>
>> *Sent: *Tuesday, 7 June 2022 20:36<br>
>> *To: *users@lists.opensips.org <<a href="mailto:users@lists.opensips.org">mailto:users@lists.opensips.org</a>><br>
>> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2<br>
>><br>
>> Hi, Bela!<br>
>><br>
>> Did you manage to sort this out? If not, perhaps Daniel, the guy who<br>
>> reworked the settings feature might be able to help you out.<br>
>><br>
>> Best regards,<br>
>><br>
>> Răzvan Crainea<br>
>> OpenSIPS Core Developer<br>
>> <a href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> <<a href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>><br>
>><br>
>> On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:<br>
>> > Hi Bela,<br>
>> ><br>
>> > OK, be sure the user you are using to log into CP has the "admin"<br>
>> > permission on the cdrviewer tool . Check this via the Admin tools <br>
>> -> Access.<br>
>> ><br>
>> > Regards,<br>
>> ><br>
>> > Bogdan-Andrei Iancu<br>
>> ><br>
>> > OpenSIPS Founder and Developer<br>
>> > <a href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<br>
>> <<a href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>><br>
>> > OpenSIPS eBootcamp 23rd May - 3rd June 2022<br>
>> > <a href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a>
<br>
>> <<a href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a>><br>
>> ><br>
>> > On 5/18/22 12:25 AM, Bela H wrote:<br>
>> >><br>
>> >> Hi Bogdan,<br>
>> >><br>
>> >> I have re-installed the CP 9.3.2 but the results are same. Still<br>
>> >> missing CDR fields in the CDR Viewer and no gear icon anywhere only<br>
>> >> Users/Alias Management and System/Monit.<br>
>> >><br>
>> >> However, in the CDR details I can see the additional fields:<br>
>> >><br>
>> >> What did I wrong?<br>
>> >><br>
>> >> Cheers,<br>
>> >><br>
>> >> Bela<br>
>> >><br>
>> >> *From: *Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>
<br>
>> <<a href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>>><br>
>> >> *Sent: *Wednesday, 18 May 2022 03:01<br>
>> >> *To: *OpenSIPS users mailling list <br>
>> <<a href="mailto:Users@lists.opensips.org">mailto:Users@lists.opensips.org</a> <<a href="mailto:Users@lists.opensips.org">mailto:Users@lists.opensips.org</a>>>;<br>
>> >> Bela H <<a href="mailto:hobe69@hotmail.com">mailto:hobe69@hotmail.com</a> <<a href="mailto:hobe69@hotmail.com">mailto:hobe69@hotmail.com</a>>><br>
>> >> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2<br>
>> >><br>
>> >> Hi Bela,<br>
>> >><br>
>> >> Does you CDRviewer look like this ?<br>
>> >><br>
>> >><br>
>> >><br>
>> >> See the gear box in the right upper corner.<br>
>> >><br>
>> >> And be sure that the 9.3.2 version is indeed displayed in the left<br>
>> >> upper corner.<br>
>> >><br>
>> >> Regards,<br>
>> >><br>
>> >> Bogdan-Andrei Iancu<br>
>> >> OpenSIPS Founder and Developer<br>
>> >> <a href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<br>
>> <<a href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>>
<br>
>> <<a href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<br>
>> <<a href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>>><br>
>> >> OpenSIPS eBootcamp 23rd May - 3rd June 2022<br>
>> >> <a href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a>
<br>
>> <<a href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a>>
<br>
>> <<a href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a>
<br>
>> <<a href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a>>><br>
>> >><br>
>> >> On 5/17/22 10:55 AM, Bela H wrote:<br>
>> >><br>
>> >> Hello,<br>
>> >><br>
>> >> What is the best method to upgrade the control panel from <br>
>> 8.3.2 to<br>
>> >> 9.3.2?<br>
>> >><br>
>> >> I had some extra fields e.g. in CDR viewer and disappeared after<br>
>> >> 9.3.2. It is in the file<br>
>> >> <br>
>> /var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php<br>
>> >> but not visible in the CDR viewer panel only in the detailed <br>
>> view<br>
>> >> for each call.<br>
>> >><br>
>> >> Also I don’t see this gear icon Bogdan mentioned in the blog: <br>
>> Each<br>
>> >> tool has its own Settings panel “accessible via the gear-icon in<br>
>> >> the right side of the tool header”.<br>
>> >><br>
>> >> Cheers,<br>
>> >><br>
>> >> Bela<br>
>> >><br>
>> >><br>
>> >><br>
>> >> _______________________________________________<br>
>> >><br>
>> >> Users mailing list<br>
>> >><br>
>> >> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <<a href="mailto:Users@lists.opensips.org">mailto:Users@lists.opensips.org</a>
<br>
>> <<a href="mailto:Users@lists.opensips.org">mailto:Users@lists.opensips.org</a>>><br>
>> >><br>
>> >> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
<br>
>> <<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>>
<br>
>> <<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
<br>
>> <<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>>><br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________</pre>
<pre>Users mailing list</pre>
<pre><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a></pre>
</blockquote>
<pre style="mso-margin-top-alt:0cm;margin-right:36.0pt;margin-bottom:5.0pt;margin-left:36.0pt"><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></pre>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> </span><o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________</pre>
<pre>Users mailing list</pre>
<pre><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a></pre>
</blockquote>
<pre style="mso-margin-top-alt:0cm;margin-right:36.0pt;margin-bottom:5.0pt;margin-left:36.0pt"><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></pre>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
</div>
</body>
</html>