|
Sponsored by:  Prerequisites: • OS: Centos 5.2 ◦ tftp server (both firmware and configuration file): 10.2.8.1 • Asterisk ◦ version: 1.4.22 ◦ IP address: 10.2.8.1 • Polycom: ◦ Firmware: 130.007 • Wifi Access Point: ◦ WMM-Compatible Access Point • Network: ◦ 10.2.0.0/16 ◦ default gateway: 10.2.0.1 ◦ ESS ID: VoiceWorks.TEST Step 1. Wifi Access Point prerequisites Step 2. TFTP server installation Step 3. Asterisk installation Step 4. Asterisk configuration Step 5. Polycom Spectralink 8002 configuration Step 1. Wifi Access Point prerequisites SpectraLink 8002 Wireless Telephones require support for WMM from WiFi Access Point. Please check specification before deciding about buying AP for your Spectralink 8002. The 8002 handset has been tested with many different types of AP's and found compatible with most. Step 2. TFTP server installation yum install tftp-server cd /etc/xinetd.d vi tftp service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot disable = no per_source = 11 cps = 100 2 flags = IPv4 } service xinetd restart Then you can put firmware and configuration files into tftpboot folder. Preparing configuration files wget http://downloads.polycom.com/voice/netlink/SpectraLink_8002_v130_007.zip unzip SpectraLink_8002_v130_007.zip to your tftp folder Now copy sip_xxxxx.cfg to sip_201.cfg and then edit sip_201.cfg. Below example of the simplest sip_201.cfg file: # cat sip_201.cfg LINE1 = 201 LINE1_PROXY = 1 LINE1_CALLID = Mouse, Mickey LINE1_AUTH = 201; 201 Now edit sip_allusers.cfg: # cat sip_allusers.cfg CODECS = g711u, g711a PROXY1_TYPE = Asterisk PROXY1_ADDR = 10.2.8.1:5060 PROXY1_KEYPRESS_2833 = enable PROXY1_KEYPRESS_INFO = disable PROXY1_HOLD_IP0 = disable PROXY1_PRACK = enable PROXY1_REREG_SECS=3600 PROXY1_KEEPALIVE_SECS=14 PROXY1_DOMAIN = 10.2.8.1 PROXY1_CALLID_PER_LINE = disable PROXY1_MAIL_ACCESS = 7999 Step 3. Asterisk installation Asterisk prerequirements packages yum install glibc-devel ncurses-devel openssl-devel zlib-devel gcc gcc-c++ ncurses Asterisk source code download cd /usr/src wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.22.tar.gz tar zxvf asterisk-1.4.22.tar.gz Asterisk compilation and installation cd /usr/src/asterisk-1.4.22 ./configure make make install make samples Step 4. Asterisk configuration Create accounts for sip endpoints vi /etc/asterisk/sip.conf [201] type=friend context=from-sip secret=201 host=dynamic dtmfmode=rfc2833 username=201 disallow=all allow=alaw allow=ulaw progressinband=no Create dial plan for internal calls vi /etc/asterisk/extensions.conf [from-sip] exten => _X.,1,Dial(SIP/${EXTEN}) exten => _X.,n,Hangup Step 5. Polycom Spectralink 8002 configuration To start configuration of Polycom SpectraLink 8002 handset you need to open Admin menu. To do that turn off the handset and then while holding Power Off key press and release Power On key. If the password is set (default is 123456) you will need to enter it. To navigate through menu use side keys and softkeys. Configuring network Go to Network Config and start from setting IP address: Network Config -> IP Addresses -> Static -> Phone IP: e.g. 10.2.8.12 -> TFTP Server IP: e.g. 10.2.8.1 -> Default Gateway: e.g. 10.2.0.1 -> Subnet Mask: e.g. 255.255.0.0 -> SIP TFTP Svr IP: e.g. 10.2.8.1 Then set ESS ID: ESS ID -> Static Entry -> e.g. VoiceWorks.TEST Then set security options according to settings of your AP: Security -> e.g. WPA-PSK -> Passphrase -> e.g. polycom Configuring phone Go to Phone Config and set user name and password for your SIP account: Phone Config -> SIP Registration -> Reg 1 and Login -> Username: e.g. 201 -> Password: e.g. 201 Now you can exit Admin menu.
|