Note: make sure internet is reachable to the VM and DNS is set correctly. Otherwise after installation the AsteriskNow would report errors and won't be able to upgrade.
(If forgot to enter the valid DNS name, after installation, edit the resolv.conf file located in the etc directory nano /etc/resolv.conf)
(If forgot to enter the valid DNS name, after installation, edit the resolv.conf file located in the etc directory nano /etc/resolv.conf)
2. Adding Extensions for SPON terminals in AsteriskNow
Then scroll down to the bottom and click submit button
Then click Apply Config on the top menu bar
3. Configure SPON terminals corresponding to the above settings(NAS-8530 as an example)
User Name and Password should match the User Extension and Secret respectively.
After resetting the terminal, it should register on Asterisk.
4. Allowing Video Calls on Asterisk
In top right corner, click Chan SIP
Submit change on the bottom and Apply Config on the top.
5. Hacking a Cisco 7960 phone to register to Asterisk.
5.1 Download the firmware and unzip to the tftp server's root folder
5.2 Editing the reqired conf files and xml files all under the same root folder.
Note:The correct name of xmldefault file is: XMLDefault.cnf.xml
SEP000D653398AF.cnf.xml
<device>
<loadInformation model="IP Phone 7960">P0S3-08-11-00</loadInformation>
</device>
XMLDefault.cnf.xml (note the highlighted lines and its meaning)
<Default>
<callManagerGroup>
<members>
<member priority="0">
<callManager>
<ports>
<ethernetPhonePort>2000</ethernetPhonePort>
<mgcpPorts>
<listen>2427</listen>
<keepAlive>2428</keepAlive>
</mgcpPorts>
</ports>
<processNodeName></processNodeName>
</callManager>
</member>
</members>
</callManagerGroup>
<loadInformation7 model="Cisco 7960">P0S3-08-11-00</loadInformation7>
<authenticationURL></authenticationURL>
<directoryURL></directoryURL>
<idleURL></idleURL>
<informationURL></informationURL>
<messagesURL></messagesURL>
<servicesURL></servicesURL>
</Default>
SIPDefault.cnf (note the highlighted lines and its meaning)
image_version: P0S3-08-11-00
proxy1_address: "10.0.1.31" ; Can be dotted IP or FQDN, this is the IPPBX server addr.
proxy2_address: "" ; Can be dotted IP or FQDN
proxy3_address: "" ; Can be dotted IP or FQDN
proxy4_address: "" ; Can be dotted IP or FQDN
proxy5_address: "" ; Can be dotted IP or FQDN
proxy6_address: "" ; Can be dotted IP or FQDN
proxy_register: 1
messages_uri: "1"
phone_password: "cisco" ; Limited to 31 characters (Default - cisco)
sntp_mode: unicast
sntp_server: "10.0.1.2" ;This is the working NTP server
time_zone: "GMT" ; assuming you're in GMT
time_format_24hr: 1 ; to show the time in 24hour format
date_format: "Y/M/D" ; format you would like the date in
dial_template: dialplan
SIP000D653398AF.cnf(note the highlighted lines and each meaning)
image_version: P0S3-08-11-00
line1_name: 001
line1_authname: "001"
line1_shortname: "Line 1" ; displayed on the phones softkey
line1_password: "cisco7960"
line1_displayname: "cisco7960-1"; the caller id
proxy1_port: 5060
proxy1_address: 10.0.1.31
# Line 2 Setup
line2_name: 002
line2_authname: "002"
line2_shortname: "cisco7960-line2"
line2_password: "cisco7960"
line2_displayname: "cisco7960-2";
# Phone Label (Text desired to be displayed in upper right corner)
phone_label: "SPON.COM.CN " ; add a space at the end, looks neater
phone_password: "cisco" ; Limited to 31 characters (Default - cisco)
user_info: none
telnet_level: 2
logo_url: "http://kermit/asterisk-tux.bmp"
5.3 Configure the Asterisk's extension's accordingly.
Based on the above settings on the phone, we have two DN's , 001 and 002, and passwords are both cisco7960...
5.4 Manually configure the phone's network setting so that it points to a specific TFTP server (my laptop running Tfpd64). the phone should find its firmware and go through an upgrade
5.5 After the upgrade, the phone should register
After the above steps, the phone and terminals should be able to make calls to each other, as well as making conf. calls from the Cisco phone















No comments:
Post a Comment