ASTPP 5 problems

Hello guys, so we have been testing astpp 5 version, i know it says its beta but it says as well its stable for use.

So we have found a couple of bugs/errors/notes:
bugs:

  1. balance not updating. prepaid clients, after multiple calls, balance is not updating at all.
  2. callingcard does not work, shows an error with the database, some table missing it seems. showed in the fs_cli.
    notes:
    -fail2ban is installed but does not seems to be banning any ips. getting constant attacks and fail2ban is not trigger
    -was not able to use paypal sandbox mode, does not show any payment button, or any way to pay for refill for example

Anyone had those before? is the astpp team aware of those and getting those fix?
Thanks

On the calling card problem. this is the error that its show:
[ERR] mod_lua.cpp:203 /usr/share/freeswitch/scripts/astpp/scripts/astpp.xml.lua:490: attempt to compare number with nil
stack traceback:
/usr/share/freeswitch/scripts/astpp/scripts/astpp.xml.lua:490: in function ‘error_xml_without_cdr’
/usr/share/freeswitch/scripts/astpp/lib/astpp.callingcard.functions.lua:699: in function ‘process_destination’
/usr/share/freeswitch/scripts/astpp-callingcards.lua:103: in main chunk

Hello @jhonathanm ,
we have checked all your 4 concern you have raised.

1.balance not updating. prepaid clients, after multiple calls, balance is not updating at all.

— we are checking with core team, we’ll get them checked and reverted

2. callingcard does not work, shows an error with the database, some table missing it seems. showed in the fs_cli.

— We have not found any issue ,tested it and it is working fine.

3.fail2ban is installed but does not seems to be banning any ips. getting constant attacks and fail2ban is not trigger

– We have not found any issue ,tested it and it is working fine.

4.was not able to use paypal sandbox mode, does not show any payment button, or any way to pay for refill for example

— we are checking with core team, we’ll get them checked and reverted
Thanks

Hello @jhonathanm
Goodday,

For the 1st and 4th points please use this PR .

Or you can take the gitclone again and replace it with existing.

Also thank you for sharing your concerns .