Tuesday, August 11, 2009
Monday, August 10, 2009
Google Voice -- a personal Virtual Phone System
Domestic Long-Distance Calling
Using Google Voice, I'll finally be able to ditch MCI long-distance service on my work landline. Calls within the U.S. and Canada are free. The way this works is that you enter the calling number from your list of contacts on the web site, and designate which phone (work, home, mobile) that you want to talk from. Google Voice will then ring your phone. Once you pick up you'll immediately hear a dial-tone as it attempts to ring the called number.International Calling
Calls from the U.S. to Germany landlines and Hong-Kong are 2 cents per minute. Some African countries (Gambia) are 33 cents per minute. Rates for to mobile numbers can be much higher; German calls are 18 cents when the recipient is a mobile phone.
Voice Mail
Google Voice includes a full-fledged voicemail service. There is a text to speech service which attempts to render messages into text, and then display them in an eMail-like list. I tried a similar service that was provided with a standard TrixBox installation.The standard greeting isn't anything like the graceful "Alison" provided with TrixBox and Asterisk installs; instead it something like, um, "yenta-in-a-hurry". I'll have to redo my own voice greeting shortly.
SMS Messaging
You can send SMS messages to mobile phones by typing the message into a web page. Great for those of us who don't text.Call Screening
You can screen all unknown callers (i.e those with out an entry in the contact list which include their caller ID), or you can screen blocked callers.Notifications
Notifications of new voicemails can be sent to an eMail address, and/or mobile phone via text message.Of course some of the usual things are also included, such as the ability to listen to voicemail from your phone, variable greeting by caller, the ability to forward voicemail. You can also record calls and store them online and create conference calls
So, Google Voice has definitely passed the Five Minute Test.... and it looks quite promising.
Friday, February 13, 2009
Call Centers from Hell and Customer Contempt
I really hate hearing that "This call may be monitored or recorded for training or quality control purposes". Especially right at the outset of a call. Maybe for my broker... (what broker?) when giving financial instructions. For all the "training" that is going on sitting in phone tree hell doesn't seem to be getting any easier. And quality control purposes? It makes me uneasy that I'm being recorded at all.
On hold, I really hate hearing every 15 seconds that "We appreciate your patience, and thank you for waiting during this brief delay". and "We know that you are very busy, we appreciate your call". Or worse, blabbing on about the web site, or the new product, or alternate ways to contact us, or whatever. These constant interruptions makes it impossible to concentrate on other work while waiting. What ever happened to playing Vivaldi and not inserting commercial messages?
While there are "secret" phone numbers floating around the internet for various services, I can't imagine a company would want these internal numbers published; they would get spammed quickly.
So, I'm holding for Fairpoint right now, and have had 5 dumb "Thank you for holding messages" in the previous minute.
"Thank you for holding, your call will be answered in just a moment"
"We know your time is important, and appreciate your patience while on hold"
"Every effort is being made to ensure that your wait is as short as possible... Thank you"
"Thank you for holding, someone will be right with you."
"Your call is very important to us. Thank you for waiting and bearing with us during this brief delay".
And then the cycle starts again. All this accompanied by ear-splitting muzak (tacky fake FM-synthesized saxophones.)
Labels: Asterisk, IT Management, Trixbox, VoIP
Monday, November 10, 2008
Voice Over IP Updates
FierceVoIP announced that Logitech has bought out SightSpeed. Sightspeed was (is) one of my favorite videoconferencing applications, and it will be very interesting to see what becomes of the product.
VoipInsider reports that Polycom has updated the firmware for Soundpoint phones.
VoicePulse has announced a fail-over option for their accounts. They've completely redesigned their web site with a new interface, that looks really classy. This is one VoIP provider who appears to be here to stay. Hooray!
Windows for Devices�reports that Motorola will discontinue development of Symbian and MotoMax phones, and concentrate on Windows Mobile, and Google Android. The site emphasizes hardware running embedded versions of Windows, there is a companion site for the Linux crowd at Linux For Devices.
Labels: VoIP
Wednesday, September 03, 2008
NAT with videoconferencing etc. etc.
Labels: Networking, Videoconferencing, VoIP
Thursday, July 31, 2008
Asterisk Alternatives?
FreeSWITCH is an open source telephony platform designed to facilitate the creation of voice and chat driven products scaling from a soft-phone up to a soft-switch. It can be used as a simple switching engine, a PBX, a media gateway or a media server to host IVR applications using simple scripts or XML to control the callflow.
We support various communication technologies such as SIP, H.323, IAX2 and GoogleTalk making it easy to interface with other open source PBX systems such as sipX, OpenPBX, Bayonne, YATE or Asterisk.
FreeSWITCH supports many advanced SIP features such as presence/BLF/SLA as well as TCP TLS and sRTP. It also can be used as a transparent proxy with and without media in the path to act as a SBC (session border controller) and proxy T.38 and other end to end protocols.
FreeSWITCH supports both wide and narrow band codecs making it an ideal solution to bridge legacy devices to the future. The voice channels and the conference bridge module all can operate at 8, 16 or 32 kilohertz and can bridge channels of different rates.
FreeSWITCH builds natively and runs standalone on several operating systems including Windows, Max OS X, Linux, BSD and Solaris on both 32 and 64 bit platforms.
Our developers are heavily involved in open source and have donated code and other resources to other telephony projects including openSER, sipX, The Asterisk Open Source PBX and Call Weaver.
Monday, July 14, 2008
Newbie Guide to Asterisk Pitfalls
Labels: Asterisk, Hardware, IT Management, Networking, Trixbox, VoIP
Friday, July 11, 2008
VoIP Supply offers SIP trunking
Don't know how this stacks up against suppliers like VoicePulse. For one thing the pricing model is slightly different, with VoIP Supply looking for a minimum $25.00 per month, but with unlimited local and long-distance calling in the lower 48 states. VoicePulse, at least the version for Asterisk/Trixbox, was on a pre-paid model but charges 2 cents or so per minute.
What about the quality of these calls though? Maybe I'm just cranky, but I've had literally dozens of calls from vendors in the past year that clearly were low-quality VoIP calls. I would be appalled if my own calls to my clients and prospects sounded like many of these calls.
In one case, I was (supposedly) working with a sophisticated and highly-paid consultant who was using either Vonage or the Comcast VoIP. The guy couldn't get out of his own way...I just couldn't understand him, over multiple calls. How are we supposed to conduct business this way? And, where is the savings per month, at $25.00 or $125 or even $1025 per month that the person is supposedly saving, when as a result a client drops this person, after originally looking forward to a multi-thousand dollar contract? False economy.
Bottom Line: The landline isn't dead yet. Use VoiP for long-distance calls to friends and family, and non-critical overseas calls. If there is any question, during a VoIP call, have a back-up landline available.
And if you have contracted out any functions to a call center (perish the thought...my local newspaper has done this to verify authorship of letters to the editor), be sure you get yourself on the receiving end of such calls to assess the quality. Nothing turns off customers and prospects more quickly then struggling with foreign-based tech support, heavily accented, with stupid calling scripts, and bad sound quality.
Labels: Asterisk, IT Management, Trixbox, VoIP
Friday, March 21, 2008
Setting up remote premise VoIP or Videoconferencing
Formula for the best remote telecommuter Experience
- Use T1 internet access at the main location, not DSL or Cable.It�s worth the additional expense in order to ensure good, steady performance at your main location.
- If your routers and/or firewalls support QoS features, activate them. Give priority to the SIP and RTP protocols. Consider replacing equipment that lacks VoIP-aware QoS features. See Also: How do I use QoS on my network?
- Consider using one of our Suggested Routers with QoS on both ends of your connection.
- If your QoS solution allows you to limit total bandwidth, set the limit to slightly less than the line speed of your internet connection. Use a DSL line speed test to determine where you should set your limits. Setting it about 5-10 Kb below your maximum speed will keep the packet buffers from filling up on your DSL/Cable modem. This will yield better overall performance.
- Consider having two internet connections� one for your existing data application, and one for your VOIP phone and trixbox Pro servers. You can use this approach in your main location, as well as your remote locations. If you use this approach, you may not need any QoS capable equipment.
- If possible, connect your main office and your remote office using the same internet provider. Usually performance on the same provider�s network is superior to the performance when traffic needs to traverse multiple internet backbone networks.
- If possible, remove NAT devices between the trixbox Pro system, and the remote telecommuters.
- If you must use a NAT configuration, consider using a �DMZ Host/Server� configuration rather than port forwarding. This uses less CPU power in the router/firewall and yields optimal performance.
- At the main location, the setting will forward all unknown packets to your trixbox Pro server.
- At the remote locations, the setting will forward all unknown incoming packets to the IP Phone.
- Reserve the phone�s IP address in DHCP or give the phone a static IP Address on your private network in the remote location so the IP Address does not change. If you use a static IP Address, pick one outside of your dynamic DHCP IP Address range.
- For mission critical remote employees, consider using a fractional T1 internet service at the remote office instead of a Cable/DSL connection.
Labels: Asterisk, Networking, Trixbox, Videoconferencing, VoIP
Thursday, February 21, 2008
Review of commercial VoIP systems
One deficiency is that the article doesn't really encompass the whole picture necessary for putting in VoIP. For example, most installers would consider using conventional PSTN phone lines or a T-1 connection for multiple lines, rather than attempt to use public IP connections for their "production" phone trunks.
Labels: VoIP
Monday, February 11, 2008
Dynamic DNS & Port Forwarding
DNS remains a bit of a mystery, but in essence, the DNS system maps numerical IP addresses to domain names. So for example, my web site is located at 64.78.42.66. The way I know this is by running the NSLOOKUP command in Windows.

You can find your current public IP address by going to www.whatismyip.com
For help in setting up your router with port forwarding, go to http://portforward.com/
She references the SecTools site for tons of networking tools
Labels: IT Management, Videoconferencing, VoIP
Thursday, November 29, 2007
Trixbox Installation Checklist
- Assign fixed IP address to WAN port
- Place in DMZ (temporarily)
- Get software updates
- Configure a Polycom SIP phone
- Configure Voicepulse SIP provider account
- Make test calls
- Configure router QOS setting
- Insert Sangoma A200 card
- Configure Zaptel card drivers
- Configure Octasic echo cancellation (in software)
- Configure 2nd Polycom phone
- Configure Grandstream phone
- Configure Remote Office phone
- Place Trixbox behind the firewall.
Trixbox.Org is the community site for the free version of Trixbox, called Trixbox CE (community edition).
Trixbox.Com is the site for the commericial, hybrid-hosted versions. One of these is also available for free. The others are sold per seat on a monthly or a lifetime basis.
Most of my previous Trixbox posts are available under the Trixbox and/or VoIP labels. Doing a quick search I just noticed that one of my first posts was EXACTLY one year ago...November 29th 2006. Guess I should go back and take a look so I don't repeat my mistakes of the previous year.
Wednesday, November 28, 2007
Trixbox Appliance: New Baby

Just unwrapped the new baby here... a Trixbox appliance (the so-called "base" model for about $999) that comes without landline interface cards. In its base configuration it is suitable for those who want to implement a fully IP-based VoIP system. I'll be adding hardware to this; an existing Sangoma A200 card which provides two landline connections. I'll only be using one of the two connections to start. I couldn't resist starting it up, and sorry, but contrary to all the assurances; the thing is noisy. Too noisy to have setting next to my desk. Damn.
The dual power-supply version that was demonstrated back in June sounded like a jet engine. Definitely that one is a unit for the server room, not deskside.
We had our first real snow that stuck today, about three inches. The Trixbox will be a great project on those cold winter days.
Friday, October 26, 2007
HUD - Heads-Up-Display

Kerry Garrison at Trixbox conducted a webinar last Wednesday on HUD, the Heads-Up-Display... a computer interface to the TrixBox PBX. HUD gives you a display of all current calls, allows you to forward calls, and make calls to others on the PBX without having to dial your phone. The client version interfaces with OutLook, but the whole application is cross-platform; it will run on a Mac, PC, or Linux box. It includes an instant messaging system, which allows you to IM all the people who are on the system. Although they are currently using a proprietary IM protocol, an update will use the jabber protocol....which will allow you to include IM participants on AOL and other instant messaging systems.
One thing addressed in the webinar is a way to integrate your phone system with web applications, so you can use HUD with Salesforce, and SAP or other "customer relationship management" or CRM products. So, what might HUD be used for?
- Call centers; inbound and outbound
- Suicide and rape crisis lines
- Counseling centers
- Outbound solicitation (blood donors)
- Clinic phone systems
There is an interactive demo.
The webinar is located here. It requires registration.
Wednesday, August 29, 2007
Suggested Routers for VoIP
As they are rolling this out, they seem to have upgraded the help support wiki, with some very specific information gleaned from their experience of deploying over 60,000 phones. For example, here are recommendations for routers suitable for use with VoIP.
They have also published a hardware compatibilty list, which lists certified, (fully supported) hardware and uncertified (supported by at a 25% cost premium) hardware. Of interest are several HP servers that are certified, and the Dell SC440 (tower), and 1950 (1-U rackmount). Aastra and Polycom phones are on the certified list, as are Sangoma interface cards.
On the suggested router list at the low end are the Linksys BEFSR81, D-Link DI724U and Fortinet Fortigate 50B.
They also have a "blacklist"...stuff that they don't recommend for various reasons. These include problems with firmware (notorious with some low-end routers), and design incompatibilities. Sure enough, my BEFSX41 is on the blacklist.
Labels: Asterisk, Trixbox, Videoconferencing, VoIP
Monday, August 27, 2007
Trixbox Training - More and Better!

Trixbox has added some more in-depth training options. I took the FtOCC (Fonality Trixbox Open Communications Certification training in June, and it started to get interesting on a technical level.
Now the TB folks have two new courses that go deeper into the technology:
- FtOCC Technician (trixbox CE, Pro and PBXtra)
FtOCC Technician is a three-day technical certification course designed to train resellers and consultants to support their clients running trixbox CE, trixbox Pro, and PBXtra systems. Taught by Fonality technical support instructors, FtOCC Technician dives deep into platform and application installation, carrier setup and integration, network configuration, echo causes and remedies, and other common issues. A requirement for Authorized and Premium Resellers, this course should be taken by Linux technicians and engineers who regularly support client installations. - FtOCC Engineer (trixbox CE, Pro, and PBXtra) FtOCC Engineer is a new course designed to teach engineers how to do custom application development for trixbox CE, Pro and PBXtra. Write deep CRM integration, database dips, text-to-speech, internet look-ups and more by combining the Asterisk Gateway Interface (AGI) and Asterisk Manager Interface (AMI) with a CGI, SQL database, IVR, or all three. Want to hear a perl-based IVR in action? Call 310-861-4393 and hit option 2. Taught by Fonality's lead engineers who created trixbox Pro and PBXtra, this course is for serious programmers with deep Linux knowledge.
The original FtoCC training course now appears to be renamed Trixbox Administrator course, and is the "entry-level" course of the series.
Even if you aren't selling and installing Trixboxes, the courses are useful on a general level as you learn a great deal about Asterisk, VoIP, Linux, echo-cancellation, etc.
Thursday, July 26, 2007
Microsoft Action Pack Update for July
- The 64 bit version of Vista Business
- Beta 3 of Windows Server 2008 Enterprise in both 32 bit and 64 bit versions.
- System Center Essentials 2007
- Office Live Communications Server 2005 Enterprise Edition
- Windows Server 2003 R2 32 and 64 bit
I've been running Windows BackOffice 2003 on my server for what I think is at least two or three years, so I'm contemplating installing one of the straight Windows Servers as a replacement. BackOffice is fine if you want to run Microsoft Exchange, and you want to have some beefed up management tools, but I've never been convinced of its utility over the regular Windows Server product. Exchange is a whole trip in itself, (can you say backup and spam control?) and in small offices that would otherwise be the typical customer for BackOffice, I would normally recommend just going with mailboxes from your internet service provider.
Live Communications Server is the Microsoft VoIP back-end product...something I'm interested in looking at; but was unable to install on my Win 2003 BackOffice server.
The Action Pack is a quarterly shipment to Microsoft Partner subscribers, and is suited for small consultancies or businesses with ten or fewer desktops. You get the full office suite with all the goodies like Visio and MapPoint, as well as all the server operating systems. No development tools--that is for the Microsoft Developers Network Subscription, but so many of those are available as trials and free versions that you can get pretty far without spending a lot in that area.
Labels: Hardware, unreview, Videoconferencing, VoIP
Wednesday, July 25, 2007

I'm using version 2.03 that was in the stock installation of Ubuntu Feisty. After a couple hours of fiddling, (at least 30 minutes of which was finding out that my microphone was switched off...) I've been able to make test voice calls to what sounds like their Asterisk server. Looking around, it says they are up to about 2.09, and if you want it work full-screen, you have to compile from the source code.
Labels: Linux, Videoconferencing, VoIP
Monday, July 02, 2007
Trixbox and VoIP Update
- Trixbox 2.2 - implementation of Asterisk
- Polycom SoundPoint IP320/330 Phone
- IDEFisk Softphone for IAX2.
- Voicepulse for SIP and IAX termination to the regular telephone network.
The above are components that I've been using recently. Just today I ordered another Polycom phone, and a Sangoma A200 FXO card to replace my Digium X100p card. The difference between the Polycom phone and the Grandstream B100 phones in sound quality is noticable, and the general fit and finish of the Polycom phones is outstanding. Of course they cost twice of what the Grandstream phones had cost.
Other things highly thought of:
At the Boston Trixbox seminar, people spoke highly of Aastra phones, and Rhino interface cards. M0n0wall, the open source firewall was also recommended.
Unsolved Problems:
I was really happy with Gizmo for awhile, but have never been able to get it to register with my Trixbox server. I fiddled, but always given up.
And, still looking for a QoS solution for my home router, so that when I'm on the phone, and am casually surfing the web, it doesn't destroy the conversation mid-word.
Monday, June 11, 2007
Trixbox Boston
The cockpit. Laptop with the VMWare image of Trixbox installed. You can see the version 2.2 management screen. To the right, a Polycom 330 phone. These were part of the package that everyone took home. These are really nice phones, a real step up for those of us who have been using lower-end phones in our Trixbox experiments.
Andrew Gillis tries to debug problems with David Mandelstam's Polycom phone. If David can "brick" a phone...is there any hope for end-users? ;-0
Andrew, Kerry and Stefanie Chao-Narayan handing out diplomas.
The object of our affection. A pre-production TrixBox. This one was the enterprise version, with dual power supplies. It runs cool as a cucumber, but belongs in a server room or wiring closet, not under your desk.
Tuesday, June 05, 2007
At the Trixbox seminar in Boston
Mike Joyce of Fonality
Sizing the machine adequately.
The load is especially heavy with software echo cancellation
Use hardware echo cancellation
AppConference will be added for conferencing�.and will be an alternative or replace MeetMe.
Recording --- Recordall - is really a bottleneck. DiskIO is the issue, and you need a quad Opteron, huge disks, etc.
"Bus Bubbles" interrupt conflicts.
PatLoopBack - Zaptel repository
Ethernet Card Considerations
Cache optimization
9 out of 10 on-board Ethernets on motherboards are good
Rhine Chipsets
Intel Ethernet Express is not good for VoIP
For cable modem and DSL setups (Motorola Surfboard�etc)
The routing equipment at the CPE that has packet optimization that sucks on cable modems. You can't see more than a couple concurrent calls on a typical cable or DSL connections. Not a problem with the carrier, but the problem at the CPE�.the DSLAMS are OK,
Problem is shared cache for inbound and outbound
The cheap modems can't do context switching enough between the two to support more than a couple of calls.
Under 50 concurrent calls is where Asterisk has a sweet spot..with all the features of a more expensive system. Asterisk doesn't scale up higher (easily), the big guys don�t scale down (easily).
Using VoIP on the Internet
Limitations of Broadband Connections
Ping 20 millseconds at As you lower the interval, you have
ping -c 0.02 -c500
Need to see 0 packet loss.
Place in the DMZ setup sometimes�and make sure that the DMZ is located
SIP compatible routers don't work unless it is under $1000 dollars. Finality
Linksys BEFSR81 - DMZ host.
PFSense - OpenBSD - Live installation, etc.
IPFW
People try to overcomplicate things.
NAT issues - Don't install the phones and the PBX on different NATs.
InGate - Sipperator --- Sip Proxy Session Boarder Controller
Aeronaut 1050G
Astra 480Et (?) wifi phone
Fonality: The vast majority of problems are related to networking.
Don't ever ever ever sell a system without RAID
Software raid is better than hardware
Don't use RAID 5 for a Linux or Asterisk
80 gig drives work fine.
Never been able to justify the cost of SCSI disks
Rebuilding a RAID 1 drive takes about 10 minutes.
Hot swapping
They have to be able to fix things over the network. All PBXtra stuff is supported remotely.
MDADM man
SATA RAID at the install Disk DRUID, etc.
there is also a setup RAID.
Swap needs to go on both disks.
For 50 bucks a month offer back up service with a chron job, and ftp the data to a NAS at a co-lo.
AGIs are super easy to write.
If you don't have friends who write perl, get some.
Call Files - Click-to-Call, Ticketing Systems, CRM systems
split() on csv for easy archiving Tie the call records into a CRM system. How much does it cost you to convert a prospect to a customer.
If you go into the operations side a company, you'll have an easier time, rather than go into the IT side a company.
Thursday, May 31, 2007
Setting up Trixbox on a Windows Machine
The minimum recommended specs for doing this include 1 gigabyte of memory and a 2.4 gigabyte processor. I'm hoping it will still be functional with my 2 gig laptop processor�it is a little late to go out and replace my laptop.
I've downloaded and installed the VMWare player.
I've downloaded and installed the TrixBox. Zip file which contains four files:
* Red Hat Enterprise NVRAM File (which I'm assuming is some kind of memory emulator)
* VMWare virtual disk file,
* VMSD File
* VMX configuration file.

Clicking on the VMX configuration file, starts the configuration process. This looks identical to the setup process that you run when installing TrixBox on a standalone machine.

The next snag comes up when the CentOS installer complains about a network card driver. I accepted "Remove Configuration", and it immediately came back and said it would attempt to configure the card again. At this point I get the blank screen asking for network information.
There is no direction on this in the installation instructions so I just accept the dynamic configuration for now.
This is accepted, and the boot sequence for CentOS continues smoothly. I see that eth0 starts up.
A few more minutes, and the login CentOS login prompt appears. I login with user name=root, and password = trixbox
The web interface is also available on the local IP address for the virtual machine

This shows the handsome new front page of the 2.2 interface. Click on the image to see it full size.
Friday, May 25, 2007
Martin Geddes: Cold on VoIP? Exactly
I ought to explain why I�ve suddenly gone cold on VoIP.
It�s just I�ve watched my own behaviour. I�ve grown tired of the inconsistency of PC VoIP calls, and instead I�ve reverted to using landlines, mobiles and Jajah (for callback). But I�m still using IM to set up many of those calls!
The problem isn�t unique to any one client � they�re all proving unsuitable for business use with clients (which is most of my telephony needs covered).
The worst of all seems to be Skype conference calling. We probably would rate the quality as �unacceptable� for 50% of the attempts. When it�s good, it�s great. But that isn�t what I�m after.
He goes on to talk about how softphones don't work very well.
Another problem with PCs is they�re just lousy telephones. When you hibernate Windows XP on my HP laptop, all kinds of audio settings seem to go wrong and the volume buttons stop working. Bluetooth is hopelessly unreliable, and who wants another wireless headset device to remember to charge up (and bring the charger when you travel)? Or to have to rush to fish out a headset and plug it in when a call arrives?
Before I get accused of plagiarizing the whole piece, you can read the full post.
There are a couple of issues here:
VoIP qua VoIP is really a very broad spectrum of technologies, encompassing softphones, free calling, replacing million dollar hardware PBX switches with open source software switches, and new applications. Martin's definition for purposes of his discussion, if I read his article correctly cites two problematic applications; softphones on PCs, and conference calling on Skype.
I agree with his scepticism. My own interest in more in Asterisk/Trixbox and replacing the traditional circuit switched phone line infrastructure with packet switched calls over the internet. While I have made a couple of calls from my laptop, it seems a little bit silly to do so when I've got my $15.00/month cell-phone handy. So if softphones don't work I'm personally not going to slit my throat.
But, the internet calls thing, is more problematic. Clearly, we are at the mercy of the internet when placing such calls... once your packets get outside your own local area network, they are flung out on the storm-tossed seas of the public internet. And, as we all are getting what we wished for with network neutrality, our packets are being treated like everyone else's packets. So, your 911 call's packets might be held up by an image of Johnny Depp, or even the whole movie.
One solution of this so far, as been "quality of service", which is a euphemism for "prioritizing packets". If people played nice, then, every router on the net would be smart enough to know that some packets are more equal than others, and voice and media packets in particular need to be forwarded before eMail and ftp packets. And indeed, if I'm making VoIP calls from my Trixbox while downloading those bloody updates for Windows, call quality goes down the tubes, (and this is with me, placing a single call, and downloading from a single workstation on my LAN).
The second solution, and really the only one at this point, has been to provide enough bandwidth so that whatever the exigencies of packet transfer there is enough slack in the network so that most of the voice packets will arrive, in the correct order. In buildings that use VoIP phones, the best practice is to run a separate set of 10BaseT cabling for the softphones. Mind you, this is a separate subnet from the data network that is currently in place. (Note: Someone will argue that this already in place, because we've got the existing two or four pair wiring in place for the telphone...)
So, is it responsible of us to suggest for a non-profit that they should:
1. Invest in new desk phones at $125.00 for each desktop location
2. Double their cable infrastructure
3. Purchase a quality of service router that at least will prioritize packets moving in and out of their own location
4. Purchase a dedicated server, with attendant UPS backup and management
5. Figure out how all this goes together.
when it may not work. Specifically, that you won't be able to rely on 99.99% availability when placing internet calls, and you won't be able to ensure that 99.99% of inbound calls to your internet-brokered phone lines will reach you.
when you can go to Best Buy or Amazon and get a Panasonic key phone system with six phones for $2500 or so, which you can forget about once it is installed.
I'm just asking.
Labels: Hardware, Tech_Friday, VoIP
Tuesday, May 08, 2007
Trixbox and FreePBX
One of the nifty things that you can do with VoIP is add a virtual number to your system. The number can be located pretty much anywhere, as long as your "voice ISP" has a block of numbers available in the locale that you want to have the number.
In my case, I wanted to have a local number available in Albany, New York which is area code 518. So, I logged into the VoicePulse web site, chose the location and selected a number from the ones available. VoicePulse charges US$11.00 to set up a number, and then $11.00 at the beginning of each month for the number.
That should have solved the issue. I was able to verify almost immediatly that my credit card had been charged. But when I called the number I'd get the "the number you have dialed is not in service" message, which follows the three high-pitched tones.
What to do? First, of course, send a note the VoicePulse tech support. They called back and asked for a transcript of the SIP debugger in Asterisk. So, I logged into the Trixbox with my SSL terminal program, logged on to the Asterisk command line, and then activated SIP Debug.
AsteriskBox$ asterisk -vvvvvvvvvvr
AsteriskBox$ sip debug
This gave me a transcript of all the SIP commands, and it was obvious that indeed the call was getting as far as the Trixbox, but was being rejected for some reason. So, I figured it had to be an issue with inbound routes in the Asterisk configuration. These are configured using FreePBX. Poking around on the FreePBX forums, I found that the version I was using was still a release candidate, and indeed other people had had problems with inbound routes. So, an upgrade was in order, and excellent instructions were given on the forum. And indeed, now the inbound number works.
I now have a "local presence" in Albany, even though I'm in Vermont.
Labels: Asterisk, Tech_Friday, Trixbox, VoIP
Thursday, March 15, 2007
Why can't we all get along? VoIP Locked Hardware
Does anyone else think it is more than a litte ironic that the only convenient way to reach a Unicel cell phone from a Verizon cell phone is via the PSTN? And the only convenient way to reach a Vonage customer from Skype is also via the PSTN?
Labels: VoIP
Tuesday, January 30, 2007
Trixbox Webinar
Call Queues
You can set up call queues which are not to be confused with ring groups. A call queue is where you stack up calls and where the caller can be told "You are caller number 5. There are four callers ahead of you. The average wait time is 2 minutes". and so on. You can have a call queue point to a ring group. (A ring group is a set of extensions that are called by some kind of rules, in a specified sequence, say, or based on the amount of time since an extension was last connected on a call.
Bandwidth and Latency
DSL typically has lower latency than cable, even though cable typically has higher bandwidth.
TDM Hardware connections vs. Internet SIP/IAX phone termination services
Many of the example installations they gave involved hardware connections. T-1s. ISDN PRIs, etc. This supports the notion of having conventional hard connections for important inbound and outbound calls to your company, rather than rely entirely on a VoIP termination provider.
DTMF Tones
There are at least three different ways that phones can send DTMF (the numeric tones that are generated when you press numbers on the phones). They are not all compatible with each other.
Seminars and Training
There are starting to do seminars. March 5-6 they are offering a two-day course in Los Angeles for $1495 for Trixbox beginners. In the second quarter of 2007 they will offer two more courses; Advanced Trixbox Administratrion, and Advanced Troubleshooting. More on their training site.
Asterisk documentation:
VoIPSpeak.net (Kerry's Blog)
AsteriskTutorials.com - A set of free screencast tutorials for Trixbox, FreePBX, etc. These are great. You can see demos of how to set up some of the basic and advanced functions like inbound and outbound routes, how to do a follow-me function, etc.
Book: Trixbox Made Easy
Web Documentation: Trixbox Without Tears
#FreePBX IRC channel
Vendors:
VoIPSupply.com
VoIPLink.com
ATAComm.com
TDM cards
Sangoma
Rhino
Digium
Using Trixbox under VMWare (software emulation)
VMWare drivers are required when emulating, so you can't use hardware cards. That said, emulation works great for training, and I see that is the plan for their traning seminar; you are to bring a laptop capable of emulating trixbox and you'll walk away from the seminar with a fully configured system.
Compare Trixbox Training vs. an Asterisk Boot-Camp
Boot camp concentrates on the Asterisk configuration files
Trixbox training goes into how to use the Trixbox configuration tools (FreePBX, etc.)
Recommended way to Upgrade from 1.2.3 to 2.0
Upgrade 1.2.3 from 2.0
1. Download and upgrade FreePBX
2. Do a backup using the FreePBX backup functino
3. Do a clean install for 2.0
4. Then do a restore (using the new FreePBX)
n.b. I manged to upgrade by running the upgrade script from the Linux command line, and also running an update of modules from FreePBX. This seems to have worked OK, from my end, but they suggested the above steps as being more reliable.
Relationship between Asterisk and Trixbox
"Asterisk is the engine...Trixbox is the car."
Should you editing Trixbox Config Files
How does FreePBX treat the Asterisk config files... can/should we ever update the config files themselves, or will they get overwritten?
Example of the extensions file:
Extensions <-usually only overwritten when upgrading ASterisk
Extension_Additional <-overwritten from FreePBX (don't edit directly)
Extension_Custom <-changes that are never overwritten by the system - use for customization
DUNDI
There is no web interface for DUNDI, but you can edit the DUNDI config file manually
HudLite - "Heads Up Display"
HudLight - OutLook Integration and Heads-Up display
Distributed PBXs
Remote extensions (single phones in a branch office connected over VoIP0
Remote Trixboxes, (whole trixboxes in branch offices, federated together).
DUNDI - Sort of a DNS which points to IAX and SIP peers. Totally distributed. Created by Mark Spencer of Digium (inventor of Asterisk).
Voice Recognition
Voice Recognition in the IVR - They are working with a couple vendors to make this available, Right now there isn't anything in open source available.
Additional multi-language support is coming.
Trixbox 2.0 has multi-language support
The webinar was a kick. They had 800 participants (!) Both the slides and the commentary will be available later today.
Monday, January 22, 2007
Economics: Home-Grown vs. Full-Service VoIP Providers
Packet8 is a full service IP phone provider with both business and home phone plans. They offer a business service with a required minimum of three phones at $40.00/per extension. This includes unlimited calling throughout the U.S. and Canada. Calls to Germany are 2 cents per minute. So, the minimum would be $120.00 per month. They�ll sell you phones for about $99.00 each which is a good deal. If you would rather not buy the gear, and you can commit to a minimum two-year contract, they�ll give an option for $49.00 per month.
That covers the outbound calls and provides you with one inbound number. Additional inbound numbers, which can be virtual numbers, are $5.00 /month. They have a calculator on their site which gives you an idea of what the upfront and monthly costs will be.
If you wanted to start up with an Asterisk box, you would still have to buy IP phones. You can�t get a phone for much less than about $80.00, so that part of the equation is comparable.
Now, as I said with VoicePulse, there is a charge of roughly 2 cents per minute, and it all depends, on the amount of calling you are going to make. Comparing with the Packet8 rate, of $40.00 per extension per month, you would have to talk for thirty-three hours for a single extension to use up the $40.00 bucks. Further, with Packet8 the 5th or 8th phone costs as much as the first phone; there are no cost breaks as you scale up. They have a calculator on their web site that shows the upfront and monthly recurring costs.
Inbound virtual numbers with VoicePulse are $11.00 per month. Of course with Packet8, you don�t have a server; everything is done virtually over the internet connection.
After reading several reviews, (decidedly mixed), on Packet8, I�m thinking that the idea of the Asterisk box is still a good one. For one thing, using an Asterisk server allows you to maintain a hybrid system; a mixture of VoIP and connections to a landline. It also allows you to mix and match your own IP phones and soft phones. And, for me at least, the monthly charges are negligible. I can add as many extensions as I want, for just the cost of the phone hardware.
More Links:
Here's an older review of the VoicePulse regular (non-Asterisk) service.
Test your network for VoIP. This service will place test calls between your location nd several cities including Sydney, Vienna, Boston, and Montreal.
A similar test for videoconferencing.
Finally, I ran into this great article about how to rewire the phone wiring in your home or business to use VoIP. Many systems, like the home service of VoicePulse, Packet8 or Vonange assume that you want to connect a single telephone to their servcie. This article explains how to work around that problem, and includes a great deal of general information about phone wiring. Get your dykes and screwdrivers ready!
Labels: Asterisk, Hardware, Videoconferencing, VoIP
Saturday, January 13, 2007
Trixbox/Asterisk Progress Report
Two steps forward, one step back. There has been some incremental additions and improvements to our home internet phone system project based on Trixbox. I'm reminded of a foreman I once had who boasted that he had a vacuum cleaner in every room of his house so that he could take care of any spillage or dust immediately. This is the guy who lined his entire garage with ceramic tile; it looked like an operating room. S.O. is starting to compare us with him, only in our case we have multiple phones.
Anyway, click on the sketch to view the larger version. You'll see now that we have three SIP phones. All three are the Grandstream Budgetone phones. I've got two in my home office, along with the Trixbox server, and we've placed one of the phones in our upstairs study. I mentioned before that the power supplies appear to interfere with the television set, so the upstairs phone only gets plugged in when we're going to actually make calls. Too bad...I still have to yell up the stairs.
We have two Verizon landlines. I have my old two-line phone on my desk. One line is our "home" line and one line is the "business" line. The business line now goes into the Trixbox, so that I can take calls there and transfer them to any of the three SIP phones. Right now, I have any inbound call ring at my desk, but eventually I'll see about an automatic call director. ("Welcome to Microdesign. Press 1 for technical support, 2 for database and software development, or 3 for videoconferencing")
Outbound calls from the SIP phones can go out over the internet either via VoicePulse (the default outbound route), or, if you prefix the call with a '9', they'll go out via the business line. VoicePulse calls cost 2 cents per minute or less. The business line has eight cent per minute long distance via MCI. As a test we've been using the VoicePulse lines exclusively, and I note that even without a single call, I'm paying $10.00 per month for the MCI connection in monthly charges, FCC fees, and taxes. So, the MCI long distance service is certainly a candidate for dropping if my confidence in VoicePulse continues as high as it has the past couple of weeks.
The PSTN "home" line remains untouched, it is connected to a phone in our kitchen and an extension in the bedroom.
Why is this taking so long? It is a question of confidence. I'm moving incrementally because I want to be confident about the reliabilty of every step of the chain. If parts aren't reliable, then I need to know about that and either design a workaround, or decide to live with the limitations. Right now, "best practices" suggest that for client calls, the PSTN still has the edge over the internet, but for interoffice calls, and "casual" long distance calls, the savings in phone charges will add up substantially. The goal is to have a reliable, scalable, business phone system...and I think I'm on the way.
Debugging SIP in Asterisk/Trixbox
Significant Other calls Mother. Gets a "ring no-answer"...which means of course, that it just rings and rings and rings. The assumption, then, is that Mother is not at home. Or she might be downstairs doing in the laundry room, or something, but she definitely is someplace else.
However, what is happening in reality, is that Mother is on the phone with Sister. So we should be getting a busy signal, but we're not.
My theory was that since my PSTN connection provider, Voicepulse, couldn't complete the call, that it just kept things ringing. However, they said that they actually send back a SIP message 486 [Busy here] to Asterisk...and Asterisk should then be dealing with that by changing the ring tone to a busy signal.
So, there is a SIP debug mode within Asterisk, and I'll set this up by going into the Asterisk Command Line interface. I'll log into this remotely using Putty using SSH (the secure shell). I'll also set this up to log everything that appears in the terminal to a file.
So, I place a call to a known busy PSTN line.
But, nowhere in the transcript is there any evidence of a SIP message 486 Busy. So, I placed an outbound call via my ZAP hardware line to the PSTN number for that number. This is the same as calling your own phone number from a conventional phone. In this case, I get an immediate busy signal, as expected. But, looking at the transcript of that call, there is no evidence of a SIP message 486 there either. So now I'm wondering about the phone. In the transcript it shows the following entry:
<-- SIP read from 192.168.0.161:5060:
BYE sip:98639587@192.168.0.180 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.161
From: "Larry Keyes" ;tag=8d48abf7-9a54-5966-3784-6ae80bce9d87
To: ;tag=as5fa85f66
Contact:
Proxy-Authorization: DIGEST username="200", realm="asterisk", algorithm=MD5, uri="sip:98639587@192.168.0.180", nonce="1c3041c5", response="759f615b48878ff3d617936450ae3c8e"
Call-ID: fc430bce-606a-00c1-18aa-c326d5af2e1b@192.168.0.161
CSeq: 45540 BYE
User-Agent: Grandstream SIP UA 1.0.4.17
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, INFO, SUBSCRIBE
Content-Length: 0
I'm wondering about the Allow:. Does this mean that the phone doesn't accept any SIP message except those that are offered by the phone?
Now, my own opinion is that we can indeed live with this, just like we can live without E911 calling and all that. Still, it is just one more damn thing that is different between my VoIP implementation and the "real" PSTN. But, there is a safety issue there...if we can't reliably determine when the phone is off the via a VoIP call, then we may want to place a PSTN call to verify. Which seems to sort of defeat the purpose.
We could solve this by just getting her an answering machine.
Here is another viewpoint about the anomolies of VoIP. Men are from VoIP and Women from PSTN.
My wife has been using Vonage for the past 3 years with me and she complains at every little Vonage hiccup, every little "fast busy" when dialing, every little Internet outage that brings down the phone line. She used to complain about the sound quality on the VoIP connection all the time, but she has gotten better. Or perhaps she's resigned to the fact that I'm never going back to PSTN.
Me? I'm like "Hey, sounds great to me. I never have any problems when I'm making a call using Vonage. Sure, when the power goes off or the Internet connection dies, we lose our phone, but hey, we're saving a ton of money each month. And it's a cool technology to boot. Plus I write about this stuff all day long, so I should practice what I preach."
I don't think she bought it.
Labels: Asterisk, Tech_Friday, VoIP
Friday, January 12, 2007
Chron This Week and other notes:
Free calls from the U.S. throughout the world from any phone (well, you have to pay to get to Iowa...). allfreecalls.net
Seen on David Seah:
And a nice web-based toolkit for looking the state of your network from Dave Seah who has also nicely chronicled his move from one server and domain to a new one.
Nothing technological in the Chronicle of Philanthropy this week, but there are several stories about NGOs that have created profitable services, products or businesses.
New blog: Web Worker Daily. I ran across this a couple weeks ago, and found it full of practical suggestions and ideas by people who are grappling with technology. Recommeded.
Finally, there has been a lot of noise about the Apple iPhone introduction, showing this picture. My question...what the heck is it? Goldfish In Bondage?, Invasion of the Round Green Blobs?
Wednesday, January 10, 2007
DialplanPro Beta - Windows GUI
From the description over at Asterisk and VoiP News:
Originally an exercise to learn Asterisk and have a GUI of my own to use, I developed a Windows based GUI to build dial plans and upload them to the Asterisk server. Currently in beta, it's aim is to abstract routine chores such as dialing an extension or playing a voice.
I also wanted to be able to implement custom code in a easy graphical way as well so I included a scripting editor with most of the core functionality you'd expect like syntax highlighting, Parameter Hints, etc.
Although the GUI is Windows based, it communicates with a Linux binary TCP socket server written in house to control basic Asterisk functionality such as uploading required or included files, issuing simple commands like reload, restart, etc over the network. I also have plans to write a function to remote debug an AEL script using the aelparse executable and it's output sent back to the Windows GUI.
While definitely still in beta, we are using the software to program our own Asterisk box here in our office and it's working very well for us. Although note that we have a fairly simple dialplan with just a little bit of conditional logic, FirebirdSQL access and some TTS stuff to tease our resellers when they call in ;).
Friday, January 05, 2007
TrixBox 2.0 updates
2.0 includes new versions of almost everything, including a release candidate 1 of FreePBX 2.2.0. So, now I have TrixBox 2.0 with FreePBX 2.2.0 which manages Asterisk 1.2.13.
Over at the Digium they are touting the Asterisk appliance, which is intended as a Trixbox competitor. This comes with Asterisk 1.4.0, beta a notch more recent than the version provided with TrixBox. I flirted with this; installed it actually, but then ran into some problems. I was intrigued however, to see that there was some additonal support for H.323 video...does this means that Asterisk will someday compete as a videoconferencing multi-point control unit (MCU)?
While the new interfaces are fine, the great news from my perspective was that the update blew away my IAX2 trunk configurations for VoicePulse. It left, however the VoicePulse SIP trunks, and I've been using them for two days without difficulty, not a single reboot or missed call. Call quality seems to be consistantly good. If this continues, I may actually get confident enough to apply for a phone number for the VoicePulse trunks and use them for inbound calls as well as outbound.
I've been using VoicePulse for calls now for a little over a month. Calls within the U.S. have a rate of up to two cents per minute. Calls to Germany were charged 2.7 cents per minute. The one outlier was a charge of 75 cents per minute to directory assistance in the U.S. What a rip!
Labels: Tech_Friday, VoIP
Fonality Whitepaper on VoIP
Whatever approach you decide on for migrating to
VoIP, a hybrid IP-PBX is an excellent first step. Hybrids
operate in three modes � PSTN, VoIP, and what�s called
PSTN-fallback � a mode which ensures that you�ll
always have phone service, even during Internet
outages. With a hybrid IP-PBX, you can also connect
and use analog phones (including cordless sets), IP
phones, or a combination. So you can convert select
employees to IP telephony according to their needs
and the capacity of your Internet connections.
A hybrid IP-PBX enables you to start saving money right
away, even if you choose to use the PSTN connections
to the outside world. With a hybrid IP-PBX at your
business, you get free VoIP calls between offices and
with all your telecommuters, but you can selectively
choose to pay more for calls across the PSTN where
the quality matters most. Think of it this way, your
employees get free VoIP calling between themselves,
but your customers are guaranteed perfect POTS
quality when they call you, or you call them.
Fonality is the vendor which snapped up the very wonderful TrixBox. So, the whitepaper is more useful than many, as it points out the disadvantages of VoIP, and it doesn't promise the moon.
Labels: VoIP
Friday, December 15, 2006
Network Troubleshooting Tools

Wireshark is the new name for Ethereal. It is a GUI packet sniffing program which watches your network traffic and reports on what's going on at the network level. Ethereal has been around for years, but it is an ongoing project that just seems to be getting better all the time. Among other things, it will discriminate and display packets that are typical VoIP packets, that is SIP (Session Initiation Protocol), and IAX2 (InterAsterisk Exchange).
Set up a Wireshark capture and you are bound to find a ton of stuff that may be irrelevant. You'll see requests for web pages, OutLook going out and checking for new mail, DNS requests (where is mxdesign.net?) and ARP broadcasts (who is 192.168.0.9?). So, one of the first things to consider is filtering the captured packets as they are being examined. This is done by using a capture "language" to create filters that are compatible with a predecessor program called tcpdump. Mike Horn has written a tutorial on these, which includes a basic set of capture filters.
I was puzzled why I couldn't see traffic from my Asterisk/Trixbox computer on my desktop workstation. It turns out they were connected with a network switch which isolates traffic from individual devices. This makes network sniffing more difficult than in the old days when most LAN segments were connected via hubs. I ended up rummaging in the garage and found an older NetGear 16 port hub which I used to connect both stations, and Voila now I could see everything, the SIP phone calling the Trixbox, and the Trixbox calling out on the internet to Voicepulse. The Voicepulse tech support people want to see a capture file of just IAX2 packets, which should show (or not show) why my Trixbox occasionally loses the registration to the Voicepulse server. We'll see.
Labels: Tech_Friday, VoIP
Monday, December 11, 2006
Tech Friday: Asterisk/Trixbox quirks
1. The Grandstream Budgetone 101 and 102 SIP phones that we are using are not (apparently) FCC Type-B accepted. That means that they are not shielded to prevent television or other interference. So the phones make a hash of Channels 5 and 33 on our non-cable television....thereby rendering these phones essentially useless in a home environment. To be fair, they are a couple years old....maybe the new Grandstream phones are better shielded? So, the way we're coping is to plug in the phone when we want to make a call. Saves power, that way, of course.
2. As described earlier, I'm using VoicePulse as our outbound call service, and it seems to work very well indeed. However, the IAX2 channels sometimes become unregistered with VP during the course of a day. When this happens, if you place a call via the VoicePulse trunk...you get a ring-no-answer...that sounds just like a conventional ring-no-answer..i.e. you can't distinguish whether this is a problem with the VoicePulse registration, or if in fact the person really isn't at home. As a precaution, in the morning, I've been making check calls to my cell phone....if the cell phone rings, then I know my outbound trunk is working. At the Asterisk command line, if I type IAX2 show channels, it should show two registered VoicePulse channels. Even if channel voicepulse1 is unregistered, I would have hoped that channel 2 would take the call, but there doesn't appear any to be any logic that can deal with this issue. What I'd really like to see is some kind of real-time indication that the channels are not working, and/or some kind of fall-back or re-registering function.
3. I'll be checking the power consumption of all the components, but I was pleased to see that the idle power consumption of the Dell server that I'm using goes at about 44 watts. This seems pretty reasonable for a server.
Labels: Tech_Friday, VoIP
Wednesday, November 29, 2006
Tricks with Trixbox

Trixbox is a pre-configured Asterisk PBX which allows you to create a comprehensive home or business phone system which multiple extensions, and multiple lines. The single TrixBox installation CD creates a Linux server with a web server, database backend, the Asterisk PBX, the Sugar CRM server application, and a set of web-based management tools to manage everything. While all the bits and pieces are available separately, Trixbox automates much of the setup.
Currently, my setup includes two IP phones that look like conventional desk phones. These plug into my local area network. Each has an IP assigned to it. Each is a small web server in itself, as they can be configured using a web browser. I've assigned extension 200 to my phone, and 201 to the second desk in the office (John).
When the two IP phones connect to the network and register with the Trixbox, they behave much like regular phone extensions in a corporate office. I can call from one to the other by dialing the three-digit extension. I can put a caller on hold, or I can "park" a call. I can set up a conference call.
Both extensions have voice mail. If an extension receives voice mail, then it flashes its lights to show that there is a message waiting. You can also have the Trixbox automatically forward voice mail to eMail, with the voice message as an attachment. After leaving myself a message from the 201 extension, I received the following message in my Outlook Inbox:
Dear Larry:
Just wanted to let you know you were just left a 0:09 long message (number 1) in mailbox 200 from John, on Wednesday, November 29, 2006 at 06:12:07 PM so you might want to check it when you get a chance. Thanks!
--Asterisk
The voice message was attached as a .WAV file. The names of Larry and John are automatically taken from the assigned names within the Asterisk configuration. I'm assuming you can customize this further...by digging into the configuration.
My outbound telephone connection provider Voicepulse provides a service which completes calls from my PBX to virtually any phone number in the world. Voicepulse accepts calls via the internet and then transfers them to the regular phone system. (see diagram). Voicepulse provides capacity for up to four simultaneous calls. Additional capacity can be added by buying additional "trunks", which then would allow you to make higher numbers of simultaneous calls. What's interesting about this is how scalable it is...you don't need to run wires, or wait for the phone company to come to install additional lines.
Of course, I'm running this with very low volume; since I have a two phones, I can have a maximum of two simultaneous calls. Eventually there will be issues as far as internet bandwidth, and processor capacity. Right now I'm running my Trixbox on an old Dell Optiplex, with a 450Mhz processor.
Labels: Tech_Friday, VoIP
Sunday, November 26, 2006
Trixbox/Asterisk PBX
The problem appears to be the router, a DLink DI-604 router which is admittedly a low cost router, and frankly, one that has worked well for videoconferencing, which is, arguably even more complex than routing voice over IP. But, when I finally eliminated it from the chain of boxes on the way to my cable modem, indeed I was able to connect. So, now, I'm running on an older Linksys BEFSX41. I have the Trixbox in the DMZ of the Linksys router.
So, reviewing: My problem had nothing to do with Comcast. It had nothing to do with the change from Adelphia to Comcast last week. It had nothing to do with Trixbox. It was the router.
Now, there are a couple other outstanding issues. Currently, the hardware connection to the landline doesn't work any more since my latest reinstall. I think this is a configuration problem. I'm also trying to get inbound service from Voicepulse, but they don't provide phone numbers in my local calling area.
As part of my troubleshooting, I installed a scratch Asterisk install on a Ubuntu Linux box. Ubuntu is the up and coming distribution these days, and I like it a lot. It is available in various flavors, including a server, LAMP server, Desktop, Educational Desktop version, Education Server version as a terminal server, and several others. Configuring Ubuntu is a snap when the GUI front end is installed, less so when you are mucking about on the command line.
Trixbox uses Cent-Os which is a derivative of Red Hat.
With both distrubutions it helps to be able to use a remote login via SSH. With Ubuntu, I had to install a server to allow this...Cent-Os includes it as part of the base installation. I also installed Webmin, which is a web-based management package, again which allows you to perform the most common system server maintenance from a web browser.
The PBX is nowhere near production yet. I've got bits and pieces that work sometimes, but not others, and getting everything to work together seems to be a ways off. I need to set this aside for a few days, and go back to my "day job".
Labels: Tech_Friday, VoIP
Friday, November 17, 2006
Tech Friday: Asterisk/Trixbox Update
Since installing Trixbox, the pre-configured version of Asterisk I've been playing with all the features. I've got it connected to a single phone line, with a simple automated attendant, "press 1 for Larry, press 2 for Bob" kind of thing and that part seems to work fine. I've got two Grandstream Budgettone 101 phones working fine. They have message ready lights, tell the date and time and will show the caller-id on their LCD read-out.
I read the O'Reilly book about Asterisk, which serves as the Asterisk user manual, and it was very helpful in figuring out the intricacies of trunks, routes, and extensions, and how these all fit into a dial plan. But now I've hit the wall, and am trying to figure out two show-stoppers:
Hanging up the line
Sometimes the hardware phone line doesn't "hang up" after a call. Example: Somebody calls through the landline, leaves a voice mail and then hangs up. There are times when the hardware card doesn't hangup. Searching through through the archives, I found several mentions of this, so far with no good solutions. It applies to both the X100T Digium cards, and apparently the T4xxxx cards as well. Supposedly the Sagamore cards are more reliable. But, I'm hesitant to shell out another couple hundred bucks for more cards.Configuring software "trunks"
As an alternative to hardware trunks, (destinations for calls placed outside your own organization), you can configure either free or (usually) paid-for internet destinations where your call is sent and then connected to other subscribers or to landliness. Ultimately, of course, this is indeed what you want to do...any phone system is useless if you can't connect to other phones. I first tried Free World Dial-Up a free service that was one of the first available termination services. My box seemed to register with this without problems, but any calls sent out to the destination were unanswered.
So then, I subscribed to VoicePulse using their plan for Asterisk. VP will provision your Asterisk service with four trunks, two for the IAX2 protocol, native to Asterisk, and two SIP trunks. The SIP trunks appear to register, but the IAX2 trunks do not. According to the VoicePulse tech support, I may have problems with closed ports at my router.
You need to have port 5060 open for SIP and/or 4569 UDP open to use IAX2. Using my D-Link DI-604 router I tried several different configurations; I put the Asterisk machine in the DMZ, which means that is should be exposed to anything coming to the router, and I forwarded specific ports to the Asterisk box. No cigar.
I then checked the availability of the ports using Steve Gibson's Shields-Up. These show both ports as "closed". Uh oh. It may be related to the router or possibly something else. However, if they have been closed by Comcast (our new owner who has taken over from Adelphia Cable) then I may be SOL.
Labels: Tech_Friday, VoIP
Monday, October 30, 2006
Tech Friday - Installing the Asterisk PBX system
I spent Friday and much of Saturday installing the latest and greatest Asterisk PBX system using TrixBox, a pre-configured version of Asterisk which comes with the underlying Linux operating system already in place. On a single downloadable CD, you get:
- Cent-OS - The open source version of A Major commercial Linux Distribution
- Apache web server
- Asterisk - the open source PBX
- freePBX - a web browser based interface for Asterisk configuration and management
- mySQL - which is the back-end database used by freePBX
- The SugarCRM - an open source Customer Relationship Manager which integrates with Asterisk
Rather than setting all this stuff up yourself, the TrixBox setup scripts do it automatically, which, in my case, would save hours if not days of futzing around. In addition, if you have existing Digium hardware (i.e. Zaptel) for connecting analog phones or connecting to a regular phone line the setup scripts will configure those cards as well.
So, you could consider the TrixBox implementation a superset of Asterisk.
But wait there's more!
There is even a super-set of Trixbox, which installs Trixbox on a virtual machine within Windows. This is available from Nerd Vittles. There are also instructions on setting up a slew of extra applications at the Nerd Vittles site, like an extension number to read back the latest weather forecast.
Personally, I prefer setting up the Linux version. Right now my system is working happily on an older 450Mhz 256Kb RAM Dell Optiplex.
There are several set-up tutorials available. One good one is from Sureteq. Looking at these, it is clear that just by setting up a TrixBox, you aren't out of the woods by any means. What these superb pre-configured systems do, however, is bypass hours of setting up the base system, and get you to the point where you can start working on your dial plan.
Labels: Tech_Friday, VoIP

