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.
I want to setup multiple PERMIT hosts in my SIP CLIENT
I put this in the form in PERMIT field: HOST1, HOST2
I not use Realtime, when i run script that generate the SIP file, the file generate is:
[123456789]
deny=0.0.0.0/0.0.0.0
permit=HOST1,HOST2
Don´t work. So i change this file
/common/lib/Class.Realtime.php, line 106:
if (trim($list_names[$i]) == 'allow') {
to
if (trim($list_names[$i]) == 'allow' || trim($list_names[$i]) == 'permit') {
And the file generate is:
[123456789]
deny=0.0.0.0/0.0.0.0
permit=HOST1
permit=HOST2
It´s work. Please, change this file in project for the next version.
To be coherent we need a solution that will work on both realtime and file.
As we are about to release V2, please reopen the ticket if you can provide a fix for the new version.
I want to setup multiple PERMIT hosts in my SIP CLIENT
I put this in the form in PERMIT field: HOST1, HOST2
I not use Realtime, when i run script that generate the SIP file, the file generate is:
[123456789]
deny=0.0.0.0/0.0.0.0 permit=HOST1,HOST2
Don´t work. So i change this file
/common/lib/Class.Realtime.php, line 106: if (trim($list_names[$i]) == 'allow') { to if (trim($list_names[$i]) == 'allow' || trim($list_names[$i]) == 'permit') {
And the file generate is:
[123456789]
deny=0.0.0.0/0.0.0.0 permit=HOST1 permit=HOST2
It´s work. Please, change this file in project for the next version.
Thanks.