Hi,
Can anybody help me configuring the Cisco 7960? Can you connect the cisco 7960 to the modem directly or should it be directly connected to the pc running asterik?
i have now connected the Cisco 7960 to my modem where also my running asterisk 1.6 server on Ubuntu is connected. after following the procedure explained on this website (wiki.siftah.com/Cisco_7960G_IP_Phone_on_Asterisk ) the phone does the following and ends in ‘protocol application Invalid’.
display shows in a sequence of like half a minute the following:
- Configuring VLAN
- Configuring IP
- Requesting configuration
- protocol application Invalid
i added dhcp-option=150,192.168.0.11 to /etc/dnsmasq.conf
then:
/etc/init.d/dnsmasq restart
- Restarting DNS forwarder and DHCP server dnsmasq [ OK ]
i installed apt-get install xinetd tftpd tftp
my tftpboot directoy looks like this and i tested the transfer of 1 file to this directory. also ok.
-rwxrwxrwx 1 nobody arend 192 2010-09-26 14:06 dialplan.xml
-rwxrwxrwx 1 nobody root 16 2010-09-27 07:07 OS79XX.TXT
-rwxrwxrwx 1 nobody root 130548 2009-01-28 14:58 P003-08-11-00.bin
-rwxrwxrwx 1 nobody root 130952 2009-01-28 14:58 P003-08-11-00.sbn
-rwxrwxrwx 1 nobody root 463 2009-01-28 15:08 P0S3-08-11-00.loads
-rwxrwxrwx 1 arend arend 756388 2010-09-27 07:10 P0S3-08-11-00.sb2
-rw-r–r-- 1 root root 49 2010-09-27 07:46 RINGLIST.DAT
drwxrwxrwx 2 nobody root 4096 2010-09-27 07:40 ringtones
-rwxrwxrwx 1 nobody root 90 2010-09-26 12:54 SEP000BFDB82475.cnf.xml
-rwxrwxrwx 1 nobody arend 721 2010-09-27 07:34 SIP000BFDB82475.cnf
-rwxrwxrwx 1 nobody arend 727 2010-09-27 07:31 SIPDefault.cnf
-rwxrwxrwx 2 nobody arend 757 2010-09-27 07:28 xmlDefault.CNF.XML
-rwxrwxrwx 2 nobody arend 757 2010-09-27 07:28 XMLDefault.cnf.xml
The files look like below
file SEP000BFDB82475.cnf.xml (i added SEP before the MAC address. is that ok?)
P0S3-08-11-00
file xmlDefault.CNF.XML
2000
2427
2428
P0S3-08-11-00
file SIPDefault.cnf
image_version: P0S3-08-11-00
proxy1_address: “192.168.0.11” ; Can be dotted IP or FQDN
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: “192.168.0.11”
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
file SIP000BFDB82475.cnf
image_version: P0S3-08-11-00
line1_name: 1260
line1_authname: “1260”
line1_shortname: “Line 1” ; displayed on the phones softkey
line1_password: “secret”
line1_displayname: “Arend van der Kolk”; the caller id
proxy1_port: 5060
proxy1_address: 192.168.0.11
Line 2 Setup
line2_name: 1261
line2_authname: “1261”
line2_shortname: “Line 2”
line2_password: “secret”
line2_displayname: “Arend van der Kolk”;
Phone Label (Text desired to be displayed in upper right corner)
phone_label: "Siftah.net " ; 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://www.sassie.net/misc/cisco/7940/asterisk.bmp”
file dialplan.xml
file RINGLIST.DAT
24-ring-tone-4.mp3 /ringtones/24-ring-tone-4.mp3
file sip.conf
[1000]
type=friend
username=1000
context=phones
host=dynamic
secret=secret
[1260]
type=friend
host=dynamic
dtmfmode=rfc2833
nat=no
username=1260
secret=secret
context=home
canreinvite=no
callerid=“Arend van der Kolk 1260”
[1261]
type=friend
host=dynamic
dtmfmode=rfc2833
nat=no
username=1261
secret=secret
context=home
canreinvite=no
callerid=“Arend va nder Kolk 1261”
file extensions.conf
[globals]
[general]
autofallthrough=yes
[phones]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()
[home]
exten => 1260,1,Dial(SIP/1260)
exten => 1261,1,Dial(SIP/1261)
[incoming_calls]
[internal]
exten => 500,1,Verbose(1|Echo test application)
exten => 500,n,Echo()
exten => 500,Hangup()
[phones]
include => internal