Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
project:cisco7960g [15.09.2012 19:57] – paalsteek | project:cisco7960g [06.03.2015 21:51] (aktuell) – [Data-Entry] laura | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Cisco 7960G ====== | ====== Cisco 7960G ====== | ||
- | Die Telefone sind PoE-fähig und mit einer SIP-Firmware versehen. | + | Die Telefone sind PoE-fähig und mit einer SIP-Firmware versehen. |
- | ===== Schritt 1: DNSMasq einrichten ===== | + | Die folgenden Unterseiten enthalten mehr Information: |
+ | * [[project: | ||
+ | * [[project: | ||
- | Folgende Konfiguration in der / | + | Weitere Unterseiten bitte oben einfügen! |
- | < | + | ===== Materialsammlung |
- | # deactivate DNS | + | |
- | port=0 | + | |
- | # listen on specific interface and/or address | + | |
- | interface=eth0 | + | |
- | # | + | |
- | listen-address=10.23.42.254 | + | |
- | bind-interfaces | + | |
- | ## DHCP configuration | + | |
- | #dhcp-range=192.168.1.10, | + | |
- | dhcp-range=10.23.42.10, | + | |
- | + | ||
- | dhcp-option=option: | + | |
- | dhcp-option=option: | + | |
- | + | ||
- | ## TFTP configuration | + | |
- | enable-tftp | + | |
- | tftp-root=/ | + | |
- | dhcp-option=150, | + | |
- | </ | + | |
- | + | ||
- | Dann den dnsmasq im Vordergrund starten: | + | |
- | + | ||
- | < | + | |
- | $ dnsmasq -d | + | |
- | </ | + | |
- | + | ||
- | Wenn das Telefon mit Strom versorgt wird, sollte es versuchen, seine IP zu konfigurieren und die Konfigurationsdatei zu laden. Das sieht so aus: | + | |
- | + | ||
- | < | + | |
- | $ sudo dnsmasq -d -i eth0 | + | |
- | dnsmasq: started, version 2.59 DNS disabled | + | |
- | dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n DHCP TFTP conntrack IDN | + | |
- | dnsmasq-dhcp: | + | |
- | dnsmasq-tftp: | + | |
- | dnsmasq-dhcp: | + | |
- | dnsmasq-dhcp: | + | |
- | dnsmasq-dhcp: | + | |
- | dnsmasq-dhcp: | + | |
- | dnsmasq-tftp: | + | |
- | dnsmasq-tftp: | + | |
- | dnsmasq-tftp: | + | |
- | </ | + | |
- | + | ||
- | Nun fehlt noch die Konfiguration (siehe die letzten drei Zeilen in obiger Ausgabe). Eine passende Konfiguration findet sich z.B. [[http:// | + | |
- | + | ||
- | ===== Schritt 2: Asterisk einrichten ===== | + | |
- | + | ||
- | [general] | + | |
- | context=default | + | |
- | ; If your Asterisk is connected to the Internet | + | |
- | ; and you have allowguest=yes | + | |
- | ; you want to check which services you offer everyone | + | |
- | ; out there, by enabling them in the default context (see below). | + | |
- | allowoverlap=no | + | |
- | udpbindaddr=0.0.0.0 | + | |
- | tcpenable=no | + | |
- | tcpbindaddr=0.0.0.0 | + | |
- | srvlookup=yes | + | |
- | ; Default value is 70 | + | |
- | ; Default: 60 | + | |
- | ; Default: 100 | + | |
- | ; Default: 1 | + | |
- | ; " | + | |
- | ; value if no fromuser is set | + | |
- | ; Default: empty | + | |
- | + | ||
- | [authentication] | + | |
- | + | ||
- | [basic-options](!) | + | |
- | dtmfmode=rfc2833 | + | |
- | context=from-office | + | |
- | type=friend | + | |
- | + | ||
- | [natted-phone](!, | + | |
- | nat=yes | + | |
- | directmedia=no | + | |
- | host=dynamic | + | |
- | + | ||
- | [public-phone](!, | + | |
- | nat=no | + | |
- | directmedia=yes | + | |
- | + | ||
- | [my-codecs](!) | + | |
- | disallow=all | + | |
- | allow=ilbc | + | |
- | allow=g729 | + | |
- | allow=gsm | + | |
- | allow=g723 | + | |
- | allow=ulaw | + | |
- | + | ||
- | [ulaw-phone](!) | + | |
- | disallow=all | + | |
- | allow=ulaw | + | |
- | + | ||
- | [7701] | + | |
- | type=friend | + | |
- | secret=7701 | + | |
- | host=dynamic | + | |
- | + | ||
- | [7702] | + | |
- | type=friend | + | |
- | secret=7702 | + | |
- | host=dynamic | + | |
- | + | ||
- | ===== Tips & Tricks ===== | + | |
- | + | ||
- | * Telefon neustarten: < | + | |
- | * Asterisk debugging: | + | |
- | < | + | |
- | *CLI> core set verbose 3 | + | |
- | Verbosity was 0 and is now 3 | + | |
- | *CLI> core set debug 3 | + | |
- | Core debug was 0 and is now 3 | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | + | ||
- | === Materialsammlung | + | |
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | |||
+ | ==== Metadaten ==== | ||
+ | ---- dataentry projekt ---- | ||
+ | name : Cisco 7960g | ||
+ | contact | ||
+ | tags_tags | ||
+ | type : projekt | ||
+ | subtype | ||
+ | sticky_hidden : no | ||
+ | ---- | ||
+ |