Book Image

Freeswitch 1.6 Cookbook

Book Image

Freeswitch 1.6 Cookbook

Overview of this book

Table of Contents (14 chapters)
FreeSWITCH 1.6 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring an SIP phone to register with FreeSWITCH


SIP phones, or any SIP devices with the ability to register, are essential in most FreeSWITCH installations for allowing users to communicate with each other. A registration is when a phone or other device informs FreeSWITCH that it is active, and provides information (such as an IP address and port) on how to reach the phone across the network or Internet. FreeSWITCH stores this information for later use to contact that phone.

In this recipe, you will be registering a phone to FreeSWITCH. You will need to enter your credentials into your phone as well as into FreeSWITCH itself (both sides must match).

Getting ready

Ensure that the mod_sofia module is already compiled and loaded (Sofia is the SIP stack). You may also want to know on which IP address your registrations are being accepted.

Follow these steps:

  1. Launch the FreeSWITCH command line interface.

  2. To view the current ports and IPs that you are listening on, type

    sofia status.
    
  3. Review the...