找回密码
 注册

QQ登录

只需一步,快速开始

BCM 门户 IT世界 系统管理 查看内容

FreePBX Install Guide (CentOS v5.x, Asterisk v1.6.x, FreePBX)

2011-11-6 17:50| 发布者: Test| 查看: 4714| 评论: 0|来自: PowerPBX.org

摘要: UPDATED for Asterisk v1.6.2 and FreePBX v2.8 Includes every detail in the form of step by step instructions from bare metal to a running VoIP PBX in about 2 hours. When installing Linux, do NOT inst ...

Appendix A: Time settings on Aastra phones

Time settings on the phones should be configured in the aastra.cfg file which should go in the /tftpboot directory.  NOTE: System time must be set to UTC otherwise the phones will not recognize it.

time server disabled: 0 # Time server enabled.
time format: 0
date format: 0
time zone name: CA-Eastern
time zone code: EST
time zone minutes: 0
dst start month: 04
dst start day: 02
dst start hour: 02
dst end month: 10
dst end day: 29
dst end hour: 02

Appendix B: Webmin Install

cd /usr/src
wget
http://superb-west.dl.sourceforge.net/sourceforge/webadmin/webmin-1.300-1.noarch.rpm
rpm -Uvh webmin-1.300-1.noarch.rpm
nano /etc/webmin/miniserv.conf

port=9000

(Ctrl-X>y>ENTER)

service webmin start

to access http://192.168.1.20:9000
user:root
pw:rootpassword


Appendix C: Aastra Phones as external extensions

This assumes the Asterisk server is configured for external extensions and the extension configuration in asterisk is configured to be used as an external extension.  Both are described earlier in this guide(sip_nat.conf, nat=yes).

Reset the phone to factory defaults.  All you need to configure in the phone are phone number, callerID, authentication name, password, Proxy IP and Registrar IP.  Leave everything else at default and it should work.  I also changed registration retry timer and BLF subscription period to 120s.


Appendix D: special note about Cisco PIX firewall

In order to make Aastra phones work outside a Cisco PIX firewall to the Asterisk server inside the firewall, we needed to remove fixup protocol sip 5060, and fixup protocol sip udp 5060 which are both enabled by default.

no fixup protocol sip 5060
no fixup protocol sip udp 5060

Appendix E: Special note about extensions over VPN

In order to make extensions work over VPN’s we had to add the VPN subnets to sip_nat.conf to make the phones on the 192.168.2.0 and 192.168.3.0 subnets work with the Asterisk Server on the 192.168.1.0 subnet.  Here is the whole sip_nat.conf file

nat=yes
externip=xxx.xxx.xxx.xxx
localnet=192.168.1.0/255.255.255.0
localnet=192.168.2.0/255.255.255.0 # VPN1 to 192.168.1.0
localnet=192.168.3.0/255.255.255.0 # VPN2 to 192.168.1.0
externrefresh=10


Appendix F: aastra.cfg and <MAC>.cfg files

# These files should go in the /tftpboot directory which the phones will use to autoconfigure themselves.

# aastra.cfg
auto resync mode: 3
auto resync time: 01:30
dhcp: 1 # DHCP enabled.
time server disabled: 0 # time server is enabled
time server1: 192.168.1.20
time format: 0
date format: 0
time zone name: CA-Eastern
time zone code: EST
time zone minutes: 0
dst start month: 04
dst start day: 02
dst start hour: 02
dst end month: 10
dst end day: 29
dst end hour: 02

tftp server: 192.168.1.20

sip digit timeout: 3 # set the inter-digit timeout in seconds

# sip dial plan: "x+#|xx+*" # this is the default dial string, note
# that it must be quoted since it contains
# a '#' character

sip dial plan: "x+#|xx+*|[2-9]XX[2-9]XXXXXX|1[2-9]XX[2-9]XXXXXX|1XXXXXXXXXX"

#
#sip dial plan terminator: 1 # enable sending of the "#" symbol to
# to the proxy in the dial string
#-----------------------------------------------------------------

sip user name: 12345 # the phone number if the mac.cfg is not properly configured
sip vmail: *98 # the number to reach voicemail on
sip auth name: MACfile # account used to authenticate user
sip password: 12345 # password for authentication account
sip mode: 0 # line type:
# 0 - generic,
# 1 - BroadSoft SCA line
# 2 - Nortel line
sip proxy ip: 192.168.1.20 # IP address or FQDN of proxy
sip proxy port: 0 # port used for SIP messages on the
# proxy. Set to 0 to enable SRV
# lookups
sip registrar ip: 192.168.1.20 # IP address or FQDN of registrar
sip registrar port: 0 # as proxy port, but for the registrar
sip registration period: 120 # registration period in seconds
sip registration retry timer: 120
sip blf subscription period: 120
# Per-line SIP Settings
# =======================

 
# <MAC>.cfg
sip screen name: Cindy # the name display on the phone's screen
sip user name: 647 #the phone number
sip display name: Cindy # the caller name sent out when making a call.
sip auth name: 647 # account used to authenticate usesip password: xxx # password for authentication account
# Speed Dials

prgkey1 type: blf
prgkey1 value: 641
prgkey2 type: blf
prgkey2 value: 642
prgkey3 type: blf
prgkey3 value: 643
prgkey4 type: blf
prgkey4 value: 644
prgkey5 type: blf
prgkey5 value: 645
prgkey6 type: blf
prgkey6 value: 646
prgkey7 type: blf
prgkey7 value: 650

Appendix G: Polycom configuration files

Polycom Generic Sample Files

Place the files in the included zip file into /tftpboot directory.  Change the name of the phoneEXT.cfg file and update it in MAC.cfg.  Change the MAC.cfg file to the MAC address of the phone (in lower case).  Update the phoneEXT file with the EXT information.



鲜花

握手

雷人

路过

鸡蛋

相关阅读

最新评论

手机版|小黑屋|BC Morning Website ( Best Deal Inc. 001 )

GMT-8, 2026-4-11 01:19 , Processed in 0.015948 second(s), 18 queries .

Supported by Weloment Group X3.5

© 2008-2026 Best Deal Online

返回顶部