Entries Comments

Alex Mace’s Blog

Life & Web Development

Posts Tagged ‘Asterisk’

Shorewall

With my adventures in playing with Asterisk I have found an application that is possibly even more confusing and difficult to set up. – Shorewall. I have to open up the ports on the firewall of the Ubuntu Server I installed to allow SIP connections on port 5060 and I assume later I’ll have to also allow IAX. For some unknown reason though, Ubuntu packages shorewall.conf into /etc/shorewall/shorewall.conf on installation of the OS, not with the shorewall package. Somehow along the way I’ve deleted that file and now I can’t get it back. What a pain in the arse.

Luckily I have a dual-boot machine here in work so hopefully I can boot in to Ubuntu (with shiny Beryl installed on a dual-monitor set up!) and get another copy of the file from there…

Asterisk Experiments

In work we have a very expensive Cisco VoIP system. Whenever configuration changes are needed it seems to take quite a while to get exactly what you want. To see how complicated this whole Voice over IP stuff is, I’ve decided to have a play around with Asterisk, the free, open-source IP PBX.

My initial playing about seems to confirm that VoIP is pretty complicated. Or at least, Asterisk is – there must be 10-15 different configuration files. I think if I can get it all working it should be quite a nice system though. It can do voicemail, do not disturb and all kinds of other cool things. I’ll write up what I come up with.

At the moment I think I need to fiddle around with the firewall on the machine Asterisk is running on to open the port up for SIP. Then once I manage to connect a phone up, I can have a go at setting up a dial plan to call between two different phones. From there I want to work on getting the server to route calls to our Freedom2Phone account that comes free with Freedom2Surf…