December 21st, 2006 by rutger
Het is even knutselen maar dan heb je ook een erg fijn en kwalitatief geweldig toestel voor xs4all VOIP aan de praat. Een Cisco 7960 kostte mij $120 op Ebay. Er zijn een aantal tutorials te vinden hoe je daar netjes een ‘SIP’ software image op krijgt.
xs4all… Het lukte me een tijdlang niet om dit goed aan de praat te krijgen. Uiteindelijk lukt dit door wat met de settings te spelen die de timeouts bepalen. Op een gegeven ogenblik was ik namelijk niet meer bereikbaar omdat de sessie uit de NAT tabel van m’n internet router gegooid was.
Bij deze de twee belangrijkste files, SIPDefault.cnf en SIPmacaddress.cnf waarmee ik het goed en stabiel werkend heb. Alleen jammer dat xs4all geen “SIP NOTIFY” stuurt om aan te geven dat er voicemail is. Dat doet m’n Asterisk server wel! Met de laatste SIP software van Cisco (nu 8.5) krijg je dan een mooi knipperend envelopje naast je “line” en het notification led gaat aan. Neat!
Download hier de twee bestanden als zip.
Credits: Jeroen, voor de magische settings
December 21st, 2006 by rutger
After wasting quite some time debugging stuff that is supposed to work out-of-the-box I decided to write this down
It’s actually quite easy to use a Cisco router as TFTP server for those neat 7940 / 7960 IP phones. I won’t dig into the details of getting the phone up&running with your Callmanager, CME or Asterisk server but share my router config, the TFTP part…
First, get the MAC address of the phone. You can find this by looking at your DHCP server or telnetting to the phone (if you’ve enabled that in your SIPDefault.cnf).
Secondly, create your DHCP pool for the IP Phone,
ip dhcp pool CiscoPhone
host 192.168.1.100 255.255.255.0
client-identifier 0100.3094.c366.1f
next-server 192.168.1.101
dns-server 194.1.1.1 194.1.1.2
domain-name mydomain.com
default-router 192.168.1.254
The Cisco documentation states that the TFTP server is retrieved using DHCP Option 66 (option 66 ip
Next, copy over the files needed by your phone to your routers flash. Depending on the number of images you want to host, this takes at least 900KB of space on your flash. Easiest way to do this is by TFTP'ing from a PC within your network (copy tftp:/// flash:/).
Add an access-list to prevent your configuration from being downloaded by unneeded PC’s etc.
access-list 30 192.168.1.100
Now configure the tftp-server within your router:
tftp-server flash:/P003-08-5-00.bin alias P003-08-5-00.bin 30
tftp-server flash:/P0S3-08-5-00.sb2 alias P0S3-08-5-00.sb2 30
tftp-server flash:/P003-08-5-00.sbn alias P003-08-5-00.sbn 30
tftp-server flash:/OS79XX.txt alias OS79XX.txt 30
tftp-server flash:/P0S3-08-5-00.loads alias P0S3-08-5-00.loads 30
tftp-server flash:/SIPDefault.cnf alias SIPDefault.cnf 30
tftp-server flash:/SIP003094c3661f.cnf alias SIP003094c3661f.cnf 30
The ‘alias’ option prevents some older IOS versions from experiencing a buffer-overflow attack. I think this is the minimal set for a SIP 7960 phone. Now, reset the phone (telnet to it and type ‘reset’).
All done!
December 20th, 2006 by rutger
(from unixzone.dk):
Add this to /etc/inetd.conf to configure tftpd:
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
Make your changes active:
root@badkitten:/# inetconv
root@badkitten:/# svcs | grep tftp
online 16:15:58 svc:/network/tftp/udp6:default
The tftp service is now enabled and available.
You can enable using inetadm -e svc:/network/tftp/udp6 and disable with inetadm -d svc:/network/tftp/udp6
December 20th, 2006 by rutger
ACHTUNG! ALLES LOOKENSPEEPERS!
Das computermachine ist nicht fuer gefingerpoken und mittengrabben. Ist easy schnappen der springenwerk, blowenfusen und poppencorken mit spitzensparken. Ist nicht fuer gewerken bei das dumpkopfen. Das rubbernecken sichtseeren keepen das cotten-pickenen hans in das pockets muss; relaxen und watchen das blinkenlichten.