Newbie Guide to Asterisk Pitfalls
Labels: Asterisk, Hardware, IT Management, Networking, Trixbox, VoIP
Labels: Asterisk, Hardware, IT Management, Networking, Trixbox, VoIP
Labels: Asterisk, IT Management, Trixbox, VoIP
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



Their phone may have been cut off; they may live in a group shelter; they may be fleeing domestic violence. For many poor, homeless, or otherwise needy people, the privacy afforded by a personal voice mailbox is an impossible luxury.
The CVM Model
Each CVM site around the United States is hosted by one main social or health service agency ("Host Agency") which is responsible for funding and managing the CVM service for the whole city/community. The host agency gives out the voicemail boxes to other participating agencies who then give them to the end users/clients. The key to the program is the fact that clients receive a local telephone number at which to receive messages from potential employers, landlords and others --and case workers can utilize CVM to stay in contact with their clients, doubling the impact of the service.
Labels: Asterisk, Chron_This_Week, Grants, Hardware, Trixbox
Labels: Asterisk, Trixbox, Videoconferencing, VoIP




AsteriskBox$ asterisk -vvvvvvvvvvr
AsteriskBox$ sip debug
Labels: Asterisk, Tech_Friday, Trixbox, VoIP
Labels: Asterisk, Hardware, Videoconferencing, VoIP
Two steps forward, one step back. There has been some incremental additions and improvements to our home internet phone system project based on Trixbox. <-- 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
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
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 ;).