- Joined
- Jul 14, 2007
- Messages
- 120
- Reaction score
- 0
Hello.
I've done an installation on a customer provided of Wireless connectivity.
Due to the low quality of the line I need a script that re registrer the lines evey 5 minutes.
Look that I dont need to restart 3cx every 5 minutes, I need to simulate the "register the line" button present on php page:
line_configuration.php?selected[]=1
Lookgin on the PHP file it seem that this button call the page:
gateway_lines_upd.php?action=7&selected[]=1
where
action=7 is the re registration request
and
selected[]=1 is the line ID to re registrer.
I've tried to call directly a scheduled request to:
http://IP:5481/gateway_lines_upd.php?action=7&selected[]=1
but I'm not logged as administrator on the admin website so this results on a redirect login page.
Is there a way to bypass the asmin page to simply do a scheduled re registrer every 5 minutes?
thanx
I've done an installation on a customer provided of Wireless connectivity.
Due to the low quality of the line I need a script that re registrer the lines evey 5 minutes.
Look that I dont need to restart 3cx every 5 minutes, I need to simulate the "register the line" button present on php page:
line_configuration.php?selected[]=1
Lookgin on the PHP file it seem that this button call the page:
gateway_lines_upd.php?action=7&selected[]=1
where
action=7 is the re registration request
and
selected[]=1 is the line ID to re registrer.
I've tried to call directly a scheduled request to:
http://IP:5481/gateway_lines_upd.php?action=7&selected[]=1
but I'm not logged as administrator on the admin website so this results on a redirect login page.
Is there a way to bypass the asmin page to simply do a scheduled re registrer every 5 minutes?
thanx