Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
project:cisco7960g [17.09.2012 20:47] – gonium | 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 | + | |
- | </ | + | |
- | + | ||
- | Bei einem OpenWRT-Router kann die Konfiguration auch via UCI hinterlegt werden, zum Beispiel so: | + | |
- | + | ||
- | < | + | |
- | config dnsmasq | + | |
- | option domainneeded | + | |
- | option boguspriv | + | |
- | option filterwin2k | + | |
- | option localise_queries 1 | + | |
- | option local '/ | + | |
- | option domain | + | |
- | option expandhosts | + | |
- | option nonegcache | + | |
- | option authoritative | + | |
- | option readethers | + | |
- | option leasefile | + | |
- | option resolvfile | + | |
- | #list server | + | |
- | #option nonwildcard | + | |
- | #list interface | + | |
- | #list notinterface | + | |
- | option enable_tftp | + | |
- | option tftp_root | + | |
- | + | ||
- | config dhcp lan | + | |
- | option interface | + | |
- | option start 100 | + | |
- | option limit 150 | + | |
- | option leasetime | + | |
- | list ' | + | |
- | + | ||
- | + | ||
- | config dhcp wan | + | |
- | option interface | + | |
- | option ignore | + | |
- | </ | + | |
- | + | ||
- | Natürlich muss hier noch das Verzeichnis /srv/tftp angelegt werden. Die Konfigurationsdateien gehören in dieses Verzeichnis. Via logread kann man dann die Debug-Ausgaben des dnsmasq sehen. | + | |
- | + | ||
- | 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:// | + | |
- | + | ||
- | SIPDefault.cnf | + | |
- | < | + | |
- | # CISCO 7960G Beispiel Konfiguration für FritzBox 7170 | + | |
- | # An den Stellen wo " | + | |
- | # An den Stellen wo " | + | |
- | # Wird diese Funktionalität nicht genutzt, bitte auskommentiert lassen | + | |
- | # | + | |
- | # Image Version | + | |
- | # image_version: | + | |
- | + | ||
- | # Proxy Server | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | + | ||
- | # Proxy Server Port (default - 5060) | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | + | ||
- | + | ||
- | # Emergency Proxy info | + | |
- | proxy_emergency: | + | |
- | proxy_emergency_port: | + | |
- | + | ||
- | # Backup Proxy info | + | |
- | # | + | |
- | # | + | |
- | + | ||
- | # Nur einmal definieren -> daher in SIPMAC.cnf | + | |
- | # Outbound Proxy info | + | |
- | # outbound_proxy: | + | |
- | # outbound_proxy_port: | + | |
- | + | ||
- | # NAT/ | + | |
- | nat_enable: " | + | |
- | # | + | |
- | voip_control_port: | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | + | ||
- | # Proxy Registration (0-disable (default), 1-enable) Muss auf " | + | |
- | proxy_register: | + | |
- | + | ||
- | # Phone Registration Expiration [1-3932100 sec] (Default - 3600) | + | |
- | timer_register_expires: | + | |
- | + | ||
- | # Codec for media stream (g711ulaw (default), g711alaw, g729) | + | |
- | preferred_codec: | + | |
- | + | ||
- | # TOS bits in media stream [0-5] (Default - 5) | + | |
- | tos_media: " | + | |
- | + | ||
- | # Enable VAD (0-disable (default), 1-enable) | + | |
- | enable_vad: " | + | |
- | + | ||
- | # Allow for the bridge on a 3way call to join remaining parties upon hangup | + | |
- | cnf_join_enable: | + | |
- | + | ||
- | # Allow Transfer to be completed while target phone is still ringing | + | |
- | semi_attended_transfer: | + | |
- | + | ||
- | # Telnet Level (enable or disable the ability to telnet into this phone | + | |
- | telnet_level: | + | |
- | + | ||
- | # Inband DTMF Settings (0-disable, 1-enable (default)) | + | |
- | dtmf_inband: | + | |
- | + | ||
- | # Out of band DTMF Settings (none-disable, | + | |
- | dtmf_outofband: | + | |
- | + | ||
- | # DTMF dB Level Settings (1-6dB down, 2-3db down, 3-nominal (default), 4-3db up, 5-6dB up) | + | |
- | dtmf_db_level: | + | |
- | + | ||
- | # SIP Timers | + | |
- | #timer_t1: " | + | |
- | #timer_t2: " | + | |
- | #sip_retx: " | + | |
- | # | + | |
- | # | + | |
- | + | ||
- | # Setting for Message speeddial to UOne box | + | |
- | # Hier habe ich die FritzBox Voice Mail Nummer hinterlegt | + | |
- | messages_uri: | + | |
- | + | ||
- | #********* Release 2 new config parameters ********** | + | |
- | + | ||
- | # TFTP Phone Specific Configuration File Directory | + | |
- | tftp_cfg_dir: | + | |
- | + | ||
- | # Time Server | + | |
- | sntp_mode: " | + | |
- | sntp_server: | + | |
- | time_zone: " | + | |
- | dst_offset: " | + | |
- | dst_start_month: | + | |
- | dst_start_day: | + | |
- | dst_start_day_of_week: | + | |
- | dst_start_week_of_month: | + | |
- | dst_start_time: | + | |
- | dst_stop_month: | + | |
- | dst_stop_day: | + | |
- | dst_stop_day_of_week: | + | |
- | dst_stop_week_of_month: | + | |
- | dst_stop_time: | + | |
- | dst_auto_adjust: | + | |
- | + | ||
- | # Do Not Disturb Control (0-off, 1-on, 2-off with no user control, 3-on with no user control) | + | |
- | dnd_control: | + | |
- | + | ||
- | # Caller ID Blocking (0-disabled, | + | |
- | # | + | |
- | + | ||
- | # Anonymous Call Blocking (0-disbaled, | + | |
- | # | + | |
- | + | ||
- | # Call Waiting (0-disabled, | + | |
- | # | + | |
- | + | ||
- | # DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127) | + | |
- | dtmf_avt_payload: | + | |
- | + | ||
- | # XML file that specifies the dialplan desired | + | |
- | # | + | |
- | + | ||
- | # Network Media Type (auto, full100, full10, half100, half10) | + | |
- | network_media_type: | + | |
- | + | ||
- | # | + | |
- | autocomplete: | + | |
- | + | ||
- | #Time Format (0-12hr, 1-24hr [default]) | + | |
- | time_format_24hr: | + | |
- | + | ||
- | # URL for external Phone Services - Netter offener Beispiel XML Service: | + | |
- | services_url: | + | |
- | + | ||
- | # URL for external Directory location | + | |
- | # | + | |
- | + | ||
- | # URL for branding logo - hier kann ein Logo in 4 Graustufen 320x196 hinterlegt werden | + | |
- | #logo_url: " | + | |
- | </ | + | |
- | + | ||
- | SIP[MAC].cnf | + | |
- | < | + | |
- | # SIP Configuration Generic File (start) | + | |
- | # CISCO 7960G Beispiel Konfiguration für FritzBox 7170 | + | |
- | # An den Stellen wo " | + | |
- | # An den Stellen wo " | + | |
- | # Wird diese Funktionalität nicht genutzt, bitte auskommentiert lassen | + | |
- | # | + | |
- | # Proxy Server | + | |
- | proxy1_address: | + | |
- | proxy2_address: | + | |
- | proxy3_address: | + | |
- | proxy4_address: | + | |
- | proxy5_address: | + | |
- | proxy6_address: | + | |
- | + | ||
- | # Line 1 Settings | + | |
- | line1_name: " | + | |
- | line1_displayname: | + | |
- | line1_shortname: | + | |
- | line1_authname: | + | |
- | line1_password: | + | |
- | + | ||
- | # Line 2 Settings | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | + | ||
- | # Emergency Proxy info | + | |
- | # | + | |
- | # | + | |
- | + | ||
- | # Backup Proxy info | + | |
- | # | + | |
- | # | + | |
- | + | ||
- | # Outbound Proxy info | + | |
- | outbound_proxy: | + | |
- | outbound_proxy_port: | + | |
- | + | ||
- | # Test | + | |
- | # Proxy Registration (0-disable (default), 1-enable) | + | |
- | proxy_register: | + | |
- | + | ||
- | # NAT/ | + | |
- | nat_enable: " | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | # | + | |
- | + | ||
- | # Phone Label (Text desired to be displayed in upper right corner) | + | |
- | phone_label: | + | |
- | + | ||
- | # Time Zone phone will reside in | + | |
- | time_zone: EET | + | |
- | + | ||
- | # Telnet Level (enable or disable the ability to telnet into this phone | + | |
- | telnet_level: | + | |
- | + | ||
- | # Phone prompt/ | + | |
- | # | + | |
- | # | + | |
- | + | ||
- | # Enable_VAD (1-enabled, 0-disabled) | + | |
- | enable_vad: " | + | |
- | + | ||
- | # Network Media Type (auto, full100, full10, half100, half10) | + | |
- | network_media_type: | + | |
- | user_info: phone | + | |
- | + | ||
- | # URL for external Directory location | + | |
- | #logo_url: " | + | |
- | + | ||
- | # SIP Configuration Generic File (stop) | + | |
- | </ | + | |
- | + | ||
- | ===== Schritt 2: Asterisk einrichten ===== | + | |
- | sip.conf | + | |
- | [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 | + | |
- | + | ||
- | extensions.conf | + | |
- | [general] | + | |
- | static=yes | + | |
- | autofallthrough=no | + | |
- | [default] | + | |
- | exten => 500, | + | |
- | exten => 500, | + | |
- | exten => 500, | + | |
- | exten => 500, | + | |
- | exten => 500, | + | |
- | exten => 500, | + | |
- | exten => 500, | + | |
- | + | ||
- | ===== 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 | ||
+ | ---- | ||
+ |