Uživatelské nástroje

Nástroje pro tento web


asterisk

Toto je starší verze dokumentu!


Asterisk

Instalace

  • v OpenWRT je aktuálně k dispozici verze 1.8,x 11.x a 13.x
djbuldog@Pharaon:~/Projekty/openwrt/rspro/attitude_adjustment$ scripts/feeds install asterisk18
Installing package 'asterisk-1.8.x'
Installing package 'popt'
Installing package 'iksemel'
Installing package 'gnutls'
Installing package 'libgcrypt'
Installing package 'libgpg-error'
Installing package 'libtasn1'
Installing package 'bluez-libs'
Installing package 'spandsp'
Installing package 'tiff'
  • make menuconfig
  • v sekci network/telephony/asterisk jsem vybral všechno, budu instalovat postupně :)
  • mělo by stačit
    • asterisk18 - nějaký základ
    • asterisk18-codec-alaw - ALAW kodek, SIP telefon i Odorik jej podporuje. Jiné netřeba
  • make V=s package/feeds/packages/asterisk-1.8.x/compile
  • make package/feeds/packages/asterisk-1.8.x/install
  • make package/index
root@HomeRouterIII:~# opkg install asterisk18
Installing asterisk18 (1.8.10.1-2) to root...
Downloading http://10.10.11.2/openwrt/rsproAA/packages/asterisk18_1.8.10.1-2_ar71xx.ipk.
Installing libpopt (1.7-5) to root...
Downloading http://10.10.11.2/openwrt/rsproAA/packages/libpopt_1.7-5_ar71xx.ipk.
Configuring libpopt.
Configuring asterisk18.

Konfigurace

Dial plan

  • extensions.conf
  • výrazy začínají symoblem _
    • X matches any digit from 0-9
    • Z matches any digit from 1-9
    • N matches any digit from 2-9
    • [1237-9] matches any digit or letter in the brackets (in this example, 1,2,3,7,8,9)
    • [a-z] matches any lower case letter (introduced in which Asterisk version?)
    • [A-Z] matches any UPPER case letter (introduced in which Asterisk version?)
    • . wildcard, matches one or more characters
    • ! wildcard, matches zero or more characters immediately (only Asterisk 1.2 and later, see note)

TODO

  • spustit Asterisk na routeru u mámi (OpenWRT), aby fungoval jako šifrovaná brána
  • bude vystupovat jako TLS/SRTP klient (sip peer) poskytovalele Odorik
  • a normální SIP server pro domácí IP telefon
  • doplň informace ohledně openwrt do rspro

Zdroje

asterisk.1485854546.txt.gz · Poslední úprava: (upraveno mimo DokuWiki)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki