O'Reilly logo

FreeSWITCH 1.6 Cookbook by Giovanni Maruzzelli, Michael S Collins, Anthony Minessale II

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring an SIP gateway

Configuring an SIP gateway allows you to connect with outside carriers or other SIP machines. You can connect with other FreeSWITCH or Asterisk boxes, or upstream carrier SIP trunks.

SIP gateways have many, many options—too many to list here; so, we'll review just a few.

Getting ready

First, you'll need to gather some information about the remote server to which you want to connect. The list generally includes the following:

  • The IP address (or hostname) and a port (the standard port is 5060) of the server that to which you are being connected
  • The username and password (if any)
  • How the carrier/gateway expects Caller ID to be handled (which SIP header the Caller ID should be placed in)
  • Whether registration is required

You'll also ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required