Ip phone at the asterisk ip pbx – AASTRA 6700i series, 9143, 9480i, 9480i CT SIP Administrator Guide EN User Manual

Page 990

Advertising
background image

B-2

41-001343-01 Rev 03, Release 3.2.2

IP Phone at the Asterisk IP PBX

The following configuration illustrates how to create a user with an extension to make and

receive calls using the Asterisk as the PBX. This configuration is defined in the sip.conf file

present along with the other configuration files that are created when Asterisk is installed.

Usually, the configuration files can be found at the /etc/asterisk directory.

;This is used in the “extensions.conf” file to identify this

;physical phone when issuing Dial commands.

[phone1]

;The type to use for the 6757i is “friend”.

;”Peer” is used when the Asterisk is contacting a proxy,

;”user” is used for phones that can only make calls

;and “friend” acts as both a peer and a user.

type=friend

;If your host has an entry in your DNS then you just enter the

;machines name in the host= field.

host=dynamic

defaultip=192.168.1.1 ;default IP address that the phone is

;configured to

;The password that phone1 will use to register with this PBX

secret=1234

dtmfmode=rfc2833;Choices are inband, rfc2833, or info

mailbox=1000 ;Mailbox for message waiting indicator

;If a phone is not in a valid context you will not be

;able to use it. In this example' sip' is used. You can use

;whatever you like, but make sure they are the same, you will

;need to make an entry in your extensions.conf file (which we

;will get to later)

context=sip

callerid="Phone 1" <1234>

Advertising