Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
project:cisco7960g:konfiguration [02.12.2012 13:34] – angelegt gonium | project:cisco7960g:konfiguration [14.01.2013 15:56] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 318: | Zeile 318: | ||
# SIP Configuration Generic File (stop) | # 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 | ||
+ | </ | ||
+ | |||
+ |