Sip.conf
From Wikislax
(Difference between revisions)
(Created page with "{{RightTOC}} The ''sip.conf'' file contains a [general] section consisting of global SIP parameters an and a separate section for each SIP provider or user. For a complete expla...") |
m (Protected "Sip.conf" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
Latest revision as of 13:47, 7 April 2012
The sip.conf file contains a [general] section consisting of global SIP parameters an and a separate section for each SIP provider or user. For a complete explanation of the parameters in the [general] section, refer to file sip.conf itself, which includes very detailed comments. A SIP provider might be configured as :
[general] . . . register => 0925325502:1234567890@freephonie.net [free] type=peer context=free host=freephonie.net fromuser=0925325502 username=0925325502 secret=1234567890 insecure=invite,port dtmfmode=inband disallow=all allow=alaw
- register is to register as a SIP user agent to a SIP proxy (provider).
- context is the context to use for incoming calls in extensions.conf.
- host is the fully qualified domain name to connect to.
- fromuser is the username with which to authenticate.
- username is the username with which to attempt contact before it has registered with you.
- secret is the password for the username.
- insecure= invite,port is to not require authentication on the incoming INVITE for the peer.
- dtmfmode=inband is an option to recognize the keypresses from your SIP provider.
- disallow and allow afford defining which codecs can be used on this link.
A SIP phone might be configured as :
[xlite] type=friend context=phones host=dynamic secret=0987654321
- context is the context to use for incoming calls in extensions.conf.
- host=dynamic as device authenticates by name/password rather than by IP.
- secret is the password for the username.
| Asterisk | Main Page | MeetMe.conf |