Asterisk Monitor is the second application that I developed for the iOS. In this preliminary version, it has very limited functions such as monitoring the peerings, the registry and the voicemail configuration of your asterisk >=1.6. I pushed into production in order to have some feedback on it. And also I would like to hear from you, what you think and which functions I should develop in the next releases.
I already have in mind some functions such as watch the logs, being able to debug a SIP communication and much more. For some of them, I need to develop a back end. I really would like to hear from you in order to decide which functions are more appreciated and the priority that I should assign to them. Do not hesitate, to put your comments in this post.
For the moment, I will concentrate in monitoring asterisk and not pushing configuration since it will be difficult to modify the configuration from an iPhone/iPod. But I am not excluding to add some editing functionalities.
To be able to use the application you need to make some configurations on your asterisk.
First of all, edit the manager.conf that is usually under /etc/asterisk
In the general session, put yes on enabled and webenabled
Pick a new port (only a suggestion)
For this example I have a user call monAsterisk and with the password mynewpass
[general] enabled = yes webenabled = yes port = 5038 bindaddr = 0.0.0.0 [monAsterisk] secret = mynewpass deny=0.0.0.0/0.0.0.0 permit=0.0.0.0/0.0.0.0 write = system,call,agent,user,config,command,originate
Now we can modify the http.conf
[general] enabled=yes bindaddr=0.0.0.0 bindport=8088 prefix=asterisk enablestatic=yes
sslenable=no sslbindport=4433 sslbindaddr=0.0.0.0 sslcert=/etc/asterisk/mycert.pem And create the certifcate
openssl req -new -x509 -days 365 -nodes -out /etc/asterisk/mycert.pem -keyout /etc/asterisk/mycert.pem
For the moment SSL in not supported
This is only an example, please read the information that you find in each files in order to understand the configuration.
If you want to be able to use the application outside your network, you must configure your router in order to enable the incoming traffic on that port. You must be sure that the firewall of the computer hosting asterisk is configured as well.
In the version 1.00 I did not enable the ssl since I have problems to get it working.
And finaly the link to iTunes
New Version, 1.04
I have already sent for validation the 1.04 to apple, it has some added features such as, channel monitoring, hang up, and the extensions configurations.
What I am working on http://www.nasoni.net/2010/11/29/asterisk-monitor-1-10/
and finaly the version 1.10 http://www.nasoni.net/2010/12/08/asterisk-monitor-1-10-released/