Switchvox - SIP Configuration Using the Type Option

There are three different type definitions you can use with type=friend being the most commonly used.

  • type=peer Match incoming requests to a configuration entry using the source IP address and port number.

  • type=user Match incoming requests to a configuration entry using the username in the From header of the SIP request. This name is matched to a section in sip.conf with the same name in square brackets.

  • type=friend This enables matching rules for both peer and user. This is the setting most commonly used for SIP phones.

Related content