Star2Billing / a2billing

A2Billing is a telecom switch and billing system capable of providing and billing a range of telecom products and services to customers such as calling card products, residential and wholesale VoIP termination, DID resale and callback services.
www.asterisk2billing.org
Other
180 stars 174 forks source link

A2Billing 2.1 still with bug on A2B_entity_friend.php?form_action=ask-edit&atmenu=sip #96

Closed ale-trevizoli closed 9 years ago

ale-trevizoli commented 9 years ago

Hi. We upgrade from 2.0.16 to 2.1 because since 2.0.16 have bug on Add and Edit of Voip Settings (SIP). SetVar field don't accept '=' character and if you put example test=1 on that field after save it became test1. Another bug since 2.0.16 is after post it's return to wrong place. Instead it return to admin/Public/A2B_entity_friend.php?atmenu=sip&section=1 it goes to admin/Public/A2B_entity_friend.php showing IAX list instead.

Our main ploblem is with SETVAR because we use it to set local code area for our customers. If you have something to help us please advice.

Thanks!

areski commented 9 years ago

you could comment this line, but you will expose to some security issue https://github.com/Star2Billing/a2billing/blob/develop/common/lib/Misc.php#L290

ale-trevizoli commented 9 years ago

Areski thank you. Another bug is when we click on save form on VOIP Settings(SIP-when we are editing) it's come back to wrong place (IAX) settings. Is possible to resolve it? Thanks again!