Aastra master template

Aus metasec wiki
Wechseln zu: Navigation, Suche
## download der configdatei

download protocol: TFTP
tftp server: 192.168.199.253

#http server: 192.168.199.253
#http port: 9998
#http path: /tools/hw_cfg_provide.php?mode=AASTRA

https redirect http get: 0

# vlan und so...
tagging enabled: 1
VLAN id: 40
# VLAN id port 1: 40
VLAN id port 1: 1
tos sip: 5
tos rtp: 2
tos rtcp: 5

# allgemeine sip und accounteinstellungen
#
sip digit timeout: 3
time server1: 213.182.224.30
time zone name: DE-Berlin
ring tone: Germany
admin password: 2008
sip line1 vmail: 33

sip accept out of order requests: 1
sip blf subscription period: 120


#directed pickup: 1
directed call pickup prefix: *8
#play a ring splash: 1
priority alerting enabled: 1

# telefonbuch
directory 1: telefonbuch.csv

# xml kram
xml application post list: 192.168.199.253
xml beep notification: 1


# intercom und pickup 2.0
sip intercom mute mic: 0

# loging und debugging
log module linemgr: 7
log module sip: 7
log module misc: 65535
log module dis: 7
log module ind: 7
log server ip: 192.168.199.253
log server port: 514

time format: 1


# missend call counting server side

sip line1 missed call summary subscription: 0
sip line1 as-feature-event subscription: 0
sip explicit mwi subscription: 1
sip mwi for bla account: 1
sip explicit mwi subscription period: 600
action uri poll: http://192.168.199.253:99/astra/astra_xml.php?mode=print&ae_ext=$$SIPAUTHNAME$$
action uri poll interval: 60
sip whitelist: 1
sip xml notify event: 1
xml application post list: 192.168.199.253

action uri onhook: http://192.168.199.253:99/astra/astra_xml.php?mode=print&ae_ext=$$SIPAUTHNAME$$

# anklopfen etc
call waiting: 0
call waiting tone: 0

directed call pickup: 1
directed call pickup prefix: *8

language: 1
language 1: lang_de.txt

Die individuelle Vorlage kann noch über die Datei /var/www/zphone/templates/aastra_maintpl.php angepasst werden.
Hier kann das gesamte leitungsbezogene Verhalten angepasst weden.
Diese Datei ist im original zustand verschlüsselt, kann aber ohne weiteres ersetzt werden.


<?php
        $str .= "sip line".$line." screen name: ".$USER["ae_ext"].", ".$USER["ae_username"]."\n";
        $str .= "sip line".$line." user name: ".$USER["ae_ext"]."\n";
        $str .= "sip line".$line." display name: ".$USER["ae_ext"]."\n";
        $str .= "sip line".$line." auth name: ".$USER["ae_ext"]."\n";
        $str .= "sip line".$line." password: ".$USER["ae_secret"]."\n";
        $str .= "sip line".$line." mode: 0\n";
        $str .= "sip line".$line." proxy ip: ".$USER["ae_srv_addr"]."\n";
        $str .= "sip line".$line." proxy port: 5060\n";
        $str .= "sip line".$line." outbound proxy: ".$USER["ae_srv_addr"]."\n";
        $str .= "sip line".$line." outbound proxy port: 5060\n";
        $str .= "sip line".$line." registrar ip: ".$USER["ae_srv_addr"]."\n";
        $str .= "sip line".$line." registrar port: 5060\n";
        $str .= "sip line".$line." registration preiod: 600\n";
        $str .= "\n\n";
?>