jump to navigation

Asterisk Encryption August 10, 2007

Posted by bbarrett in Asterisk, VoIP.
add a comment

Recently we were investigating the privacy controls one can put in place with Asterisk. I found that Asterisk does not yet have support for SRTP or SIP over TCP (which would enable secure SIP using TLS).

VoIP calls – like all  network traffic – can be listened to by potentially malicious people. However voice calls are probably in greater need than other network traffic because it tends to be more personal. People have grown to trust phones as the best alternative to face to face correspondence for privacy. People would not be happy knowing that a third party could record their conversation and play it back at a later time.  However, not all voice traffic needs encrypting – after all the chances of a malicious user on an internal network is very low.

(more…)

Testing IAX2 Trunks July 31, 2007

Posted by ieniall in VoIP.
add a comment

How about ping for IAX2 🙂

http://www.bpvn.com/asterisk/iaxping.zip

Asterisk Realtime IAX2 Trunks July 31, 2007

Posted by epower in Asterisk, Asterisk.realtime, realtime, VoIP.
1 comment so far

As Brian mentioned, Realtime is a favorite subject of ours. And so I needed to set up a number of IAX2 trunks using Realtime (long story).

(more…)

Using multiple servers and one database with regserver July 24, 2007

Posted by bbarrett in Asterisk, realtime, VoIP.
3 comments

Asterisk’s Realtime is a favourite subject of ours apparently. We have a phone system here in the TSSG, which consists of one Asterisk machine inside our network and another external to the network peered with it. They both share the same database so a user can register on either machine.

(more…)

Review of “Asterisk PBX Guide” book July 17, 2007

Posted by ieniall in Books.
add a comment

The Asterisk PBX guide is the new Asterisk Book currently being sold by Amazon in the states. After going through most of the book in detail Ive finally got around to reviewing it. Comments as follows ::

  • The book starts of with an introduction into Asterisk 1.4 including a complete step buy step guide on how to configure Asterisk from the ground up .. excellent for newbies
  • If anybody has taken the Asterisk Bootcamp course, this book will seem particularly familiar at first glance …. however, its quite detailed in parts and even for the experienced Asterisk user will answer some of those ” ahh thats what its for ” questions.
  • For Asterisk Newbies the book turns out a bit stronger than the O’Reily book ( although the 2nd edition of this is coming out soon )
  • The physical quality of the book (paper) is quite poor and the 370 pages probably an actual 250 due to the excessive large font type used. There are also a number of mistakes and grammatical errors.

Overall for the beginner this is probably the best book on the market at present explaining most of the core applications that Asterisk is capable of. However, for experienced asterisk users wait for the “Asterisk Cookbook”

Cheating around ‘include’ in Asterisk realtime July 17, 2007

Posted by bbarrett in Asterisk, func_odbc.
3 comments

Asterisk’s realtime configuration has many benefits, no more dropped calls when changing minor things or adding users. You can put your entire dial plan into realtime… almost.

One of the biggest differences between extensions.conf and Asterisk’s Realtime dial plan is that one can no longer include other contexts into another context. This is the classic way of building an tiered dialling rule hierarchy, create the most restrictive context, then use ‘include’ to add more and more allowed numbers. (more…)

Some more IPv6 SIP clients… May 31, 2007

Posted by bbarrett in Asterisk, ipv6.
add a comment

In addition to “Spider phone”, I have found a few more IPv6 enabled soft phones.

Linphone on Linux works, at least when you have a Quad A DNS record for your registrar. However, I could not seem to use a raw IPv6 address as a registrar address. The other Linux offering was “Kphone”, but I found that it’s IPv6 support was a minor branch last updated in 2004, so when I finally got it compiled it segfaulted instantly.

A Java client I found, “SIP-communicator”, works OK on Windows. Using the default Debian package provided it installs under Linux but doesn’t seem to run.

Finally “AGEphone”. It isn’t great, as it’s free version only support calls or up to 1 minute, but it suffices for testing.

Basic func_odbc starting point May 30, 2007

Posted by epower in func_odbc.
6 comments

As I’ve already mentioned, I needed to solve some problems in Asterisk and the best method I’ve found was using func_odbc. Getting started with it wasn’t too tricky but it does have it’s quirks and that’s what I’ll be talking about today.

(more…)

Asterisk IPv6 experimental branch tests May 25, 2007

Posted by bbarrett in Asterisk, ipv6.
add a comment

As alluded to by Niall I have been testing Marc Blanchet’s port of Asterisk to IPv6. Apart from a minor error ( minor code wise, but it had the implication of rejecting all incoming SIP registrations! ), it works quite well. It peers with an IPv4 Asterisk server just fine.

Much more difficult was the location of a suitable client to test it with. Read Niall’s entry to find out more about Counterpath’s “offering”, but I found an Asian client that worked quite well, “Spiderphone“. I tried a windows port of “Linphone”, but it failed to register properly. It must be noted that the windows port is behind the Linux version, so it possibly works much better there. Other Linux based phones such as “Kphone” also claimed IPv6 support but I could find any windows version of them.

A significant portion of Asterisk’s code SIP base is dedicated to overcoming the problems of SIP with NAT, I would estimate. This kind of problem would disappear with IPv6. But right now there is kind of a chicken and egg situation regarding VoIPv6, there is little in the way of an IPv6 SIP infrastructure and few clients. Hopefully when IPv6 support gets enabled in Asterisk’s trunk code base half that problem will no longer apply and more client programs will be moved to IPv6.

Asteriskv6 – EyeBeam May 25, 2007

Posted by ieniall in Asterisk.
add a comment

counterpath3.jpg
Recently we tried to get Asteriskv6 (developed by Mark Blanchet at http://www.viagenie.ca/ ) working on our testbed in work. After a bug found in chanSIP and corrected ( thanks to Brian ) we sucessfully registered an IPv6 client to the running server. However, the amount of IPv6 useragents available and moreover the quality of these agents is quite bad.

We decide to purchase some eyebeam clients ( the paid version of X-Lite) to test out on the system. On the Counterpath website they clearly state that EyeBeam has IPv6/AAAA support – See attached Image. However, this is not the case. They require you to purchase large amount of licences to get IPv6 support for eyebeam claiming that your only purchasing their “retail” version. Clearly their website dosent state this case. The search is back on for an IPv6 user agent that works!!

A perfect world — > End to End Voip calls………