[OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2

Daniel Airinei daniel.airinei at opensips.org
Wed Jun 8 23:40:22 UTC 2022


Hi Bela,

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

opensips-cp/web/tools/system/cdrviewer/template/menu.php

and make sure that line 28 is "display_settings_button()"? (which is the 
function that displays the gear button).

Regarding exporting, I have indeed found some issues and they will be 
fixed as soon as possible.

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 *not***used in CP 9.3.2, 
all their content is now managed through the settings interface.

Don't hesitate to follow up,

Kind regards,

Daniel Airinei
http://www.opensips-solutions.com/

On 6/9/2022 2:00 AM, Bela H wrote:
>
> Hi Daniel,
>
> I have installed the CP 9.3.2 and it still looks the same: no gear icon.
>
> I can confirm the opensips-cp/config/globals.php file indentical to 
> the GitHub one:
>
> $config->permissions = array("read-only","read-write","admin");
>
> // Password can be saved in plain text mode by setting
>
> // $config->admin_passwd_mode to 0 or chyphered mode, by setting it to 1
>
> $config->admin_passwd_mode=1;
>
> 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.
>
> And also I found an additional problem: CDR exporting does not work, 
> the exported file is empty.
>
> Thanks for your help!
>
> Cheers,
>
> Bela
>
> *From: *Daniel Airinei <mailto:daniel.airinei at opensips.org>
> *Sent: *Wednesday, 8 June 2022 01:30
> *To: *OpenSIPS users mailling list <mailto:users at lists.opensips.org>; 
> Răzvan Crainea <mailto:razvan at opensips.org>
> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
>
> Hello Bela,
>
> If you are interested in upgrading to 9.3.2, I'd be happy to assist you
> with any issues you might encounter (I reworked most of the new settings
> feature). Regarding your gear button problem, you could first check the
> permissions in the opensips-cp/config/globals.php file, and make sure
> they look like the ones here:
> https://github.com/OpenSIPS/opensips-cp/blob/master/config/globals.php
>
> If they look the same, or if you have any additional problems, please
> let me know and I will help you out.
>
> Regards,
>
> Daniel Airinei
> http://www.opensips-solutions.com
>
> On 6/7/2022 1:32 PM, Răzvan Crainea wrote:
> > Well, this depends on the way you had set up your call forwarding
> > feature in OpenSIPS. But since most likely this is a custom handling,
> > in a custom table, you will have better experience if you are using
> > the tviewer tool în 9.3.2. So the answer is yes, it is worth upgrading
> > :).
> >
> > Best regards,
> >
> > Răzvan Crainea
> > OpenSIPS Core Developer
> > http://www.opensips-solutions.com
> >
> > On 6/7/22 11:44, Bela H wrote:
> >> Hi Răzvan,
> >>
> >> Unfortunately there was no luck, I rolled it back.
> >>
> >> However, I am not sure if this latest 9.3.2 version has the feature I
> >> was hoping for.
> >>
> >> Is there an “easy” way to configure this new CP GUI for call
> >> forwarding management? Currently I set up/modify directly in the DB.
> >>
> >> Cheers,
> >>
> >> Bela
> >>
> >> *From: *Răzvan Crainea <mailto:razvan at opensips.org 
> <mailto:razvan at opensips.org>>
> >> *Sent: *Tuesday, 7 June 2022 20:36
> >> *To: *users at lists.opensips.org <mailto:users at lists.opensips.org 
> <mailto:users at lists.opensips.org>>
> >> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
> >>
> >> Hi, Bela!
> >>
> >> Did you manage to sort this out? If not, perhaps Daniel, the guy who
> >> reworked the settings feature might be able to help you out.
> >>
> >> Best regards,
> >>
> >> Răzvan Crainea
> >> OpenSIPS Core Developer
> >> http://www.opensips-solutions.com <http://www.opensips-solutions.com>
> >>
> >> On 5/18/22 09:06, Bogdan-Andrei Iancu wrote:
> >>  > Hi Bela,
> >>  >
> >>  > OK, be sure the user you are using to log into CP has the "admin"
> >>  > permission on the cdrviewer tool . Check this via the Admin tools
> >> -> Access.
> >>  >
> >>  > Regards,
> >>  >
> >>  > Bogdan-Andrei Iancu
> >>  >
> >>  > OpenSIPS Founder and Developer
> >>  > https://www.opensips-solutions.com
> >> <https://www.opensips-solutions.com>
> >>  > OpenSIPS eBootcamp 23rd May - 3rd June 2022
> >>  > https://opensips.org/training/OpenSIPS_eBootcamp_2022/
> >> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>
> >>  >
> >>  > On 5/18/22 12:25 AM, Bela H wrote:
> >>  >>
> >>  >> Hi Bogdan,
> >>  >>
> >>  >> I have re-installed the CP 9.3.2 but the results are same. Still
> >>  >> missing CDR fields in the CDR Viewer and no gear icon anywhere only
> >>  >> Users/Alias Management and System/Monit.
> >>  >>
> >>  >> However, in the CDR details I can see the additional fields:
> >>  >>
> >>  >> What did I wrong?
> >>  >>
> >>  >> Cheers,
> >>  >>
> >>  >> Bela
> >>  >>
> >>  >> *From: *Bogdan-Andrei Iancu <mailto:bogdan at opensips.org
> >> <mailto:bogdan at opensips.org <mailto:bogdan at opensips.org>>>
> >>  >> *Sent: *Wednesday, 18 May 2022 03:01
> >>  >> *To: *OpenSIPS users mailling list
> >> <mailto:Users at lists.opensips.org <mailto:Users at lists.opensips.org 
> <mailto:Users at lists.opensips.org>>>;
> >>  >> Bela H <mailto:hobe69 at hotmail.com <mailto:hobe69 at hotmail.com 
> <mailto:hobe69 at hotmail.com>>>
> >>  >> *Subject: *Re: [OpenSIPS-Users] OpenSIPS CP upgrade to 9.3.2
> >>  >>
> >>  >> Hi Bela,
> >>  >>
> >>  >> Does you CDRviewer look like this ?
> >>  >>
> >>  >>
> >>  >>
> >>  >> See the gear box in the right upper corner.
> >>  >>
> >>  >> And be sure that the 9.3.2 version is indeed displayed in the left
> >>  >> upper corner.
> >>  >>
> >>  >> Regards,
> >>  >>
> >>  >> Bogdan-Andrei Iancu
> >>  >> OpenSIPS Founder and Developer
> >>  >> https://www.opensips-solutions.com
> >> <https://www.opensips-solutions.com>
> >> <https://www.opensips-solutions.com
> >> <https://www.opensips-solutions.com>>
> >>  >> OpenSIPS eBootcamp 23rd May - 3rd June 2022
> >>  >> https://opensips.org/training/OpenSIPS_eBootcamp_2022/
> >> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>
> >> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/
> >> <https://opensips.org/training/OpenSIPS_eBootcamp_2022/>>
> >>  >>
> >>  >> On 5/17/22 10:55 AM, Bela H wrote:
> >>  >>
> >>  >>     Hello,
> >>  >>
> >>  >>     What is the best method to upgrade the control panel from
> >> 8.3.2 to
> >>  >>     9.3.2?
> >>  >>
> >>  >>     I had some extra fields e.g. in CDR viewer and disappeared 
> after
> >>  >>     9.3.2. It is in the file
> >>  >>
> >> /var/www/html/opensips-cp/config/tools/system/cdrviewer/local.inc.php
> >>  >>     but not visible in the CDR viewer panel only in the detailed
> >> view
> >>  >>     for each call.
> >>  >>
> >>  >>     Also I don’t see this gear icon Bogdan mentioned in the blog:
> >> Each
> >>  >>     tool has its own Settings panel “accessible via the 
> gear-icon in
> >>  >>     the right side of the tool header”.
> >>  >>
> >>  >>     Cheers,
> >>  >>
> >>  >>     Bela
> >>  >>
> >>  >>
> >>  >>
> >>  >> _______________________________________________
> >>  >>
> >>  >>     Users mailing list
> >>  >>
> >>  >> Users at lists.opensips.org <mailto:Users at lists.opensips.org
> >> <mailto:Users at lists.opensips.org <mailto:Users at lists.opensips.org>>>
> >>  >>
> >>  >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
> >> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>>
> >>  >>
> >>  >
> >>  >
> >>  > _______________________________________________
> >>  > Users mailing list
> >>  > Users at lists.opensips.org
> >>  > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at lists.opensips.org
> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
> >>
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at lists.opensips.org
> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220609/5f06033a/attachment-0001.html>


More information about the Users mailing list