<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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):<br>
    </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 class="moz-txt-link-freetext" 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><br>
    </p>
    <p><a class="moz-txt-link-freetext" 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><br>
    </p>
    <p>I don't see any reason why they wouldn't match, but it's worth
      double checking before debugging. <br>
    </p>
    <p>Let me know  and I will get back to you with the next steps if
      this is not the problem.<br>
    </p>
    <p>Cheers,</p>
    Daniel Airinei<br>
    <p><a href="http://www.opensips-solutions.com/"
        class="moz-txt-link-freetext"><font color="#ffffff">https://www.opensips-solutions.com/</font></a></p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 6/9/2022 3:20 AM, Bela H wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:SY4P282MB225283FB151AB3C2E6272A3CC0A79@SY4P282MB2252.AUSP282.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@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;}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;}div.WordSection1
        {page:WordSection1;}</style>
      <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">Thanks for your quick
            feedback!<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">The local.inc.php
            related explanation is clear now.<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 am using Firefox
            browser.<o:p></o:p></span></p>
        <p><span lang="EN-US">I can confirm the </span>opensips-cp/web/tools/system/cdrviewer/template/menu.php
          has the following:<span lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">        <?php print
            "System / CDR Viewer / ".$_SESSION['permission'];<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">         
            display_settings_button();<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">        ?><o:p></o:p></span></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.<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 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.<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">Can you please advise
            how to get any error log for this issue! Syslog does not
            show anything.<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"
              moz-do-not-send="true">Daniel Airinei</a><br>
            <b>Sent: </b>Thursday, 9 June 2022 11:40<br>
            <b>To: </b><a href="mailto:users@lists.opensips.org"
              moz-do-not-send="true">OpenSIPS users mailling list</a>;
            <a href="mailto:hobe69@hotmail.com" moz-do-not-send="true">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>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/"
            moz-do-not-send="true" class="moz-txt-link-freetext">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"
                moz-do-not-send="true">Daniel Airinei</a><br>
              <b>Sent: </b>Wednesday, 8 June 2022 01:30<br>
              <b>To: </b><a href="mailto:users@lists.opensips.org"
                moz-do-not-send="true">OpenSIPS users mailling list</a>;
              <a href="mailto:razvan@opensips.org"
                moz-do-not-send="true">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"
              moz-do-not-send="true" class="moz-txt-link-freetext">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"
              moz-do-not-send="true" class="moz-txt-link-freetext">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"
              moz-do-not-send="true" class="moz-txt-link-freetext">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" moz-do-not-send="true">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"
              moz-do-not-send="true">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"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://www.opensips-solutions.com</a>
            <<a href="http://www.opensips-solutions.com"
              moz-do-not-send="true" class="moz-txt-link-freetext">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"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>
            <br>
            >> <<a href="https://www.opensips-solutions.com"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>><br>
            >>  > OpenSIPS eBootcamp 23rd May - 3rd June 2022<br>
            >>  > <a
              href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a>
            <br>
            >> <<a
              href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/"
              moz-do-not-send="true" class="moz-txt-link-freetext">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" moz-do-not-send="true">mailto:bogdan@opensips.org</a>
            <br>
            >> <<a href="mailto:bogdan@opensips.org"
              moz-do-not-send="true">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"
              moz-do-not-send="true">mailto:Users@lists.opensips.org</a>
            <<a href="mailto:Users@lists.opensips.org"
              moz-do-not-send="true">mailto:Users@lists.opensips.org</a>>>;<br>
            >>  >> Bela H <<a
              href="mailto:hobe69@hotmail.com" moz-do-not-send="true">mailto:hobe69@hotmail.com</a>
            <<a href="mailto:hobe69@hotmail.com"
              moz-do-not-send="true">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"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>
            <br>
            >> <<a href="https://www.opensips-solutions.com"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>>
            <br>
            >> <<a href="https://www.opensips-solutions.com"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>
            <br>
            >> <<a href="https://www.opensips-solutions.com"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>>><br>
            >>  >> OpenSIPS eBootcamp 23rd May - 3rd June
            2022<br>
            >>  >> <a
              href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a>
            <br>
            >> <<a
              href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a>>
            <br>
            >> <<a
              href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a>
            <br>
            >> <<a
              href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/"
              moz-do-not-send="true" class="moz-txt-link-freetext">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"
              moz-do-not-send="true" class="moz-txt-link-freetext">Users@lists.opensips.org</a>
            <<a href="mailto:Users@lists.opensips.org"
              moz-do-not-send="true">mailto:Users@lists.opensips.org</a>
            <br>
            >> <<a href="mailto:Users@lists.opensips.org"
              moz-do-not-send="true">mailto:Users@lists.opensips.org</a>>><br>
            >>  >><br>
            >>  >> <a
              href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
            <br>
            >> <<a
              href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>>
            <br>
            >> <<a
              href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
            <br>
            >> <<a
              href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>>><br>
            <br>
            <br>
            <o:p></o:p></p>
          <pre>_______________________________________________</pre>
          <pre>Users mailing list</pre>
          <pre><a href="mailto:Users@lists.opensips.org" moz-do-not-send="true" class="moz-txt-link-freetext">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" moz-do-not-send="true" class="moz-txt-link-freetext">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>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>