Asterisk status on pfSense2.0.1 webGUI
-
I like that!
-
Maybe it will be the first alpha release of asterisk package to pfsense. :)
If freepbx runs on pfsense without issues, it will be a nice package option fro sip server/gatway/proxy.
-
Yes :)
-
Also in status_services.php if you add this at lines 271 (below the similar ntpd entry), you'll get service status info, and start/stop commands will also work correctly.
$pconfig = array(); $pconfig['name'] = "asterisk"; $pconfig['description'] = gettext("Asterisk VoIP telephony"); $services[] = $pconfig;
For the dashboard, in widgets/widgets/services_status.widget.php add this at line 76 (similarly below the similar ntpd entry):
$svcconfig = array(); $svcconfig['name'] = "asterisk"; $svcconfig['description'] = gettext("Asterisk VoIP telephony"); $services[] = $svcconfig;
-
Maybe it will be the first alpha release of asterisk package to pfsense. :)
If freepbx runs on pfsense without issues, it will be a nice package option fro sip server/gatway/proxy.
Got no clue how to make a pfSense-compatible full-blown package. Configuring Asterisk is no easy task at all, so beside status info, manual editing of config files remains for now.
Fivn's Asterisk Managemnet GUI brings much more than these, all we need to do is make it run on the box, it's just a single script.
-
Therefore Tommyboy180 or Marcello is the guys to talk to. They can make a pacakage happen and if one could use an alternate free product like Freepbx instead, then it would make a lot of PFSense… :D
-
I've extended the capability of my Asterisk Status page.
- look & feel matching pfSense's skin
- more useful status commands + reload
- detailed callog, with option to download original CSV file, trim, clear
- asterisk log, with option to trim, clear the file
Download the attached status_asterisk.zip.xls file, and rename it to status_asterisk.zip.
Copy status_asterisk.php, status_asterisk_calls.php, status_asterisk_log.php to /usr/local/www
Good luck!
-
Updates:
- calls list in reversed order
- log lines 50 instead of 200
(rename .xls to .zip after download)
-
This rocks !
Any way this becomes an insstallable pfSense package ? ::) -
It will soon. ;)
-
-
First package release is out. :)
http://forum.pfsense.org/index.php/topic,47210.msg248054.html#msg248054
I did some changes to improve stability and checks for nanobsd or normal install.
-
HI
and thats what i am looking for waiting for only great
and now my question
is it possible to get info from an external asterisk?
i have read that is possible that to make an ssh connect over php
over an ssh connection that script would work or?thx max
-
You need to enable asterisk managment to get stats but this package has no options for remote connections. Maybe you can edit asterisk.Inc file and point to your remote server
-
The first part of your answer i understood but the second part i did totaly not.
thx max
-
hi
no idea ?
max
-
Asterisk.Inc file is the script that creates asterisk config file. You can edit it to include your config to asterisk.