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
If 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 a
secretfield 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 set
These optional parameters allow you to control the IP interface and port on which you wish to accept SIP connections. If omitted, the port will be set to 5060, and all IP addresses in your Asterisk system will accept incoming SIP connections. If multiple bind addresses are configured, only those interfaces will listen for connections. The address 0.0.0.0 tells Asterisk to listen on all interfaces.
Set this to
yeswhen you want SIP to generate Manager events. This will be important ...