asterisk2billing.org
http://forum.asterisk2billing.org/

upgrading to Centos 7.2
http://forum.asterisk2billing.org/viewtopic.php?f=21&t=12120
Page 1 of 1

Author:  cerien [ Tue Jan 19, 2016 4:22 pm ]
Post subject:  upgrading to Centos 7.2

Hello
I've been using a2b 1.4 for a number of years, and I have developed some addons (for billing, converting bill to pdf, etc).

I am replacing the production server with a new one, that will run centos 7.2, with php 5.4.16, and asterisk 13 (or 11 maybe) - Because of the changes made, I want to keep the same version of a2b, it fits my needs.

I am at the beginning of the testing, and oddly enough, it goes very well - I had two minor changes to do, and the web interface works, and a2billing agi also rates correctly - in my use case.

Now, I'd like to use AGI instead of DeadAgi (it is now a warning with Asterisk 13.6), to have the system running in the most clean way. Well, strangely enough, it works, no worries. I only get a message stating that HANGUP is "Not Permitted on a dead channel" - but looking at the code, it is at the very end, doesnt stop execution (if I activate the "final" message, I get two of these errors), and rating is fine

Is it just my lucky day that AGI works so well, or is something going to blow in my face one day ?

Thanks for your replies
J.

note: I've read: https://forum.asterisk2billing.org/view ... =33&t=9658

note2: changes made to have 1.4 running with php5.4.16
common/lib/admin.module.access.php
=> replace session_is_registered with isset($_SESSION[...

common/lib/phpagi/phpagi.php
=> rename goto as gotoctx - but not used anywhere else it appears

Author:  jroper [ Tue Jan 26, 2016 5:29 pm ]
Post subject:  Re: upgrading to Centos 7.2

Hi

You really need to be using the most upto date version of A2Billing, there are some massive security upgrades since version 2.x, so I would recommend porting your changes over to the latest version

Yours

Joe

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/