Skip to Content
Switching to VoIP
book

Switching to VoIP

by Theodore Wallingford
June 2005
Intermediate to advanced
502 pages
21h 48m
English
O'Reilly Media, Inc.
Content preview from Switching to VoIP
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
258
|
Chapter 11: Troubleshooting Tools
Looking at captured packets will often tell you what signals a device is sending, but
not why it’s sending them. For that, you’ll need to go to the device’s logfiles and
diagnostic data. Comparing the caller’s account of the interop event with the
receiver’s account will help you reveal the root causes of interop problems.
Project 11.3. Trace Both Ends of a Call Setup
with Log Comparison
What you need for this project:
Asterisk
Xten Network’s X-Lite SIP softphone
LAN
To set up an interop problem in the test lab, we’ll configure Asterisk to require an
MD5 secret for a SIP peer, without informing the SIP client, X-Lite, what the MD5
secret is. This will simulate lack of support for MD5 SIP authentication by the call-
ing endpoint, a common incompatibility. You can require an MD5 secret for any SIP
peer by finding the section for the peer in /etc/asterisk/sip.conf and adding:
md5secret=whatever
whatever signifies any string you want, since our purpose is merely to require MD5
support from the X-Lite SIP client. Once you’ve added this token to the sip.conf file,
issue a
reload at the Asterisk CLI and then launch X-Lite on a nearby PC. Attempt to
place a call using X-Lite configured for the extension number whose SIP peer you
just gave the
md5secret token. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

VoIP Voice and Fax Signal Processing

VoIP Voice and Fax Signal Processing

Sivannarayana Nagireddi
Voice Over IP

Voice Over IP

Uyless Black

Publisher Resources

ISBN: 0596008686Catalog PageErrata