SIP
Just as with IAX, the SIP configuration file
(sip.conf) contains configuration information for
SIP channels. The headings for the channel definitions are formed by a
word framed in square brackets ([])—again, with the exception of the [general] section, where we define global SIP
parameters. Don’t forget to use comments generously in your
sip.conf file. Precede the comment text with a
semicolon; everything to the right will be ignored.
General SIP Parameters
The following options are to be used within the [general] section of
sip.conf:
allowexternalinvitesIf set to
no, this setting disables INVITE and REFER messages to non-local domains. See thedomainsetting.allowexternalinvites=yes|no
allowguestIf set to
no, this disallows guest SIP connections. The default is to allow guest connections. SIP normally requires authentication, but you can accept calls from users who do not support authentication (i.e., do not have asecretfield defined). Certain SIP appliances (such as the Cisco Call Manager v4.1) do not support authentication, so they will not be able to connect if you setallowguest=no:allowguest=no|yes
allowoverlapIf set to
no, overlap dialing is disabled:allowoverlap=no|yes
allowsubscribeSpecifies whether or not to allow external devices to subscribe to extension status (as set in the
hintpriority). Defaults toyes:allowsubscribe=yes|no
allowtransfersIf set to
no, transfers are disabled for all SIP calls, unless specifically enabled on a per-user or per-peer basis:allowtransfers=no|yes ...