;default IP address that the phone is ;configured to

IP Phone at the Asterisk IP PBX

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 Aster- isk 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

;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>

B-2

41-001343-02 REV04 – 05.2014

Page 826
Image 826
Aastra Telecom 41-001343-02 manual IP Phone at the Asterisk IP PBX